Crypto & fiat rates, from one endpoint
Cryptocurrency Exchange Rate API
Real-time BTC, ETH and 10 more crypto assets — returned alongside 150+ fiat currencies and precious metals from a single REST endpoint. One API key, zero extra setup.
What is the Cryptocurrency Exchange Rate API?
The Cryptocurrency Exchange Rate API is a single REST endpoint that returns live rates for Bitcoin, Ethereum, and 10 other major crypto assets — side-by-side with 150+ fiat currencies, gold (XAU), and silver (XAG) — in one JSON or XML response.
There is no separate crypto endpoint. Your existing call to /api/v2/rates already includes all supported crypto symbols when you pass base=USD (or any other base). Use /api/v2/convert on Essential plans and above to convert a specific amount directly server-side.
This makes CurrencyAPI a single integration point for applications that need to display, convert, or compare crypto and fiat values together — portfolio trackers, payment processors, exchange dashboards, and more.
Supported Cryptocurrencies
12 crypto assets are part of the 166 total currencies supported across the API. They use the same endpoints, the same JSON schema, and the same base-currency parameter as fiat.
Alongside these 12 crypto assets, all 150+ fiat currencies and the precious metals gold (XAU) and silver (XAG) are included in every response. View the complete currency list for all 166 supported codes.
Crypto API Code Examples
Every crypto symbol comes back in the rates object — read the ones you need, or set any crypto as the base. The same code patterns apply to fiat.
import requests
url = "https://currencyapi.net/api/v2/rates"
params = {
"key": "YOUR_API_KEY",
"base": "USD",
"output": "JSON"
}
response = requests.get(url, params=params)
data = response.json()
print(data)How Do I Get Started?
Getting started with crypto exchange rates takes under 5 minutes. Follow the steps below to make your first request.
- 1Create a free account — free plan, no card required.
- 2Copy your API key from the dashboard.
- 3Call
/api/v2/rates?key=YOUR_KEY&base=USD— crypto symbols (BTC, ETH…) appear alongside fiat in the response. - 4Read any crypto symbol (BTC, ETH…) straight from the
ratesobject in the JSON response.
Crypto-to-Fiat Conversion Use Cases
The same API that powers fiat conversion powers crypto conversion — no second integration needed.
Portfolio Valuation
Convert BTC, ETH, and altcoin holdings to USD, EUR, or any fiat base for real-time portfolio dashboards. Pull all rates in a single API call and compute totals client-side.
Exchange Dashboards
Display live bid/ask context for crypto/fiat pairs on trading or exchange UIs. Fetch all supported symbols together and refresh on a schedule that matches your plan's update frequency.
Crypto Payment Processing
Accept BTC or ETH payments and convert the received amount to a fiat equivalent for invoicing or accounting. Use /api/v2/convert (Essential plan+) for server-side arithmetic.
DeFi & Wallet Apps
Show users their stablecoin and altcoin values in local fiat. USDC and USDT rates sit alongside all other currencies — one call covers the full multi-asset balance sheet.
Reporting & Compliance
Lock in the USD value of crypto transactions at a specific point in time using historical rates via /api/v2/history. Essential plan and above — data goes back to each asset's launch date.
Multi-Asset Price Widgets
Embed a price ticker showing BTC, ETH, and top fiat rates alongside metals (XAU, XAG) in a single widget. All data from one endpoint keeps latency and complexity low.
Cryptocurrency Exchange Rate API Plans & Pricing
Live crypto rates are available on all plans including the free tier. The /api/v2/convert endpoint and historical data require an Essential plan or above.
Free
$0/month
Free forever.
- 500 monthly requests
- Updated every 60 minutes
- Includes Live Rates
- Secured using HTTPS
- No Historical Rates
- No Slack Notifications
- Fixed base currency
- No team management
- 10 requests per min
- Only 1 API key
- No IP whitelisting/blacklisting
- No technical support
- Personal use only
Essential
$9.99/month
$24 with annual billing.
- 20,000 monthly requests
- Updated every 60 minutes
- Includes Live Rates
- Includes Convert Rates
- Includes Historical Rates
- Change base currency
- Slack Notifications
- No rate limits
- Secured using HTTPS
- Technical email support
- Commercial Use
- No team management
- Only 1 API key
- No IP whitelisting/blacklisting
Bonus Perks
- $20 Railway hosting credit*
StartUp
$34.99/month
$84 with annual billing.
- 125,000 monthly requests
- Updated every 60 seconds
- Includes Live Rates
- Includes Convert Rates
- Includes Historical Rates
- Includes Timeframe Endpoint
- Team management
- 2 API keys
- Change base currency
- Slack Notifications
- No rate limits
- Secured using HTTPS
- Technical email support
- Commercial Use
- No IP whitelisting/blacklisting
Bonus Perks
- $20 Railway hosting credit*
Professional
$74.99/month
$180 with annual billing.
- 10,000,000 monthly requests
- Updated every 60 seconds!
- Includes Live Rates
- Includes Convert Rates
- Includes Historical Rates
- Includes Timeframe Endpoint
- Includes OHLC Endpoint
- Team management
- 5 API keys
- IP whitelisting/blacklisting
- Change base currency
- Slack Notifications
- No rate limits
- Secured using HTTPS
- Technical email support
- Commercial Use
Bonus Perks
- $20 Railway hosting credit*
SDKs and Extensions
Hear from Our Customers
Pulling live crypto and fiat rates from one endpoint saved us building a second integration. The data is accurate and the response times are excellent.
Oliver Lynch
CTO at MachineCo
Integrating the Currency API was a breeze. Having BTC and ETH sit right alongside fiat in the same JSON meant zero extra parsing. The docs are thorough and support is responsive.
Afaan Ashiq
Tech Lead at Nate
The real-time crypto rates have been invaluable for our financial dashboards. Lightning fast, reliable, and easy to use — we're thrilled with the results.
Peter Dudbridge
Head of Engineering at Jua.ai
Frequently Asked Questions
Questions about crypto exchange rates and the API. Get in touch if you need more help.
Which cryptocurrencies does the API support?
The API supports 12 cryptocurrencies: Bitcoin (BTC), Ethereum (ETH), XRP, Litecoin (LTC), Cardano (ADA), BNB, Dogecoin (DOGE), Polkadot (DOT), Chainlink (LINK), Solana (SOL), USD Coin (USDC), and Tether (USDT).
These sit alongside 150+ ISO 4217 fiat currencies and the precious metals gold (XAU) and silver (XAG) — 166 symbols in total. View the complete currency list.
Is there a separate endpoint for crypto rates?
No. Crypto symbols are part of the standard 166-currency set. The same /api/v2/rates endpoint and /api/v2/convert endpoint that return fiat rates also return BTC, ETH, and all other supported crypto assets.
Every response already includes all crypto symbols in the rates object, so you just read the ones you need — BTC, ETH, and so on. You can also set any crypto as the base (for example base=BTC) to denominate every rate in that asset.
How often are crypto rates updated?
Update frequency depends on your plan — the same schedule applies to both crypto and fiat rates:
• Professional & StartUp plans — updated every 1 minute
• Essential & Free plans — updated every 60 minutes
Data is sourced from financial data providers and aggregated across exchanges.
Can I use the free plan for crypto rates?
Yes. The Free plan (500 requests/month, no credit card required) returns live crypto rates via the /api/v2/rates. The /api/v2/convert endpoint requires an Essential plan or above.
For personal or low-volume projects, the free plan is sufficient to fetch BTC, ETH, and all other crypto symbols.
How do I convert Bitcoin to USD using the API?
Use the base parameter on the rates endpoint: GET /api/v2/rates?key=YOUR_KEY&base=BTC returns all currencies (including USD) denominated in BTC.
On Essential plans and above, use the convert endpoint for server-side arithmetic: GET /api/v2/convert?key=YOUR_KEY&from=BTC&to=USD&amount=1. See the conversion documentation for full parameter reference.
Are historical crypto exchange rates available?
Yes, on Essential plans and above. Historical data for cryptocurrencies is available from each asset's respective launch date (e.g. Bitcoin data from 2010 onwards) via the /api/v2/history and /api/v2/timeframe endpoints.
See the Historical Exchange Rate API page for full details on date ranges and endpoint usage.
What response format does the API return?
JSON by default. Add &output=XML to any request for an XML response. Both formats are available on all plans.
Crypto symbols appear in the rates object alongside fiat and metals — no additional parsing logic required.
Related API Resources
Exchange Rate API
The full live rates endpoint — 166 currencies, JSON & XML, updated every 60 seconds on paid plans. The foundation that powers crypto rates too.
Currency Conversion API
Convert any amount between crypto, fiat, or metals server-side with a single REST call. Essential plan and above.
Historical Exchange Rate API
Query daily or date-range historical rates back to 2000 for fiat, and from launch date for crypto. Essential plan and above.
Rates API Documentation
Full technical reference for the /api/v2/rates endpoint — parameters, filters, response schema, and code examples.
Supported Currency List
Complete list of all 166 supported currency codes including all crypto symbols, fiat, and precious metals.
Start Fetching Crypto Rates Now
Free plan available — 500 requests/month, no credit card required. Crypto, fiat, and metals from a single REST endpoint.