API CodexAPI Codex
WebsiteDashboardGet API Key
  • Documentation
  • All APIs
  • Changelog
Resources
  • Docs Home
  • API Catalog
  • API Codex Website
Platform
  • Get a free API key
  • Dashboard
  • APIs & Pricing

© 2026 API Codex. All rights reserved.

Information
Other endpoints
    Convert CurrencygetLatest RatesgetHistorical ConversiongetList Currenciesget
Schemas
powered by Zudoku
Currency / FX Conversion API
Currency / FX Conversion API

Other endpoints


Convert Currency

GET
https://api.apicodex.io/currency
/v1/convert

Convert an amount between two currencies using the latest exchange rates. Provide a source currency (from), a target currency (to), and an optional amount (defaults to 1).

Convert Currency › query Parameters

from
​string · required

Source 3-letter currency code.

Example: USD
to
​string · required

Target 3-letter currency code.

Example: EUR
amount
​number

Amount to convert. Defaults to 1.

Example: 100
Default: 1

Convert Currency › Responses

Conversion result

ConversionResult
from
​string · required

Source currency code

Example: USD
to
​string · required

Target currency code

Example: EUR
amount
​number · required

Amount that was converted

Example: 100
rate
​number · required

Exchange rate applied

Example: 0.86081
result
​number · required

Converted amount

Example: 86.081
date
​string · date · required

Date the rate is valid for

Example: 2026-05-28
source
​string · enum · required

FX data provider that served the response

Enum values:
frankfurter
open.er-api
identity
Example: frankfurter
GET/v1/convert
curl 'https://api.apicodex.io/currency/v1/convert?from=<string>&to=<string>&apikey=<api-key>'
Example Responses
{ "from": "USD", "to": "EUR", "amount": 100, "rate": 0.86081, "result": 86.081, "date": "2026-05-28", "source": "frankfurter" }
json
application/json

Latest Rates

GET
https://api.apicodex.io/currency
/v1/rates

Get the latest exchange rates for a base currency. Use the optional symbols parameter to filter the response to a specific set of target currencies.

Latest Rates › query Parameters

base
​string

Base 3-letter currency code. Defaults to EUR.

Example: USD
Default: EUR
symbols
​string

Comma-separated list of target currency codes. All currencies if omitted.

Example: EUR,GBP,JPY

Latest Rates › Responses

Latest rates

RatesResult
base
​string · required

Base currency code

Example: USD
date
​string · date · required

Date the rates are valid for

Example: 2026-05-28
​object · required

Map of target currency code to exchange rate

Example: {"EUR":0.86081,"GBP":0.73912}
source
​string · enum · required

FX data provider that served the response

Enum values:
frankfurter
open.er-api
Example: frankfurter
GET/v1/rates
curl 'https://api.apicodex.io/currency/v1/rates?apikey=<api-key>'
Example Responses
{ "base": "USD", "date": "2026-05-28", "rates": { "EUR": 0.86081, "GBP": 0.73912, "JPY": 142.31 }, "source": "frankfurter" }
json
application/json

Historical Conversion

GET
https://api.apicodex.io/currency
/v1/historical

Convert an amount using the exchange rates that were in effect on a specific past date. Pass a date in YYYY-MM-DD format along with from, to, and an optional amount.

Historical Conversion › query Parameters

date
​string · date · required

Historical date in YYYY-MM-DD format.

Example: 2024-01-15
from
​string · required

Source 3-letter currency code.

Example: USD
to
​string · required

Target 3-letter currency code.

Example: EUR
amount
​number

Amount to convert. Defaults to 1.

Example: 100
Default: 1

Historical Conversion › Responses

Historical conversion result

ConversionResult
from
​string · required

Source currency code

Example: USD
to
​string · required

Target currency code

Example: EUR
amount
​number · required

Amount that was converted

Example: 100
rate
​number · required

Exchange rate applied

Example: 0.86081
result
​number · required

Converted amount

Example: 86.081
date
​string · date · required

Date the rate is valid for

Example: 2026-05-28
source
​string · enum · required

FX data provider that served the response

Enum values:
frankfurter
open.er-api
identity
Example: frankfurter
GET/v1/historical
curl 'https://api.apicodex.io/currency/v1/historical?date=<string>&from=<string>&to=<string>&apikey=<api-key>'
Example Responses
{ "from": "USD", "to": "EUR", "amount": 100, "rate": 0.91234, "result": 91.234, "date": "2024-01-15", "source": "frankfurter" }
json
application/json

List Currencies

GET
https://api.apicodex.io/currency
/v1/currencies

List all supported currency codes and their human-readable names.

List Currencies › Responses

Supported currencies

CurrenciesResult
count
​integer · required

Number of supported currencies

Example: 31
​object · required

Map of currency code to currency name

Example: {"USD":"United States Dollar","EUR":"Euro","GBP":"British Pound"}
GET/v1/currencies
curl 'https://api.apicodex.io/currency/v1/currencies?apikey=<api-key>'
Example Responses
{ "count": 31, "currencies": { "USD": "United States Dollar", "EUR": "Euro", "GBP": "British Pound" } }
json
application/json