/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.7102170911368993, "EUR": 0.7962811982408687, "JPY": 0.00441924641364507, "CNY": 0.10612451491070324 }, "H24": { "_id": "METRICS_24H", "activeAddresses24H": 15350, "tradedTokens24H": 1386, "tradedXRP24H": 1858921.894741, "transactions24H": 149709, "lastUpdated": "2026-10-12T00:59:31.874Z", "updateStatus": "complete", "uniqueTraders24H": 6094, "xrpPro24h": 0.7455770553622454, "totalTVLPro": 0.09412589795427806, "globalBuy24hAMM": 180438.419188, "globalBuy24hOrderbook": 825285.5302519999, "globalBuy24htx": 100015, "globalBuy24hxrp": 1005723.9494399996, "globalSell24hAMM": 163370.23066399977, "globalSell24hOrderbook": 689878.116379, "globalSell24htx": 49704, "globalSell24hxrp": 853248.3470430004, "globalVol24hAMM": 343808.64985199977, "globalVol24hOrderbook": 1515163.6466309999, "globalDeposit24htx": 1165, "globalDeposit24hxrp": 14626.57372, "globalWithdraw24htx": 740, "globalWithdraw24hxrp": 20920.273117000008, "transactions24HPro": -14.342515518178434, "globalTrades24hAMM": 110380, "globalTrades24hOrderbook": 39339, "uniqueTraders24hAMM": 5544, "uniqueTraders24hOrderbook": 1622, "globalAmmCreate24htx": 4, "globalAmmCreate24hxrp": 275.038 }, "global": { "_id": "METRICS_GLOBAL", "gDexVolume": 1859007.264763, "gDexVolumePro": 42.15643170395291, "gMarketcap": 955020997.1239595, "gMarketcapPro": -0.45119715882196987, "gNFTIOUVolume": 0, "gNFTIOUVolumePro": 0, "gScamVolume": 2955.156169, "gScamVolumePro": 0.15896420767224623, "gStableVolume": 1394309.092791, "gStableVolumePro": 75.00288563792982, "gXRPdominance": 98.50975176082329, "gXRPdominancePro": 0.006754433526734438, "gMemeVolume": 344529.40406699997, "gMemeVolumePro": 18.53297782087598, "sentimentScore": 56, "totalAddresses": 8505190, "totalOffers": 183679, "totalTrustLines": 6857680, "avgRSI15m": 51.12, "avgRSI1h": 51.84, "avgRSI24h": 64.93, "avgRSI4h": 55.08, "avgRSI7d": 64.51, "avgRSI": 59.71, "avgRSI30d": 53.12, "avgRSI90d": 51.05, "totalTVL": 24270405.62888201, "gUniqueTraders": 6094, "gUniqueTradersPro": 0.04925299622393631, "lastUpdated": "2026-10-12T00:59:05.835Z", "gTransactions24HPro": -14.342515518178434 }, "rate1": 0, "rate2": 0 }
{ success, took, total, exch, H24, global, rate1, rate2 }
What it does
Exchange rates between tokens