Skip to main content
GET
Coin Historical Chart by Contract
Historical series for a token identified by contract address, over a trailing window set by days. id is the asset platform, contract_address the token. Returns prices, market_caps and total_volumes as timestamp-and-value pairs, with timestamps in milliseconds — the same shape as get_coingecko_coins_id_market_chart. Use it when you have an address rather than a CoinGecko id. For an explicit start and end use get_coingecko_token_market_chart_range.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Platform ID.

contract_address
string
required

Contract address.

Query Parameters

vs_currency
string
default:usd
required

Target currency for price (e.g., usd, eur, btc). See /simple/supported_vs_currencies.

days
string
required

Data up to N days ago. Accepts 1, 7, 14, 30, 90, 180, 365, or max.

precision
string

full or a value from 0 to 18 to specify decimal places for currency price values.

Response

200 - application/json

Same shape as /coins/{id}/market_chart.

prices
number[][]
market_caps
number[][]
total_volumes
number[][]