/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": 1791684000000, "txCount": 107, "buyVolumeXrp": 733.47, "sellVolumeXrp": 4870.026656999999, "buyCount": 30, "sellCount": 20, "uniqueBuyers": 14, "uniqueSellers": 10 }, { "hour": 1791687600000, "txCount": 88, "buyVolumeXrp": 377.11299999999994, "sellVolumeXrp": 357.02194999999995, "buyCount": 29, "sellCount": 11, "uniqueBuyers": 9, "uniqueSellers": 8 }, { "hour": 1791691200000, "txCount": 40, "buyVolumeXrp": 303.09739999999994, "sellVolumeXrp": 19.43175400000001, "buyCount": 16, "sellCount": 2, "uniqueBuyers": 6, "uniqueSellers": 1 }, { "hour": 1791694800000, "txCount": 44, "buyVolumeXrp": 592.56, "sellVolumeXrp": 233.755629, "buyCount": 15, "sellCount": 8, "uniqueBuyers": 7, "uniqueSellers": 5 }, { "hour": 1791698400000, "txCount": 132, "buyVolumeXrp": 164.11999999999992, "sellVolumeXrp": 289.2007939999999, "buyCount": 29, "sellCount": 28, "uniqueBuyers": 9, "uniqueSellers": 9 } ] }
Long arrays and strings are shortened in the example; Send request for the full answer.
What it does
Hourly breakdown for a single platform