Convert Currency
PythonFinancePOST api.upapi.io/currency-convert.getConvert a fiat amount across one or more target currencies using ECB daily reference rates via Frankfurter. Returns both unit rates and the converted amounts.
currencyforexfxecbpython
AuthAPI key
Cost1 unit
Timeout12s
Cache600s
Request schema
| Field | Type | Description |
|---|---|---|
basereq | string | ISO-4217 base currency code (e.g. USD) |
amount | number | Amount of the base currency to convert· default: 1 |
targetsreq | string | Comma-separated ISO-4217 target currency codes (e.g. EUR,GBP,JPY) |
Response schema
| Field | Type | Description |
|---|---|---|
basereq | string | |
datereq | string | |
ratesreq | object | |
amountreq | number | |
convertedreq | object | |
fetchedAtreq | string |
Try it
Try it
ISO-4217 base currency code (e.g. USD)
Comma-separated ISO-4217 target currency codes (e.g. EUR,GBP,JPY)
Amount of the base currency to convert
Run this endpoint live
Jump in as a guest — no signup — and run currency-convert.get with your own inputs. Create a free account anytime to get your own API key.
Code examples
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" }'Developer tools
OpenAPI specImport the spec or collection into Postman, Insomnia, or any codegen tool.