/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": 213, "period": "24h", "totals": { "txCount": 124094, "volume": 410799.75212999876, "buyVolume": 212585.6010313257, "sellVolume": 198214.15109867466, "uaw": 3483, "platforms": 375 }, "platforms": [ { "sourceTag": 222, "name": null, "slug": null, "txCount": 40995, "uaw": 3, "uniqueTraders": 3, "volume": 11633.884838, "buyVolumeXrp": 5817.873927111805, "sellVolumeXrp": 5816.010910888195, "buyCount": 26364, "sellCount": 13187, "buyVolumeAMM": 2903.6840225, "sellVolumeAMM": 2902.7541965, "buyVolumeOrderbook": 0, "sellVolumeOrderbook": 0, "uniqueBuyers": 18, "uniqueSellers": 18, "pctVolume": 2.83, "pctUAW": 0.09, "pctTx": 33.04 }, { "sourceTag": 101102979, "name": "xrp.cafe", "slug": "xrp-cafe", "txCount": 29980, "uaw": 635, "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": 18.23, "pctTx": 24.16 }, { "sourceTag": 19089388, "name": "HBot", "slug": "hbot", "txCount": 22625, "uaw": 4, "uniqueTraders": 2, "volume": 4421.934467, "buyVolumeXrp": 0.138299, "sellVolumeXrp": 4421.796168, "buyCount": 1, "sellCount": 117, "buyVolumeAMM": 0.0691495, "sellVolumeAMM": 64.467758, "buyVolumeOrderbook": 0, "sellVolumeOrderbook": 2146.430326, "uniqueBuyers": 1, "uniqueSellers": 4, "pctVolume": 1.08, "pctUAW": 0.11, "pctTx": 18.23 }, { "sourceTag": 804681468, "name": null, "slug": null, "txCount": 6619, "uaw": 98, "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": 2.81, "pctTx": 5.33 }, { "sourceTag": 74920348, "name": "FirstLedger", "slug": "firstledger", "txCount": 3399, "uaw": 290, "uniqueTraders": 237, "volume": 40878.403886, "buyVolumeXrp": 25536.01208703556, "sellVolumeXrp": 15342.391798964438, "buyCount": 1037, "sellCount": 475, "buyVolumeAMM": 9960.4723335, "sellVolumeAMM": 6478.3180725, "buyVolumeOrderbook": 2739.9281204999997, "sellVolumeOrderbook": 1152.259447, "uniqueBuyers": 434, "uniqueSellers": 290, "pctVolume": 9.95, "pctUAW": 8.33, "pctTx": 2.74 } ] }
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)