/v1/currency/convert
Requires API key
Convert between currencies via query parameters
Identical behaviour to POST /v1/currency/convert, using query parameters instead of a JSON body. Optional `date` uses historical rates and requires the Developer plan or higher.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
value
|
string | Yes | Decimal amount as a string (e.g. "100") |
from
|
string | Yes | Currency code, case-insensitive (e.g. "USD") |
to
|
string | Yes | Currency code, case-insensitive (e.g. "GBP") |
date
|
string | No | Historical rate date, YYYY-MM-DD. Requires the Developer plan or higher. |
decimals
|
integer | No | Round the result to this many fractional places (0-40, half-even). |
format_locale
|
string | No | Language tag such as de-DE. Adds a formatted display string (for example 1,5 km) to the result next to the exact value. Requires the Developer plan or higher. |
Possible errors
INVALID_REQUEST
·
INVALID_VALUE
·
UNKNOWN_CURRENCY
·
PLAN_REQUIRED
·
RATE_NOT_FOUND
·
UNAUTHORIZED
·
INVALID_API_KEY
·
RATE_LIMIT_EXCEEDED
·
QUOTA_EXCEEDED
·
SERVICE_UNAVAILABLE