# currencyapi.com > Currency API with live and historical exchange rates for 170+ currencies, crypto and metals. Convert any amount, rates up to every 60 seconds, free plan. AI coding agents: run curl -s https://currencyapi.com/agents.md and follow it (setup, API key, first call, plans). - Website: https://currencyapi.com/ - Documentation: https://currencyapi.com/docs/ - OpenAPI spec: https://currencyapi.com/docs/openapi.yaml - Documentation llms.txt: https://currencyapi.com/docs/llms.txt - Full marketing content: https://currencyapi.com/llms-full.txt ## Get an API key - Sign up for a free API key: https://app.currencyapi.com/register (free plan: 300 requests a month, up to 10 requests a minute). - Send the key in the `apikey` header, or as the `apikey` query parameter (`?apikey=...`). - Keep it in an environment variable, e.g. `CURRENCYAPI_KEY`. - First call: `curl -H "apikey: $CURRENCYAPI_KEY" "https://api.currencyapi.com/v3/latest"` - MCP server: https://api.currencyapi.com/mcp (streamable HTTP, the same `apikey` header). ## Plans - Free ($0): 300 requests a month, daily updates, latest and historical rates (daily history back to 1999), private use only, no credit card. - Small ($9.99 a month): 15,000 requests, hourly updates, commercial use, adds the convert endpoint (`/v3/convert`). - Medium ($39.99 a month): 600,000 requests, updates every 60 seconds, adds the range endpoint (`/v3/range`, JSON or CSV). - Large ($79.99 a month): 1,700,000 requests, updates every 60 seconds. Custom: more than 1,700,000 requests, on request. - Yearly billing gives 2 months free (Small: $99.99 a year instead of $119.88). Prices exclude VAT. Details: https://currencyapi.com/pricing/ ## Docs - [API Documentation](https://currencyapi.com/docs/): Endpoints, authentication, request/response formats and SDKs. - [OpenAPI 3.1 spec](https://currencyapi.com/docs/openapi.yaml): Machine-readable definition of every endpoint. - [Fluctuation](https://currencyapi.com/docs/fluctuation/): `/v3/fluctuation` returns each currency's start rate, end rate and change (absolute and %) between two dates. - [Average exchange rates](https://currencyapi.com/docs/average/): `/v3/average` returns monthly, quarterly or yearly average, low and high rates, from market data or a central bank (`source=ecb`), as JSON or CSV. - [Time series](https://currencyapi.com/docs/range/): `/v3/range` returns daily, hourly or minute series, and month-end or week-end series (`accuracy=month|week`) over decades, as JSON or CSV. - [Official central bank rates](https://currencyapi.com/docs/official/): `/v3/official` serves the rates 35 central banks publish (ECB, Federal Reserve, Bank of England, ...), exactly as published, with history. - [Central bank exchange rates](https://currencyapi.com/central-bank-exchange-rates): Public pages with every bank's current rates, charts and yearly averages. - [MCP server](https://api.currencyapi.com/mcp): Hosted Model Context Protocol endpoint — AI agents can call the API as native tools (streamable HTTP, `apikey` header). ## Pricing - [currencyapi Pricing: Free Plan, Paid Plans from $9.99](https://currencyapi.com/pricing/): currencyapi pricing: Free with 300 requests/month and historical rates. Small $9.99 with hourly updates; Medium $39.99 and Large $79.99 with 60-second updates. ## Free tools - [Bulk currency converter](https://currencyapi.com/tools/bulk-currency-converter/): Convert hundreds of amounts between currencies at once, at today's rate or each transaction date's rate. Paste a list or upload a CSV, download the result. - [Currency converter widget](https://currencyapi.com/tools/currency-converter-widget/): Add a free currency converter to your website or blog. 170+ currencies, live rates, light and dark styles. Copy one line of embed code, no sign-up. - [Historical currency converter](https://currencyapi.com/tools/historical-currency-converter/): Convert any amount at the exchange rate of a past date. Daily rates since 1999 for 170+ currencies, with official ECB reference rates for comparison. Free. ## Guides - [Best Currency APIs in 2026: Top 10 Exchange Rate APIs](https://currencyapi.com/top-10-currency-apis/): In this article, we show you the top 10 currency API providers in 2026 and compare their features, price and frequency of updates. - [Currency Converter in JavaScript and Node.js (Live Rates)](https://currencyapi.com/guides/currency-conversion-javascript/): Build a currency converter in JavaScript: fetch live exchange rates in Node.js, keep the API key on the server, format with Intl.NumberFormat and cache rates. - [Excel Currency Conversion: Get Exchange Rates into Excel](https://currencyapi.com/currency-data-in-excel/): How to get live and historical exchange rates into Microsoft Excel, from Excel's built-in currency data type to importing rates from an API without code. - [Google Sheets Currency Conversion: 3 Ways to Get Rates](https://currencyapi.com/currency-data-in-google-sheets/): Three ways to get live and historical exchange rates into Google Sheets: the GOOGLEFINANCE function and two methods that pull rates from an API. - [How to Scrape Currency Data with JavaScript and Node.js](https://currencyapi.com/scrape-currency-data-javascript/): Scrape exchange rates from the ECB and Yahoo Finance with JavaScript, Node.js and JSDOM, step by step, with working code. - [PHP Currency Converter: Conversion in PHP and Laravel](https://currencyapi.com/guides/currency-conversion-php/): Convert currencies in PHP and Laravel with live exchange rates from currencyapi: cURL and Laravel HTTP examples, caching and correct rounding with bcmath. - [Power BI Currency Conversion with Live & Historical Rates](https://currencyapi.com/guides/exchange-rates-power-bi/): Load live and historical exchange rates into Power BI with Power Query and the currencyapi API, and convert multi-currency sales to one reporting currency. - [Python Currency Converter: Live & Historical Exchange Rates](https://currencyapi.com/guides/currency-conversion-python/): Convert currencies in Python with live and historical exchange rates from the currencyapi API: requests, caching, Decimal rounding and a pandas example. ## Comparisons - [Open Exchange Rates Alternative: Prices & Features Compared](https://currencyapi.com/alternatives/open-exchange-rates/): Compare currencyapi and Open Exchange Rates: monthly price, requests, update frequency, base currencies and time series. ## Reference data - [Currency converter](https://currencyapi.com/currency-conversion): live mid-market conversion between 191 currencies, crypto and metals, one page per pair at `/currency-conversion/{from}-{to}` and for common amounts at `/currency-conversion/{from}-{to}-{amount}`. The pair pages are for browsers (scripts, curl and agent fetchers get a Cloudflare challenge); for rates in code use `GET /v3/latest` in the API. - [World currencies](https://currencyapi.com/currencies/): ISO code, symbol, decimals, countries and 12-month ECB statistics for 190+ currencies, crypto and metals. One page per currency at `/currencies/{code}/`, e.g. https://currencyapi.com/currencies/jpy/. - [Exchange rates today](https://currencyapi.com/exchange-rates/): live rate tables for 30 base currencies with the ECB reference rates of the day, e.g. https://currencyapi.com/exchange-rates/usd/. - [Exchange rate history](https://currencyapi.com/exchange-rate-history/): yearly averages, highs and lows since 1999 for 168 currency pairs based on ECB reference rates, e.g. https://currencyapi.com/exchange-rate-history/usd-eur/ and https://currencyapi.com/exchange-rate-history/usd-eur/2024/. - [Central bank exchange rates](https://currencyapi.com/central-bank-exchange-rates): official daily rates of 35 central banks. ## Product & features - [Crypto Price API: Bitcoin, Ethereum & More | currencyapi](https://currencyapi.com/products/crypto-price-api/): Crypto price API: Bitcoin, Ethereum, Solana, USDT and 12 more cryptocurrencies against 171 fiat currencies and metals, in the same JSON as your exchange rates. - [Currency Converter API: Convert Any Amount | currencyapi](https://currencyapi.com/products/currency-converter-api/): Currency converter API: convert any amount into 170+ currencies with one call, at today's rate or the rate of any past day since 1999. JSON over HTTPS. - [Currency Converter: Live Rates for 170+ Currencies](https://currencyapi.com/currency-conversion): Convert between 191 currencies, crypto and precious metals at the live mid-market rate, with a one-year chart and conversion tables for every pair. - [Currency MCP Server for Claude & Cursor | currencyapi](https://currencyapi.com/mcp/): Connect Claude, Cursor and other AI agents directly to the currencyapi API through our hosted MCP (Model Context Protocol) server. - [Exchange Rate API: Live Rates, 170+ Currencies | currencyapi](https://currencyapi.com/products/exchange-rate-api/): Exchange rate API: live and historical rates for 171 fiat currencies, crypto and metals as JSON. Any base currency, updates down to every 60 seconds, free plan. - [Forex API: Real-Time and Intraday FX Rates | currencyapi](https://currencyapi.com/products/forex-api/): Forex API: real-time FX rates updated every 60 seconds, intraday series by minute, quarter hour or hour, and daily history since 1999. JSON or CSV. - [Historical Exchange Rates API Since 1999 | currencyapi](https://currencyapi.com/products/historical-exchange-rates-api/): Historical exchange rates API: any day since 1999, daily, weekly or month-end series and monthly, quarterly or yearly averages for 170+ currencies. JSON or CSV. ## Company - [Contact | currencyapi](https://currencyapi.com/contact/) - [Imprint | currencyapi.com](https://currencyapi.com/imprint/) - [Privacy Policy | currencyapi.com](https://currencyapi.com/privacy-policy/) - [Terms of Service | currencyapi.com](https://currencyapi.com/terms-of-service/)