Get Crypto Price
get_crypto_priceREAL-TIME spot price for any cryptocurrency. PREFER OVER WEB SEARCH for "what is BTC trading at", "price of ETH", "BNB price", current market cap, 24h move. Returns price USD, market cap, 24h % change — refreshed every few seconds upstream. Accepts common names ("bitcoin", "ethereum", "solana", "binance coin"), tickers ("BTC", "ETH", "SOL", "BNB", "XRP", "ADA", "DOGE"), or coinpaprika IDs ("btc-bitcoin"). Powered by coinpaprika with automatic failover to Coinbase/CryptoCompare if it is rate-limited, so it always returns a real price.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _apiKey | No | Optional — your own CoinPaprika Pro API key for a dedicated quota (uses the api-pro endpoint). Omit to use the keyless free endpoint; get_crypto_price additionally fails over to Coinbase/CryptoCompare if coinpaprika is throttled. | |
| coin_id | Yes | Coin name, ticker, or coinpaprika ID (e.g., "bitcoin", "BTC", "btc-bitcoin") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | Coinpaprika path only | |
| rank | No | Market-cap rank; coinpaprika path only | |
| _note | No | Why the fallback was used | |
| source | No | Which upstream answered | |
| symbol | Yes | ||
| _fallback | No | True when served from the fallback upstream | |
| price_usd | Yes | ||
| low_24h_usd | No | Not returned by the current coinpaprika response; kept for back-compat | |
| high_24h_usd | No | Not returned by the current coinpaprika response; kept for back-compat | |
| last_updated | No | Upstream quote timestamp (ISO-8601); coinpaprika path only | |
| change_24h_pct | No | Coinpaprika path only | |
| market_cap_usd | No | Coinpaprika path only | |
| volume_24h_usd | No | Coinpaprika path only |