About this endpoint
What it does
Converts one source currency into multiple target currencies and returns the conversion result for each requested pair in a JSON object. Each response property is named after the source and target currency codes, and its value is either a number or false.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| date | String | No | Date in date format. Defaults to today when omitted or blank. |
| source | String | Yes | Source currency code. |
| targets | String Array | Yes | Target currency codes to convert to. |
Response
Returns a JSON object where each top-level field is a currency-pair key such as usd_eur, and each value is either a number conversion result or false when that conversion is unavailable. Success response schema is a JSON object with additional properties constrained to number or boolean.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| dynamic currency pair key | Number/Boolean | No | A top-level property named after the source and target currencies, for example usd_eur. The value is a number or false. |