v3

latestOpenAPI 3.0.02026-07-31800117.7 KB
Capabilities

currency.convert

Convert amounts between different currencies. Uses current rates by default, or historical rates for a specific date.

post/capabilities/currency.convert

Request body

amountnumber required

The amount to convert

fromCurrencystring required

The source currency code (e.g., 'USD', 'EUR', 'IDR')

toCurrencystring required

The target currency code (e.g., 'USD', 'EUR', 'IDR')

datestring

Optional date for historical rates (YYYY-MM-DD format). Defaults to current rates if not provided.

Response

Successful response

successboolean
codeinteger

Example response

{
  "success": true,
  "code": 200
}