Convert a value between currencies
getConvertConverts a value from the base currency into all (or a filtered set of) currencies, for today or for a given historical date. Requires a plan that includes the convert endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Optional date to convert against historical rates (format `YYYY-MM-DD`). Must be at least one day in the past. Omit for the latest rates. | |
| type | No | Filter the returned currencies by type. | |
| value | Yes | The value to convert. Must be greater than 0. | |
| currencies | No | Comma-separated list of currency codes to include (e.g. `EUR,USD,CAD`). The array form `currencies[]=EUR¤cies[]=USD` is also accepted. By default all supported currencies are returned. | |
| base_currency | No | The base currency that all returned values are relative to. Defaults to `USD`. |