cURL Exchange Rates API
cURL Currency API
Get Live Exchange Rates with cURL. Simple integration, comprehensive documentation, and reliable exchange rate data using command-line tools.
No card required. Free plan is 500 requests/month
curl --location \
--request GET \
"https://currencyapi.net/api/v1/rates?key=YOUR_API_KEY&base=USD&output=JSON"Trusted by developers worldwide
Join thousands of developers who rely on our Currency API with cURL, with low latency JSON responses, dependable uptime, and reliable data sources.
Our API works seamlessly with cURL across platforms—from Linux servers to macOS terminals. Built for command-line tools, trusted by developers.
50M+ Requests Every Month
Built to handle high traffic smoothly and reliably.
10,000+ Happy Customers
Chosen by developers, startups, and growing teams.
Supporting Devs Since 2019
A proven platform you can count on long-term.
~50ms Average Latency
Fast responses for real-time API calls and scripts.
Our Pricing Plans
Get started with our cURL Exchange Rates API for free. Perfect for developers building personal projects or testing. Upgrade to paid plans for production applications with higher limits, faster updates, and commercial usage rights.
Free
Perfect for personal projects
- 500 monthly requests
- Hourly updates
- Fetch currency rates with cURL
- Rate limits (10 req/min)
- Commercial use
- Technical support
- Change base currency
Commercial
Built for production applications
- Up to 10M+ monthly requests
- Updates as fast as 60 seconds
- Historical rates back to 2000
- Code examples included
- Convert endpoint for cURL
- Commercial use allowed
- Technical email support
- Team management
- Multiple API keys
- IP whitelisting/blacklisting
How Our cURL Currency API Works
Sign Up
Sign up for a free account to get started with our API. Paid plans start at just $9.99/month.
Get Your API Key
After signing up, you'll receive an API key. Use this key to authenticate requests to our API endpoints.
Integrate the API
Use our code samples with cURL commands to quickly integrate into your scripts, automation tools, or testing workflows.
Getting Started: cURL Integration
Implement our Currency API using cURL commands. Simple, straightforward, and works on any platform with cURL installed.
curl --location \
--request GET \
"https://currencyapi.net/api/v1/rates?key=YOUR_API_KEY&base=USD&output=JSON"Using cURL Commands
Use cURL for direct API calls from the command line. Simple, straightforward, and works on Linux, macOS, Windows, and any platform with cURL installed.
Perfect for testing, automation scripts, CI/CD pipelines, and quick API integrations. Works seamlessly with bash, zsh, and other shell environments.
AI Assisted cURL Integration
Integrate our Exchange Rates API effortlessly with AI assistants. We provide a simple llms.txt file that contains all the information about our API in a format optimized for AI assistants and Large Language Models.
AI assistants like ChatGPT, Claude, Cursor, Windsurf, and others can quickly understand our API capabilities and help you integrate Currency API more efficiently using cURL commands.
Simply reference our llms.txt file and let AI assistants guide you through cURL integration, code examples, and best practices. More information can be found on our LLM Documentation page.
What Developers Build With Our cURL API
See how developers use our Currency API endpoints with cURL to power their applications. From real-time rates to historical analysis, discover the possibilities.
curl --location \
--request GET \
"https://currencyapi.net/api/v1/rates?key=YOUR_API_KEY&base=USD&output=JSON"Live Exchange Rates
Fetch real-time exchange rates for 152+ currencies in a single API call. Perfect for building currency converters, e-commerce pricing engines, and financial dashboards.
Developers use this endpoint with cURL to power real-time currency displays, update product prices dynamically, and build trading applications that need current market rates.
Currency Conversion
Convert a currency from one to another with a single API request. Ideal for checkout flows, invoice generation, and payment processing systems.
Developers integrate this endpoint using cURL into automation scripts, CI/CD pipelines, and command-line tools to handle multi-currency transactions and build international payment gateways.
curl --location \
--request GET \
"https://currencyapi.net/api/v1/convert?key=YOUR_API_KEY&from=GBP&to=USD&amount=100&output=JSON"curl --location \
--request GET \
"https://currencyapi.net/api/v1/history?key=YOUR_API_KEY&date=2020-01-01&base=USD&output=JSON"Historical Exchange Rates
Access Historical Exchange Rates for a specific date going back to the year 2000. Essential for financial reporting, backtesting trading strategies, and analyzing currency trends over time.
Developers use historical data with cURL to build various graphs, analytics dashboards, generate financial reports, perform currency trend analysis, and create data visualizations for business intelligence tools.
Timeframe Analysis
The Timeframe Endpoint allows you to retrieve rates for multiple historical dates in one request. Perfect for analyzing currency movements over weeks, months, or years.
Developers leverage timeframe data using cURL to build portfolio tracking tools, create currency performance reports, analyze seasonal trends, and power financial forecasting models in data science applications.
curl --location \
--request GET \
"https://currencyapi.net/api/v1/timeframe?key=YOUR_API_KEY&start_date=2017-12-25&end_date=2018-01-10&base=USD&output=JSON"Powerful Dashboard for Developers
Manage your API usage, monitor performance, and access powerful analytics through our intuitive dashboard. Everything you need to optimize your currency data integration with cURL.

Dashboard Features
FAQs
Questions about using our API with cURL? Below are some of our most asked questions or feel free to get in touch.
Is there a free version of the currency conversion API?
Yes, we offer a free exchange rate API for personal projects only. This free version allows access to our rates endpoint, updated every hour. Please note that we do not allow commercial use on our free account. For commercial use, please refer to our terms here.
Is there any sample JSON (or XML) data that shows the response from your API?
Our API Documentation page has sample data returned from our APIs in both JSON and XML formats. Developers can use this to start planning the returned response before even signing up.
Is there a postman collection I can use for testing the API?
We have created a downloadable postman collection for our CurrencyApi. All you need to get started is an API key for our service, which is provided after signup. Just replace our placeholder API key with your own API key and away you go.
How live are the currency exchange rates?
The rate in which our data is updated depends on the plan you are subscribed to. Currency rates are updated every:
• 1 minute (Professional plan)
• 10 minutes (StartUp plan)
• 60 minutes (Essential and free plan)
What is the source of the currency exchange rates in the API?
Our data comes from various reputable finance sources. We have backup sources to prevent a single point of failure and have automation checks on this data to ensure accuracy.
Which currencies are supported by your API?
CurrencyApi.net covers real time and historical exchange rates on 152 currencies, including some cryptocurrencies and precious metals. You can find a full list of the currencies we support.