Back to all APIs
Exchange Rates
PopularReal-time and historical exchange rates for 50+ currencies
Category: FinanceEndpoint:
/v1/exchange/ratesAvg Response
<50ms
Uptime SLA
99.99%
Free Tier
1,000/mo
Quick Start
JavaScript / TypeScript
javascript
import { KhaleejiAPI } from '@khaleejiapi/sdk'; const client = new KhaleejiAPI('your_api_key'); const rate = await client.exchange.convert({ from: 'AED', to: 'USD', amount: 100}); console.log(rate);// {// from: "AED",// to: "USD",// amount: 100,// converted: 27.23,// rate: 0.2723// }Python
python
from khaleejiapi import KhaleejiAPI client = KhaleejiAPI('your_api_key') rate = client.exchange.convert( from_currency='AED', to_currency='USD', amount=100) print(rate)# {# "from": "AED",# "to": "USD",# "amount": 100,# "converted": 27.23,# "rate": 0.2723# }cURL
curl
curl -X GET "https://khaleejiapi.dev/api/v1/exchange/rates?base=AED&target=USD&amount=100" \ -H "x-api-key: your_api_key" \ -H "Content-Type: application/json"Related APIs
VAT Calculator
Calculate UAE VAT with automatic rate detection
Public Holidays
GCC public holidays (2024–2027) with smart queries — check if a date is a holiday, get the next upcoming holiday, and filter by month or sector
Business Days Calculator
Calculate business days between dates for all GCC countries with holiday awareness