/v1/platform-stats
Aggregated trading stats grouped by platform key (numeric SourceTag, or canonical name for memo-identified platforms like SPYDEX)
Request
https://api.xrpl.to/v1/platform-stats| Query parameter | Value | Description |
|---|---|---|
| period | 24h|7d|30d (default: 24h) |
curl 'https://api.xrpl.to/v1/platform-stats'
Response
https://api.xrpl.to/v1/platform-stats{ "success": true, "took": 340, "period": "24h", "totals": { "txCount": 375972, "volume": 310271.02637398813, "buyVolume": 201933.9309829097, "sellVolume": 108337.09539109311, "uaw": 3336, "platforms": 1855 }, "platforms": [ { "sourceTag": 804681468, "name": null, "slug": null, "txCount": 227366, "uaw": 110, "uniqueTraders": 0, "volume": 0, "buyVolumeXrp": 0, "sellVolumeXrp": 0, "buyCount": 0, "sellCount": 0, "buyVolumeAMM": 0, "sellVolumeAMM": 0, "buyVolumeOrderbook": 0, "sellVolumeOrderbook": 0, "uniqueBuyers": 0, "uniqueSellers": 0, "pctVolume": 0, "pctUAW": 3.3, "pctTx": 60.47 }, { "sourceTag": 222, "name": null, "slug": null, "txCount": 71778, "uaw": 6, "uniqueTraders": 6, "volume": 15654.236896, "buyVolumeXrp": 7830.579284257186, "sellVolumeXrp": 7823.657611742814, "buyCount": 46211, "sellCount": 23110, "buyVolumeAMM": 3641.922051, "sellVolumeAMM": 3638.900271, "buyVolumeOrderbook": 0.19759350000001064, "sellVolumeOrderbook": 0, "uniqueBuyers": 36, "uniqueSellers": 36, "pctVolume": 5.05, "pctUAW": 0.18, "pctTx": 19.09 }, { "sourceTag": 101102979, "name": "xrp.cafe", "slug": "xrp-cafe", "txCount": 32325, "uaw": 708, "uniqueTraders": 0, "volume": 0, "buyVolumeXrp": 0, "sellVolumeXrp": 0, "buyCount": 0, "sellCount": 0, "buyVolumeAMM": 0, "sellVolumeAMM": 0, "buyVolumeOrderbook": 0, "sellVolumeOrderbook": 0, "uniqueBuyers": 0, "uniqueSellers": 0, "pctVolume": 0, "pctUAW": 21.22, "pctTx": 8.6 }, { "sourceTag": 19089388, "name": "HBot", "slug": "hbot", "txCount": 20450, "uaw": 5, "uniqueTraders": 0, "volume": 0, "buyVolumeXrp": 0, "sellVolumeXrp": 0, "buyCount": 0, "sellCount": 0, "buyVolumeAMM": 0, "sellVolumeAMM": 0, "buyVolumeOrderbook": 0, "sellVolumeOrderbook": 0, "uniqueBuyers": 0, "uniqueSellers": 0, "pctVolume": 0, "pctUAW": 0.15, "pctTx": 5.44 }, { "sourceTag": 74920348, "name": "FirstLedger", "slug": "firstledger", "txCount": 3195, "uaw": 256, "uniqueTraders": 211, "volume": 35335.569084, "buyVolumeXrp": 15388.692563806346, "sellVolumeXrp": 19946.87652019366, "buyCount": 945, "sellCount": 492, "buyVolumeAMM": 5274.095246, "sellVolumeAMM": 7807.978157, "buyVolumeOrderbook": 2223.879854, "sellVolumeOrderbook": 1910.9230979999998, "uniqueBuyers": 391, "uniqueSellers": 256, "pctVolume": 11.39, "pctUAW": 7.67, "pctTx": 0.85 } ] }
Long arrays and strings are shortened in the example; Send request for the full answer.
{ success, took, period, totals, platforms[]: { sourceTag, name, slug, txCount, uaw, uniqueTraders, volume, buyVolumeXrp, sellVolumeXrp, pctVolume, pctUAW, pctTx, ... } }
What it does
Aggregated trading stats grouped by platform key (numeric SourceTag, or canonical name for memo-identified platforms like SPYDEX)