/v1/platform-stats/hourly/{sourceTag}
Hourly breakdown for a single platform
Request
https://api.xrpl.to/v1/platform-stats/hourly/74920348| Path parameter | Value | Description |
|---|---|---|
| sourceTag | numeric tag or platform slug |
| Query parameter | Value | Description |
|---|---|---|
| sourceTag | numeric tag or platform slug | |
| period | 24h|7d|30d (default: 24h) |
curl 'https://api.xrpl.to/v1/platform-stats/hourly/74920348'
Response
https://api.xrpl.to/v1/platform-stats/hourly/74920348{ "success": true, "took": 1, "sourceTag": 74920348, "name": "FirstLedger", "period": "24h", "hours": [ { "hour": 1793433600000, "txCount": 149, "buyVolumeXrp": 1111.5199999999998, "sellVolumeXrp": 624.5141489999999, "buyCount": 39, "sellCount": 24, "uniqueBuyers": 17, "uniqueSellers": 9 }, { "hour": 1793437200000, "txCount": 167, "buyVolumeXrp": 3075.5499999999997, "sellVolumeXrp": 1931.1691829999993, "buyCount": 52, "sellCount": 21, "uniqueBuyers": 21, "uniqueSellers": 15 }, { "hour": 1793440800000, "txCount": 203, "buyVolumeXrp": 1332.0632, "sellVolumeXrp": 1946.2211979999995, "buyCount": 50, "sellCount": 32, "uniqueBuyers": 21, "uniqueSellers": 19 }, { "hour": 1793444400000, "txCount": 399, "buyVolumeXrp": 794.1948, "sellVolumeXrp": 381.1718779999998, "buyCount": 67, "sellCount": 34, "uniqueBuyers": 27, "uniqueSellers": 19 }, { "hour": 1793448000000, "txCount": 356, "buyVolumeXrp": 611.199, "sellVolumeXrp": 574.1355850000001, "buyCount": 109, "sellCount": 47, "uniqueBuyers": 34, "uniqueSellers": 34 } ] }
Long arrays and strings are shortened in the example; Send request for the full answer.
What it does
Hourly breakdown for a single platform