/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": 104, "period": "24h", "totals": { "txCount": 120185, "volume": 201425.64999200005, "buyVolume": 110182.56906679213, "sellVolume": 91243.08092520788, "uaw": 3480, "platforms": 169 }, "platforms": [ { "sourceTag": 804681468, "name": null, "slug": null, "txCount": 36776, "uaw": 115, "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": 30.6 }, { "sourceTag": 101102979, "name": "xrp.cafe", "slug": "xrp-cafe", "txCount": 27094, "uaw": 705, "uniqueTraders": 6, "volume": 550.453079, "buyVolumeXrp": 550.453079, "sellVolumeXrp": 0, "buyCount": 15, "sellCount": 0, "buyVolumeAMM": 253.00004749999997, "sellVolumeAMM": 0, "buyVolumeOrderbook": 22.226492, "sellVolumeOrderbook": 0, "uniqueBuyers": 7, "uniqueSellers": 0, "pctVolume": 0.27, "pctUAW": 20.26, "pctTx": 22.54 }, { "sourceTag": 19089388, "name": "HBot", "slug": "hbot", "txCount": 21890, "uaw": 5, "uniqueTraders": 3, "volume": 398.97679999999997, "buyVolumeXrp": 0.000002, "sellVolumeXrp": 398.976798, "buyCount": 1, "sellCount": 8, "buyVolumeAMM": 0.000001, "sellVolumeAMM": 0, "buyVolumeOrderbook": 0, "sellVolumeOrderbook": 199.488399, "uniqueBuyers": 1, "uniqueSellers": 2, "pctVolume": 0.2, "pctUAW": 0.14, "pctTx": 18.21 }, { "sourceTag": 222, "name": null, "slug": null, "txCount": 7285, "uaw": 1, "uniqueTraders": 1, "volume": 1825.183021, "buyVolumeXrp": 912.6924180000002, "sellVolumeXrp": 912.4906029999999, "buyCount": 4695, "sellCount": 2354, "buyVolumeAMM": 456.346209, "sellVolumeAMM": 456.2453015, "buyVolumeOrderbook": 0, "sellVolumeOrderbook": 0, "uniqueBuyers": 4, "uniqueSellers": 4, "pctVolume": 0.91, "pctUAW": 0.03, "pctTx": 6.06 }, { "sourceTag": 74920348, "name": "FirstLedger", "slug": "firstledger", "txCount": 4198, "uaw": 283, "uniqueTraders": 239, "volume": 47643.237524000004, "buyVolumeXrp": 21021.169620264965, "sellVolumeXrp": 26622.067903735035, "buyCount": 1128, "sellCount": 662, "buyVolumeAMM": 6858.8685035, "sellVolumeAMM": 11370.813743, "buyVolumeOrderbook": 3239.2440464999995, "sellVolumeOrderbook": 1417.8484895000001, "uniqueBuyers": 468, "uniqueSellers": 398, "pctVolume": 23.65, "pctUAW": 8.13, "pctTx": 3.49 } ] }
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)