GET /market/history
GET

/v1/market/history

Daily closes of a major crypto asset from Binance spot (USDT, UTC days; the last is today's, still open)

AuthNone — works without a key

Request

GEThttps://api.xrpl.to/v1/market/history?asset=XRP&days=7
Query parameterValueDescription
assetBTC|ETH|XRP|SOL|BNB|DOGE|ADA|LTC|XLM|HBAR (required)
daysint 1-365 (default 30)
curl 'https://api.xrpl.to/v1/market/history?asset=XRP&days=7'

Response

200Example response258 ms · just now · 0.5 KB · 30 lines
https://api.xrpl.to/v1/market/history?asset=XRP&days=7
{
  "success": true,
  "asset": "XRP",
  "quote": "USDT",
  "days": 7,
  "closes": [
    {
      "date": "2026-10-12",
      "close": 1.3422
    },
    {
      "date": "2026-10-13",
      "close": 1.3661
    },
    {
      "date": "2026-10-14",
      "close": 1.3316
    },
    {
      "date": "2026-10-15",
      "close": 1.3349
    },
    {
      "date": "2026-10-16",
      "close": 1.3115
    }
  ],
  "note": "Binance spot daily candles, UTC days; the last is today's, still open.",
  "source": "Binance"
}

Long arrays and strings are shortened in the example; Send request for the full answer.

Shapeas documented
{
  success,
  asset,
  quote,
  days,
  closes[] {date, close},
  note,
  source
}

What it does

Daily closes of a major crypto asset from Binance spot (USDT, UTC days; the last is today's, still open)

OpenAPI