UnifyAPI
← Back to catalog

crypto.price_history

mock data$0.002 / call

Crypto Price History

Get price history for a cryptocurrency

Cryptoprovider: Crypto#crypto#crypto

Input schema

days

Number of days of history (1-365)

integer
format

Response format: timeseries (price points) or ohlcv (candlestick data)

string
coin_idrequired

CoinGecko coin ID (e.g. bitcoin, ethereum)

string
interval

Data point interval for price history (5m, hourly, or daily)

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/crypto.price_history \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"days":0,"format":"<format>","coin_id":"<coin_id>","interval":"<interval>"}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.