Coin Historical Chart Data by Token Address
Changed onTo get the historical chart data including time in UNIX, price, market cap and 24hrs volume based on asset platform and particular token contract address
get/coins/{id}/contract/{contract_address}/market_chart
Request
- Base URLhttps://pro-api.coingecko.com/api/v3
- Auth
- API key in header x-cg-pro-api-key
- or API key in query parameter x_cg_pro_api_key
Path parameters
idstring required
Asset platform ID. *refers to /asset_platforms.
contract_addressstring required
The contract address of token.
Query parameters
vs_currencystring required
Target currency of market data. *refers to /simple/supported_vs_currencies.
daysstring required
Data up to number of days ago. You may use any integer or max for number of days.
interval'1m' | '5m' | 'hourly' | 'daily'
Data interval, leave empty for auto granularity.
precision'full' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '13' | '14' | '15' | '16' | '17' | '18'
Decimal place for currency price value.
Response
Coin historical chart data by token address
Changes
- info
api tag
Contractremoved - info
the response property
became required for the status - info
the response property
became required for the status - info
the response property
became required for the status
- info