FinancePopular
Exchange Rates API
Real-time and historical exchange rates for 50+ currencies. Supports conversion mode with amount calculation and listing mode for all rates against a base currency.
Endpoint:
/v1/exchange/ratesMethod:GET
Latency:~30ms
Try it out
GET
/v1/exchange/ratesParameters
Code
curl
curl -X GET "https://khaleejiapi.dev/api/v1/exchange/rates?base=AED&target=USD&amount=1000" \ -H "X-API-Key: your_api_key"Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| base | string | Optional | Base currency code (default: AED) |
| target | string | Optional | Target currency for conversion mode |
| amount | number | Optional | Amount to convert (requires target) |
| date | string | Optional | YYYY-MM-DD for historical rates |
Response Fields
Conversion Mode (when target provided)
from/to currency objects (code, name, symbol), amount, rate, converted value, date, source
Listing Mode (no target)
base currency, date, currencies count, source, and rates object mapping currency codes to exchange rates
Rate Limits
| Plan | Requests/Month | Rate Limit |
|---|---|---|
| Free | 1,000 | 10 req/min |
| Starter | 10,000 | 60 req/min |
| Professional | 100,000 | 300 req/min |
| Business | 500,000 | 1,000 req/min |