/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": 10, "period": "24h", "totals": { "txCount": 137167, "volume": 594537.823415, "buyVolume": 286943.8872810393, "sellVolume": 307593.93613396055, "uaw": 3611, "platforms": 173 }, "platforms": [ { "sourceTag": 19089388, "name": "HBot", "slug": "hbot", "logo": "https://xrpl.to/brand-logos/hbot.webp", "txCount": 48060, "uaw": 4, "uniqueTraders": 2, "volume": 813.3896510000001, "buyVolumeXrp": 505.73592, "sellVolumeXrp": 307.65373100000005, "buyCount": 7, "sellCount": 35, "buyVolumeAMM": 223.477535, "sellVolumeAMM": 0.391954, "buyVolumeOrderbook": 29.390425000000022, "sellVolumeOrderbook": 153.4349115, "uniqueBuyers": 4, "uniqueSellers": 12, "pctVolume": 0.14, "pctUAW": 0.11, "pctTx": 35.04 }, { "sourceTag": 101102979, "name": "xrp.cafe", "slug": "xrp-cafe", "logo": "https://xrpl.to/brand-logos/xrp-cafe.webp", "txCount": 30549, "uaw": 580, "uniqueTraders": 8, "volume": 480.467936, "buyVolumeXrp": 465.898704, "sellVolumeXrp": 14.569232000000019, "buyCount": 14, "sellCount": 2, "buyVolumeAMM": 126.7196415, "sellVolumeAMM": 0, "buyVolumeOrderbook": 106.2297105, "sellVolumeOrderbook": 7.284616, "uniqueBuyers": 9, "uniqueSellers": 2, "pctVolume": 0.08, "pctUAW": 16.06, "pctTx": 22.27 }, { "sourceTag": 222, "name": null, "slug": null, "logo": null, "txCount": 23057, "uaw": 1, "uniqueTraders": 1, "volume": 3696.9872560000117, "buyVolumeXrp": 1848.4969994738938, "sellVolumeXrp": 1848.490256526118, "buyCount": 14837, "sellCount": 7441, "buyVolumeAMM": 922.7479, "sellVolumeAMM": 922.744534, "buyVolumeOrderbook": 0, "sellVolumeOrderbook": 0, "uniqueBuyers": 22, "uniqueSellers": 22, "pctVolume": 0.62, "pctUAW": 0.03, "pctTx": 16.81 }, { "sourceTag": 58900000, "name": null, "slug": null, "logo": null, "txCount": 12947, "uaw": 15, "uniqueTraders": 14, "volume": 8920.874259999999, "buyVolumeXrp": 6245.245218586653, "sellVolumeXrp": 2675.629041413345, "buyCount": 67, "sellCount": 33, "buyVolumeAMM": 840.89907, "sellVolumeAMM": 1012.0382695000001, "buyVolumeOrderbook": 2269.7683795, "sellVolumeOrderbook": 320.654343, "uniqueBuyers": 33, "uniqueSellers": 15, "pctVolume": 1.5, "pctUAW": 0.42, "pctTx": 9.44 }, { "sourceTag": 74920348, "name": "FirstLedger", "slug": "firstledger", "logo": "https://xrpl.to/brand-logos/firstledger.webp", "txCount": 4459, "uaw": 543, "uniqueTraders": 312, "volume": 36809.844328, "buyVolumeXrp": 25014.3960749511, "sellVolumeXrp": 11795.4482530489, "buyCount": 1267, "sellCount": 545, "buyVolumeAMM": 8278.417644000001, "sellVolumeAMM": 5240.9985045, "buyVolumeOrderbook": 4010.5676355, "sellVolumeOrderbook": 553.8281830000002, "uniqueBuyers": 558, "uniqueSellers": 369, "pctVolume": 6.19, "pctUAW": 15.04, "pctTx": 3.25 } ] }
Long arrays and strings are shortened in the example; Send request for the full answer.
{ success, took, period, totals, platforms[]: { sourceTag, name, slug, logo, 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)