POST /stats/metrics
POST

/v1/stats/metrics

Historical exchange rates by timestamps (XRP base)

AuthNone — works without a key

Request

POSThttps://api.xrpl.to/v1/stats/metrics
Body
Body fieldsas documented
{ timestamps: [unix_ms, ...] }
curl -X POST 'https://api.xrpl.to/v1/stats/metrics' \
  -H 'Content-Type: application/json' \
  -d '{ "timestamps": [ 1751328000000 ] }'

Response

200Example response5 ms · just now · 0.3 KB · 15 lines
https://api.xrpl.to/v1/stats/metrics
{
  "success": true,
  "took": 3,
  "length": 1,
  "history": [
    {
      "timestamp": 1751328000000,
      "XRP": 2.2369,
      "USD": 0.447047252894631,
      "EUR": 0.5268854217890832,
      "JPY": 0.003102900265798347,
      "CNY": 0.06247254054621096
    }
  ]
}
Shapeas documented
{
  success,
  took,
  length,
  history[]: {
    timestamp,
    XRP (USD price),
    USD (XRP per 1 USD),
    EUR (XRP per 1 EUR),
    JPY (XRP per 1 JPY),
    CNY (XRP per 1 CNY)
  }
}

What it does

Historical exchange rates by timestamps (XRP base)

Each token comes back with its md5, the id every Token endpoint takes. Go to Token →
OpenAPI