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 response253 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-11-14",
      "close": 0.9144
    },
    {
      "date": "2026-11-15",
      "close": 0.9742
    },
    {
      "date": "2026-11-16",
      "close": 0.9553
    },
    {
      "date": "2026-11-17",
      "close": 0.9837
    },
    {
      "date": "2026-11-18",
      "close": 0.9677
    }
  ],
  "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