/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": 20468, "exch": { "USD": 0.7613507357053779, "EUR": 0.8551491463442804, "JPY": 0.004817561719719092, "CNY": 0.11395930723486025 }, "H24": { "_id": "METRICS_24H", "activeAddresses24H": 19508, "tradedTokens24H": 2104, "tradedXRP24H": 4129660.970513, "transactions24H": 125694, "lastUpdated": "2026-10-19T06:47:36.476Z", "updateStatus": "complete", "uniqueTraders24H": 8056, "xrpPro24h": 1.2687040245615178, "totalTVLPro": -0.10284970962729512, "globalBuy24hAMM": 300109.5725750003, "globalBuy24hOrderbook": 1737602.9369099985, "globalBuy24htx": 75172, "globalBuy24hxrp": 2037712.5094849998, "globalSell24hAMM": 311135.4240679998, "globalSell24hOrderbook": 1780813.0369600004, "globalSell24htx": 50522, "globalSell24hxrp": 2091948.4610279996, "globalVol24hAMM": 611244.996643, "globalVol24hOrderbook": 3518415.9738699975, "globalDeposit24htx": 591, "globalDeposit24hxrp": 10707.545701, "globalWithdraw24htx": 145, "globalWithdraw24hxrp": 12290.671219000002, "transactions24HPro": 42.24348003490916, "globalTrades24hAMM": 90374, "globalTrades24hOrderbook": 35320, "uniqueTraders24hAMM": 7488, "uniqueTraders24hOrderbook": 1790, "globalAmmCreate24htx": 1, "globalAmmCreate24hxrp": 25.019 }, "global": { "_id": "METRICS_GLOBAL", "gDexVolume": 4129418.759749, "gDexVolumePro": 35.28055814696691, "gMarketcap": 920734927.1899643, "gMarketcapPro": -1.6911098505661748, "gNFTIOUVolume": 0, "gNFTIOUVolumePro": 0, "gScamVolume": 13610.818528, "gScamVolumePro": 0.3296061581515969, "gStableVolume": 3464110.4319869997, "gStableVolumePro": 83.88857206135131, "gXRPdominance": 98.56248385796381, "gXRPdominancePro": 0.024728157386877392, "gMemeVolume": 499026.834638, "gMemeVolumePro": 12.084674954795151, "sentimentScore": 48, "totalAddresses": 8528045, "totalOffers": 184719, "totalTrustLines": 6875929, "avgRSI15m": 51.5, "avgRSI1h": 46.25, "avgRSI24h": 64.62, "avgRSI4h": 55.15, "avgRSI7d": 62.93, "avgRSI": 58.42, "avgRSI30d": 55.19, "avgRSI90d": 49.94, "totalTVL": 24477636.82148164, "gUniqueTraders": 7913, "gUniqueTradersPro": -3.015075376884424, "lastUpdated": "2026-10-19T06:47:06.190Z", "gTransactions24HPro": 42.24348003490916 }, "rate1": 0, "rate2": 0 }
{ success, took, total, exch, H24, global, rate1, rate2 }
What it does
Exchange rates between tokens