While real-time statistics are (permanently) unfinished, OpenEye has very basic API for querying cumulative stats.
To make it all simple, everything described on this page can be queried via simple GET requests.
All of those URLs return content in one of three formats: plaintext, CSV and JSON. To select which one you want to get, simply append correct extension to you URL:
.txt
- plaintext. Not exact format, just something easy to read..json
.csv
For example, /stats/packets/total.txt
will return plaintext, while /stats/packets/total.json
will return more structured data.
Counters for raw requests received from clients.
/stats/packets/YY-MM-DD.{ext}
- statistics collected over single day. Example: /stats/packets/2015-09-27.txt
./stats/packets/total.{ext}
- total statistics collected since 2014-12-07./stats/packets/timeline/{value}.{ext}
- daily statistics of single value. Example: /stats/packets/timeline/bytes:compressed.txt
Aggregation of few values contained in analytics packets.
/stats/counters/dimension/counters.{ext}
- names of values that can be queried./stats/counters/dimension/dates.{ext}
- dates that can be queried (notice special value total
)./stats/counters/{date}/{counter}.{ext}
- query for single value. Example: /stats/counters/total/minecraft.txt
.
/stats/counters/{date}/{counter}.{sort}.{ext}
- same as above, but sorted. Example: /stats/counters/total/java.vd.txt
.
key_desc
,kd
- sort by key, descendingkey_asc
,ka
- sort by key, ascendingvalue_desc
,vd
- sort by value, numerically, descendingvalue_asc
,va
- sort by value, numerically, ascendingNOTE: tags
and obfuscated
values are collected since 2016-10-15. Other are collected since 2015-12-05.
This endpoint allows to query information about single file hash.
For those statistics there is only one URL: /stats/files/{hash}.{ext}
. Example: /stats/files/sha256:8772f727448b8c68785331ae051cb5d80ac6ade14b36646eed101f621356b1b1.txt
.
Note: this URL does not return file name or other file metadata. For that, use query for database browsing, like /browse/raw/files/sha256:8772f727448b8c68785331ae051cb5d80ac6ade14b36646eed101f621356b1b1
.