Crypto price for one coin
crypto_priceFetch free public price data for a cryptocurrency by slug, including fiat/USD quote, 24h change, market cap, volume, and optional candles.
Instructions
Free public price for one coin by slug (for example bitcoin): price in fiat and USD, 24h change, high and low, market cap and rank, 24h volume, and freshness. priceUpdatedAt is when the live price was last written; priceStale:true means it is older than priceStaleAfterHours (72), a last known price, not a live one. marketCapSuspect flags a market cap CoinRithm does not trust. price is null for a coin with no live price. fiatApplied:false means the fiat code is not tracked and the values are USD. candles adds bars over that range, merged to at most maxPoints. coinId is the id get_candles and get_market_context take. Unknown slug: 404. No API key required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fiat | No | Currency code such as EUR or JPY (default USD). | |
| slug | Yes | Coin slug such as bitcoin or tether-usdt (the slug of a get_crypto_movers row). | |
| candles | No | Add bars over this range: 1H (1-minute bars), 1D, 1W, 1M, 3M or 1Y (daily). | |
| maxPoints | No | With candles: bars to return, 2-400 (default 24). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| body | No | ||
| httpStatus | Yes | ||
| ledgerStatus | No | ||
| ledgerEventId | No |