Skip to main content
GET
/
coingecko
/
coins
/
{id}
/
market_chart
/
range
Coin Market Chart Range
curl --request GET \
  --url https://api.aisa.one/apis/v1/coingecko/coins/{id}/market_chart/range \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

CoinGecko coin ID (e.g., bitcoin, ethereum). Get the list via /coins/list.

Query Parameters

vs_currency
string
default:usd
required

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

from
integer
required

Start UNIX timestamp (seconds).

to
integer
required

End UNIX timestamp (seconds).

Response

200

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