getCoinOhlc

2 credits per call

Get OHLC (Open, High, Low, Close) data for a specific coin.

Try it

Open in playground
kirha tools run coingecko_getCoinOhlc \
  --input '{
    "coinId": "<coinId>"
  }'

Uses the key saved by kirha auth login.

  • coinIdstring, required

    Get from searchCoin tool

  • currencystring, default "usd"

    One of eur, usd, gbp, jpy, aud, sek, btc, eth, cny, chf

  • daysstring, default "7"

    One of 1, 7, 14, 30, 90, 180, 365