Cross rates between several currencies
getMatrixReturns every cross rate between 2 to 25 currencies in one request: data.EUR.USD is the price of 1 EUR in USD. Latest at your plan's update interval, or the close of a past date. format=csv gives the table with one row per base currency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | The close of this past day (format `YYYY-MM-DD`). | |
| format | No | `json` (default), `csv` or `xlsx`. CSV has a header line and one row per currency (and point in time), values without exponent notation. `xlsx` is the same table as an Excel workbook (one sheet, bold frozen header row, numbers as numbers), sent as a download named after the endpoint, e.g. `latest.xlsx`. | |
| precision | No | Round every value to this many decimals (0 to 10). By default values carry up to 10 decimals (10 significant digits below 0.1). | |
| currencies | Yes | 2 to 25 currency codes, comma-separated (e.g. `USD,EUR,GBP`) or as `currencies[]=`. Rows and columns keep this order. |