/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": 217, "period": "24h", "totals": { "txCount": 208054, "volume": 329210.3223609912, "buyVolume": 170839.98105032707, "sellVolume": 158370.3413106782, "uaw": 4414, "platforms": 2888 }, "platforms": [ { "sourceTag": 804681468, "name": null, "slug": null, "txCount": 91242, "uaw": 111, "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.51, "pctTx": 43.85 }, { "sourceTag": 19089388, "name": "HBot", "slug": "hbot", "txCount": 37466, "uaw": 8, "uniqueTraders": 6, "volume": 2714.523349, "buyVolumeXrp": 1570.2489580000001, "sellVolumeXrp": 1144.274391, "buyCount": 88, "sellCount": 61, "buyVolumeAMM": 138.4095635, "sellVolumeAMM": 0, "buyVolumeOrderbook": 646.7149155, "sellVolumeOrderbook": 572.1371955000001, "uniqueBuyers": 39, "uniqueSellers": 27, "pctVolume": 0.82, "pctUAW": 0.18, "pctTx": 18.01 }, { "sourceTag": 222, "name": null, "slug": null, "txCount": 28696, "uaw": 2, "uniqueTraders": 2, "volume": 18455.16514, "buyVolumeXrp": 9227.813936000002, "sellVolumeXrp": 9227.351203999999, "buyCount": 18513, "sellCount": 9257, "buyVolumeAMM": 4612.4540335, "sellVolumeAMM": 4613.675602, "buyVolumeOrderbook": 1.4529344999999694, "sellVolumeOrderbook": 0, "uniqueBuyers": 19, "uniqueSellers": 19, "pctVolume": 5.61, "pctUAW": 0.05, "pctTx": 13.79 }, { "sourceTag": 101102979, "name": "xrp.cafe", "slug": "xrp-cafe", "txCount": 16637, "uaw": 1016, "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": 23.02, "pctTx": 8 }, { "sourceTag": 2606220006, "name": null, "slug": null, "txCount": 8189, "uaw": 341, "uniqueTraders": 119, "volume": 372.757655, "buyVolumeXrp": 307.35812786214933, "sellVolumeXrp": 65.39952713785065, "buyCount": 116, "sellCount": 36, "buyVolumeAMM": 0, "sellVolumeAMM": 0, "buyVolumeOrderbook": 153.5141535, "sellVolumeOrderbook": 32.664674, "uniqueBuyers": 111, "uniqueSellers": 34, "pctVolume": 0.11, "pctUAW": 7.73, "pctTx": 3.94 } ] }
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)