get_pair_rate
Get the exchange rate for a currency pair and convert an amount with adjustable decimal precision.
Instructions
Get the exchange rate for a single currency pair, with optional precision. Available on all plans; the converted amount (amount/result) is included on Pro plan or higher.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target currency ISO code. | |
| from | Yes | Source currency ISO code. | |
| amount | No | Amount to convert (default 1). | |
| precision | No | Decimal places (2–6, default 4). |