# Convert Currency API

> Convert a fiat amount across one or more target currencies using ECB daily reference rates via Frankfurter. Returns both unit rates and the converted amounts.

Category: [Finance APIs](https://upapi.io/apis/finance) · Last updated 2026-06-12

## How to call it

- Endpoint: `POST https://api.upapi.io/currency-convert.get`, key in the `X-Api-Key` header, JSON body.
- Cost: 1 weighted unit per call.
- Timeout: 12 seconds.
- Cache: identical requests are served from cache for 600 seconds, unbilled.
- Try it without writing code: https://app.upapi.io/try/currency-convert.get

```bash
curl -X POST https://api.upapi.io/currency-convert.get \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{ "base": "USD", "amount": 1, "targets": "EUR,GBP,JPY" }'
```

## Request parameters

- `base` (string, required) — ISO-4217 base currency code (e.g. USD)
- `amount` (number) — Amount of the base currency to convert
- `targets` (string, required) — Comma-separated ISO-4217 target currency codes (e.g. EUR,GBP,JPY)

## Response fields

- `base` (string, required)
- `date` (string, required)
- `rates` (object, required)
- `amount` (number, required)
- `converted` (object, required)
- `fetchedAt` (string, required)

## Example request and response

The example response is generated from the published output schema: it shows the shape and field names, not values from a recorded call.

```json
{
  "base": "USD",
  "amount": 1,
  "targets": "EUR,GBP,JPY"
}
```

```json
{
  "base": "USD",
  "date": "2024-07-04",
  "rates": {},
  "amount": 100,
  "converted": {},
  "fetchedAt": "example"
}
```

## Frequently asked questions

### How much does the Convert Currency API cost per call?

Each call spends 1 weighted unit of your plan's monthly quota. Full pricing is at https://upapi.io/pricing.

### How do I authenticate to the Convert Currency API?

Send your key in the X-Api-Key header. A free guest key is available without creating an account.

### Are Convert Currency API responses cached?

Yes — identical requests are served from cache for 600 seconds, and a cache hit is not billed.

## More Finance APIs

- [Get Crypto Prices](https://upapi.io/apis/finance/crypto-price)
