/v1/stats/metrics
Historical exchange rates by timestamps (XRP base)
Request
https://api.xrpl.to/v1/stats/metrics{ timestamps: [unix_ms, ...] }
curl -X POST 'https://api.xrpl.to/v1/stats/metrics' \
-H 'Content-Type: application/json' \
-d '{ "timestamps": [ 1751328000000 ] }'Response
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 } ] }
{ 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)