GET /stats/rates
GET

/v1/stats/rates

Exchange rates between tokens

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/stats/rates
Query parameterValueDescription
token1token id
token2token id
curl 'https://api.xrpl.to/v1/stats/rates'

Response

200Example response1 ms · just now · 2.4 KB · 80 lines
https://api.xrpl.to/v1/stats/rates
{
  "success": true,
  "took": 0,
  "total": 20504,
  "exch": {
    "USD": 0.7976803823786534,
    "EUR": 0.8897646057204451,
    "JPY": 0.005002259960735046,
    "CNY": 0.11992488647352528
  },
  "H24": {
    "_id": "METRICS_24H",
    "activeAddresses24H": 34013,
    "tradedTokens24H": 1594,
    "tradedXRP24H": 1078555.223021,
    "transactions24H": 73702,
    "lastUpdated": "2026-11-01T06:59:51.576Z",
    "updateStatus": "complete",
    "uniqueTraders24H": 6523,
    "xrpPro24h": 0.3630567711248256,
    "totalTVLPro": 0.005473973684577693,
    "globalBuy24hAMM": 147563.5410360003,
    "globalBuy24hOrderbook": 416528.35564499995,
    "globalBuy24htx": 46839,
    "globalBuy24hxrp": 564091.8966809995,
    "globalSell24hAMM": 146537.5198440001,
    "globalSell24hOrderbook": 367925.8065959998,
    "globalSell24htx": 26864,
    "globalSell24hxrp": 514463.32643999986,
    "globalVol24hAMM": 294101.0608800004,
    "globalVol24hOrderbook": 784454.1622409989,
    "globalDeposit24htx": 638,
    "globalDeposit24hxrp": 4758.007772999999,
    "globalWithdraw24htx": 373,
    "globalWithdraw24hxrp": 5593.189552000002,
    "transactions24HPro": -30.381504856203467,
    "globalTrades24hAMM": 46404,
    "globalTrades24hOrderbook": 27299,
    "uniqueTraders24hAMM": 6099,
    "uniqueTraders24hOrderbook": 1648,
    "globalAmmCreate24htx": 5,
    "globalAmmCreate24hxrp": 141.75
  },
  "global": {
    "_id": "METRICS_GLOBAL",
    "gDexVolume": 1078866.991645,
    "gDexVolumePro": -69.85423133425019,
    "gMarketcap": 715306694.5746713,
    "gMarketcapPro": -0.20563728587765784,
    "gNFTIOUVolume": 0,
    "gNFTIOUVolumePro": 0,
    "gScamVolume": 12619.457996000001,
    "gScamVolumePro": 1.1696954391716545,
    "gStableVolume": 708944.5618810001,
    "gStableVolumePro": 65.71195220274916,
    "gXRPdominance": 98.88349348562241,
    "gXRPdominancePro": 0.0023006847585049783,
    "gMemeVolume": 267227.304047,
    "gMemeVolumePro": 24.76925386692439,
    "sentimentScore": 46,
    "totalAddresses": 8589238,
    "totalOffers": 186944,
    "totalTrustLines": 6888807,
    "avgRSI15m": 54.79,
    "avgRSI1h": 52.83,
    "avgRSI24h": 51.38,
    "avgRSI4h": 46,
    "avgRSI7d": 52.02,
    "avgRSI": 50.58,
    "avgRSI30d": 56.99,
    "avgRSI90d": 50.39,
    "totalTVL": 25143633.39201998,
    "gUniqueTraders": 6523,
    "gUniqueTradersPro": -16.967922606924645,
    "lastUpdated": "2026-11-01T06:59:06.027Z",
    "gTransactions24HPro": -30.381504856203467
  },
  "rate1": 0,
  "rate2": 0
}
Shapeas documented
{
  success,
  took,
  total,
  exch,
  H24,
  global,
  rate1,
  rate2
}

What it does

Exchange rates between tokens

A token id can be its md5, slug or issuer_currency. How to build an md5 →
OpenAPI