/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": 20391, "exch": { "USD": 0.6946132740596673, "EUR": 0.797416038620498, "JPY": 0.004421272031985327, "CNY": 0.10375569839718991 }, "H24": { "_id": "METRICS_24H", "activeAddresses24H": 17520, "tradedTokens24H": 1301, "tradedXRP24H": 5714308.85464, "transactions24H": 104871, "lastUpdated": "2026-09-21T07:29:48.855Z", "updateStatus": "complete", "uniqueTraders24H": 6152, "xrpPro24h": 4.0886414575952434, "totalTVLPro": -0.4586647095591756, "globalBuy24hAMM": 294183.85142699984, "globalBuy24hOrderbook": 2453713.8973070015, "globalBuy24htx": 59104, "globalBuy24hxrp": 2747897.7487340015, "globalSell24hAMM": 352853.75003199995, "globalSell24hOrderbook": 2613558.8583460017, "globalSell24htx": 45770, "globalSell24hxrp": 2966412.6083780034, "globalVol24hAMM": 647037.6014589998, "globalVol24hOrderbook": 5067272.755653008, "globalDeposit24htx": 426, "globalDeposit24hxrp": 6510.6809969999995, "globalWithdraw24htx": 106, "globalWithdraw24hxrp": 4499.069350000001, "transactions24HPro": 22.260956755937467, "globalTrades24hAMM": 68533, "globalTrades24hOrderbook": 36341, "uniqueTraders24hAMM": 5502, "uniqueTraders24hOrderbook": 1579, "globalAmmCreate24htx": 3, "globalAmmCreate24hxrp": 550.038 }, "global": { "_id": "METRICS_GLOBAL", "gDexVolume": 5712288.500387, "gDexVolumePro": -7.185503651694914, "gMarketcap": 852356447.3261137, "gMarketcapPro": -3.359151630660673, "gNFTIOUVolume": 0, "gNFTIOUVolumePro": 0, "gScamVolume": 9152.602349, "gScamVolumePro": 0.1602265422760059, "gStableVolume": 5178427.221837999, "gStableVolumePro": 90.65416113852037, "gXRPdominance": 98.64339688452539, "gXRPdominancePro": 0.027031633097296393, "gMemeVolume": 312690.791833, "gMemeVolumePro": 5.474002088861857, "sentimentScore": 52, "totalAddresses": 8350000, "totalOffers": 182784, "totalTrustLines": 6886673, "avgRSI15m": 47.06, "avgRSI1h": 46.07, "avgRSI24h": 45.25, "avgRSI4h": 43.63, "avgRSI7d": 45.23, "avgRSI": 45.05, "avgRSI30d": 49.58, "avgRSI90d": 47.65, "totalTVL": 23914158.110585865, "gUniqueTraders": 6152, "gUniqueTradersPro": -1.1885640860905933, "lastUpdated": "2026-09-21T07:30:05.972Z", "gTransactions24HPro": 22.260956755937467 }, "rate1": 0, "rate2": 0 }
{ success, took, total, exch, H24, global, rate1, rate2 }
What it does
Exchange rates between tokens