Exchange Rate API
Real-time and historical currency exchange rates API. Overview Exchange Rate API provides accurate mid-market exchange rates for 160+ currencies. Our API is…
Finance & banking#currency-exchange
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Real-time and historical currency exchange rates API.
Overview
Exchange Rate API provides accurate mid-market exchange rates for 160+ currencies. Our API is designed for:
- Currency converters and calculators
- Financial applications and fintech
- E-commerce platforms
- AI chatbots and assistants
Authentication
Most endpoints require an API key via the Authorization: Bearer header.
The /api/v1/symbols endpoint is public and does not require authentication.
Plans & Quotas
A free tier and paid plans are available. See exchange-rateapi.com/pricing for current quotas.
Getting an API Key
- Register at exchange-rateapi.com/register
- Verify your email
- Find your API key in your dashboard
Endpoints 4
Exchange Rates
- GETGet current exchange rate (public)
/rate?source=USD&target=EURReturns the current mid-market exchange rate between two currencies. No authentication required. - GETGet historical exchange rates
/historical-rates?source=USD&target=INRReturns historical exchange rate data for a currency pair over a specified time period. Requires API key authentication via Authorization: Bearer <api_key>.… - GETAuthenticated exchange rate API
/v1/ratesGet exchange rates with higher rate limits using API key authentication. Supports fetching multiple currency pairs and historical data. - GETList all supported currencies
/v1/symbolsReturns all supported currency codes, names, and symbols. No authentication required. Response is cached for 24 hours.
API details
- Base URL
https://exchange-rateapi.com/api- Authentication
- A bearer token in the Authorization header
- Operations
- 4 operations on 4 pathsGET 4
- Main resources
- Exchange Rates 4
- Response formats
application/json- Description format
- OpenAPI 3.1.0, API version
1.0.0 - Links
- OpenAPI document · Support
How to test the Exchange Rate API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Exchange Rate API collection, without the publisher's secrets.
- Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Get current exchange rate (public)” (GET /rate?source=USD&target=EUR), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Exchange Rate API?
Real-time and historical currency exchange rates API. Overview Exchange Rate API provides accurate mid-market exchange rates for 160+ currencies. Our API is… It is listed under Finance & banking and has 4 endpoints.
Who publishes the Exchange Rate API?
It is listed from Exchange Rateapi's public API description (an OpenAPI document), not published by Exchange Rateapi on Swastik Codes. Anyone who controls exchange-rateapi.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Exchange Rate API?
Requests go to https://exchange-rateapi.com/api. Endpoint paths are added to this base URL.
How do I authenticate with the Exchange Rate API?
With A bearer token in the Authorization header.
How many endpoints does the Exchange Rate API have?
4 operations on 4 paths (4 GET). The largest groups are Exchange Rates.
Is forking the Exchange Rate API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.