// OVERVIEW

All endpoints return JSON. No authentication is required. All dates use the format YYYY-MM-DD. Price data is denominated in USD.

GET /symbols

Returns a list of all available asset symbols.

RESPONSE
["ADA", "BTC", "DOGE", "ETH", "SOL", "USDC", "XRP"]
GET /{symbol}

Returns the full price history for a given symbol, ordered by date ascending.

EXAMPLE
/btc
RESPONSE
[
  {
    "id": 1,
    "symbol": "BTC",
    "close": 88103.86,
    "volume": 51932451056.50,
    "date": "2025-12-20"
  },
  ...
]
GET /{symbol}/latest

Returns the most recent data point for a given symbol.

EXAMPLE
/btc/latest
RESPONSE
{
  "id": 90,
  "symbol": "BTC",
  "close": 70086.16,
  "volume": 46150658956.34,
  "date": "2026-03-19"
}
GET /{symbol}/before

Returns all data points for a symbol up to and including the specified date.

todateRequired. Upper bound date (YYYY-MM-DD).
EXAMPLE
/btc/before?to=2026-02-01
GET /{symbol}/after

Returns all data points for a symbol from the specified date onwards.

fromdateRequired. Lower bound date (YYYY-MM-DD).
EXAMPLE
/btc/after?from=2026-01-01
GET /{symbol}/between

Returns all data points for a symbol within a date range, inclusive.

fromdateRequired. Start date (YYYY-MM-DD).
todateRequired. End date (YYYY-MM-DD).
EXAMPLE
/btc/between?from=2026-01-01&to=2026-02-01

// DATA ATTRIBUTION

All market data served by this API is sourced from CoinGecko. This API is non-commercial and intended for personal and educational use only.

Powered by CoinGecko API