/v1/stats/rates
Exchange rates between tokens
Request
https://api.xrpl.to/v1/stats/rates| Query parameter | Value | Description |
|---|---|---|
| token1 | token id | |
| token2 | token id |
curl 'https://api.xrpl.to/v1/stats/rates'
Response
https://api.xrpl.to/v1/stats/rates{ "success": true, "took": 0, "total": 20451, "exch": { "USD": 0.7132413252023823, "EUR": 0.7995649227916266, "JPY": 0.0044379815273337085, "CNY": 0.10657163511974155 }, "H24": { "_id": "METRICS_24H", "activeAddresses24H": 15419, "tradedTokens24H": 1409, "tradedXRP24H": 1974839.18133, "transactions24H": 149149, "lastUpdated": "2026-10-12T01:56:21.638Z", "updateStatus": "complete", "uniqueTraders24H": 6155, "xrpPro24h": 0.09638038123795933, "totalTVLPro": 0.12576347812911504, "globalBuy24hAMM": 185854.35639499984, "globalBuy24hOrderbook": 917542.1092180002, "globalBuy24htx": 99518, "globalBuy24hxrp": 1103396.4656129992, "globalSell24hAMM": 164737.88407400003, "globalSell24hOrderbook": 706704.8316429999, "globalSell24htx": 49631, "globalSell24hxrp": 871442.7157169993, "globalVol24hAMM": 350592.24046899984, "globalVol24hOrderbook": 1624246.940861001, "globalDeposit24htx": 1161, "globalDeposit24hxrp": 14589.451274, "globalWithdraw24htx": 744, "globalWithdraw24hxrp": 21087.552080000012, "transactions24HPro": -15.073860206603573, "globalTrades24hAMM": 109095, "globalTrades24hOrderbook": 40054, "uniqueTraders24hAMM": 5592, "uniqueTraders24hOrderbook": 1651, "globalAmmCreate24htx": 4, "globalAmmCreate24hxrp": 275.038 }, "global": { "_id": "METRICS_GLOBAL", "gDexVolume": 1974853.700101, "gDexVolumePro": 61.2165606150439, "gMarketcap": 958707049.8556159, "gMarketcapPro": 0.07270698221271132, "gNFTIOUVolume": 0, "gNFTIOUVolumePro": 0, "gScamVolume": 3100.624079, "gScamVolumePro": 0.15700525455842246, "gStableVolume": 1501803.014246, "gStableVolumePro": 76.04629214656221, "gXRPdominance": 98.50408595760811, "gXRPdominancePro": -0.0010868437454236712, "gMemeVolume": 352474.469493, "gMemeVolumePro": 17.84813069823721, "sentimentScore": 56, "totalAddresses": 8505305, "totalOffers": 183663, "totalTrustLines": 6858033, "avgRSI15m": 51.4, "avgRSI1h": 50.66, "avgRSI24h": 64.87, "avgRSI4h": 55.14, "avgRSI7d": 64.47, "avgRSI": 59.53, "avgRSI30d": 53.16, "avgRSI90d": 51.07, "totalTVL": 24282164.383756045, "gUniqueTraders": 6154, "gUniqueTradersPro": 3.3590863285186456, "lastUpdated": "2026-10-12T01:56:05.785Z", "gTransactions24HPro": -15.073860206603573 }, "rate1": 0, "rate2": 0 }
{ success, took, total, exch, H24, global, rate1, rate2 }
What it does
Exchange rates between tokens