About this endpoint
What it does
Converts a currency pair for a specified date and returns the result in a JSON object with a data field. The data field is either a numeric exchange rate or a boolean, depending on the response shape.
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. |
| target | String | Yes | Target currency code. |
Response
Returns a JSON object with a data field. The data field is either a Number or a Boolean value.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Number / Boolean | No | Exchange rate as a number, or a boolean value. |