About this endpoint
What it does
Converts one source currency into multiple target currencies for a given date and returns a JSON object of conversion results keyed by currency pair.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| date | String | No | Date in YYYY-MM-DD format. Defaults to today when omitted or blank. |
| source | String | Yes | Source currency code. |
| targets | String Array | Yes | Target currency codes to convert into. |
Response
Returns a JSON object whose top-level fields are dynamic currency-pair keys such as usd_eur, usd_gbp, and usd_jpy.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| source_target | Decimal | Yes | Decimal value(s) that returns the exchange rate for the source - target currencies |