Coin Historical Chart Data within Time Range by ID
GET/coins/{id}/market_chart/range
curl -X POST https://api.orthogonal.com/v1/run \
-H 'Authorization: Bearer orth_live_••••' \
-H 'Content-Type: application/json' \
-d '{
"api": "coingecko",
"path": "",
"method": "GET",
"query": {
"vs_currency": "",
"from": "",
"to": ""
}
}'
$0.00042per call
Every call costs the same.
You aren't charged for failed calls. A wallet payment for a failed call is refunded.
API-wide: 100% success · 916 ms median · 30 days
About this endpoint
Get the historical chart data of a coin within certain time range in UNIX along with price, market cap and 24hrs volume based on particular coin ID. Historical data is limited to the past 2 years; days=max or older dates return an error. interval accepts daily or hourly (leave empty for auto granularity); 5m and 1m are not available.
Path parameters
idrequiredstringGoes in the path: replace {id} in the request.Query parameters
vs_currencyrequiredstringTarget currency of market data. *refers to /simple/supported_vs_currencies.fromrequiredstringStarting date in ISO date string (YYYY-MM-DD or YYYY-MM-DDTHH:MM) or UNIX timestamp. Use ISO date string for best compatibility.torequiredstringEnding date in ISO date string (YYYY-MM-DD or YYYY-MM-DDTHH:MM) or UNIX timestamp. Use ISO date string for best compatibility.intervalstringData interval: daily or hourly. Leave empty for auto granularity.precisionstringDecimal place for currency price value.More from CoinGecko
- Token Lists by Asset Platform IDGET/token_lists/{asset_platform_id}/all.json$0.00042 per callFixed
- Coins Categories List with Market DataGET/coins/categories$0.00042 per callFixed
- Exchange Tickers by IDGET/exchanges/{id}/tickers$0.00042 per callFixed
- Exchanges ListGET/exchanges/list$0.00042 per callFixed
- RWA Tickers by IDGET/rwas/{id}/tickers$0.00042 per callFixed
- RWA ListGET/rwas/list$0.00042 per callFixed
- Coin Data by IDGET/coins/{id}$0.00042 per callFixed
- Entities ListGET/entities/list$0.00042 per callFixed
- Trades by Pool AddressGET/onchain/networks/{network}/pools/{pool_address}/trades$0.00042 per callFixed
- RWA Issuer Data by IDGET/rwas/issuers/{id}$0.00042 per callFixed
- Top Pools by DEXGET/onchain/networks/{network}/dexes/{dex}/pools$0.00042 per callFixed
- Coin Price by Token AddressesGET/simple/token_price/{id}$0.00042 per callFixed