Skip to content
POST AI agent ready /v1/exchange/price

Crypto Price API - Live Cryptocurrency Prices & Market Data

Returns the current price, market capitalization, 24-hour trading volume, and 24-hour price change for a cryptocurrency in one or more fiat or crypto currencies. Supports thousands of coins including Bitcoin, Ethereum, Solana, and altcoins.

Parameters

stringrequired

Coin ID (e.g., "bitcoin", "ethereum", "solana").

array

Array of target currency codes (e.g., ["usd", "eur", "btc"]). Defaults to ["usd"].

Code examples

curl -X POST https://api.botoi.com/v1/exchange/price \
  -H "Content-Type: application/json" \
  -d '{"coin":"bitcoin","currencies":["usd","eur"]}'

When to use this API

Portfolio tracking dashboards

Build a crypto portfolio tracker that fetches live prices for all coins in a user's wallet. Calculate total portfolio value in their preferred fiat currency and display 24h gains/losses alongside each holding.

Price alert bots

Poll this endpoint on a schedule and trigger notifications when a coin crosses a price threshold. Send Slack messages, push notifications, or emails when Bitcoin drops below $60k or Ethereum rises above $4k.

E-commerce crypto payment pricing

When a customer chooses to pay in cryptocurrency, fetch the live exchange rate to calculate the exact amount of crypto to charge. Lock the price for a short window (e.g., 15 minutes) to protect against volatility during the payment flow.

Frequently asked questions

How do I find the coin ID for a cryptocurrency?
Use the crypto search endpoint to find the coin ID by name or symbol. For example, searching "ethereum" returns the ID "ethereum" and the symbol "eth". Common IDs: "bitcoin", "ethereum", "solana", "cardano".
How often are prices updated?
Prices are refreshed every 1-2 minutes from upstream exchanges. The last_updated field in the response shows the exact timestamp of the price data.
What currencies can I price against?
You can use any major fiat currency (usd, eur, gbp, jpy, etc.) or cryptocurrency (btc, eth) as the target. Pass multiple currencies in the array to get prices in several denominations at once.
What does the change_24h field represent?
The change_24h field shows the percentage price change over the last 24 hours. A value of 2.45 means the price increased 2.45% compared to the same time yesterday.
Are stablecoins and tokens supported?
Yes. The endpoint supports stablecoins (usdt, usdc), DeFi tokens, meme coins, and any cryptocurrency listed on major exchanges. If the coin has a CoinGecko listing, it is supported.

Get your API key

Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.