How rates changed between two dates
getFluctuationReturns, for every requested currency, its rate at the end of date_from and of date_to and how much it changed in between, in absolute terms and in percent. Both days are UTC days back to 1999-01-01; the newest allowed is yesterday.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter the returned currencies by type. | |
| format | No | `json` (default) or `csv`. CSV has a header line and one row per currency (and point in time), values without exponent notation. | |
| date_to | Yes | Last day (`YYYY-MM-DD`), on or after `date_from`. | |
| date_from | Yes | First day (`YYYY-MM-DD`). | |
| 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`. |