/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": 1795197600000, "txCount": 202, "buyVolumeXrp": 1234.59, "sellVolumeXrp": 542.3991149999998, "buyCount": 56, "sellCount": 35, "uniqueBuyers": 27, "uniqueSellers": 27 }, { "hour": 1795201200000, "txCount": 287, "buyVolumeXrp": 182.81, "sellVolumeXrp": 277.15039100000007, "buyCount": 23, "sellCount": 17, "uniqueBuyers": 12, "uniqueSellers": 10 }, { "hour": 1795204800000, "txCount": 502, "buyVolumeXrp": 3172.9555999999993, "sellVolumeXrp": 492.37768799999975, "buyCount": 135, "sellCount": 57, "uniqueBuyers": 47, "uniqueSellers": 35 }, { "hour": 1795208400000, "txCount": 145, "buyVolumeXrp": 264.3, "sellVolumeXrp": 163.001864, "buyCount": 23, "sellCount": 24, "uniqueBuyers": 17, "uniqueSellers": 17 }, { "hour": 1795212000000, "txCount": 187, "buyVolumeXrp": 843, "sellVolumeXrp": 366.08156800000006, "buyCount": 62, "sellCount": 20, "uniqueBuyers": 20, "uniqueSellers": 14 } ] }
Long arrays and strings are shortened in the example; Send request for the full answer.
What it does
Hourly breakdown for a single platform