Convert an amount
currencylayer_convert_currencySPENDS 1 request of your currencylayer monthly quota per call (also when it fails after authentication; it is never retried). Convert an amount from one currency to another with real-time rates, or with the rates of a past date. Returns the result and the quote used. Needs the Basic plan or higher. GET /convert.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Currency to convert to, e.g. EUR. | |
| date | No | Use the rates of this date (yyyy-mm-dd) instead of real-time rates. | |
| from | Yes | Currency to convert from, e.g. USD. | |
| amount | Yes | Amount to convert (positive, up to 1e12). |