---
title: "FX API Reference | Narwhal API"
description: "Current rates, currency conversion, and historical exchange-rate operations through REST and MCP."
url: "https://narwhalapi.com/docs/api/fx"
---

> Index of every Narwhal page and doc for AI readers: [llms.txt](https://narwhalapi.com/llms.txt)

# FX API reference

Current rates, currency conversion, and history through REST and MCP.

All four operations are live. They use one Narwhal key and the same credit.

## Four operations

| Operation | REST path | MCP tool |
| --- | --- | --- |
| [Current rates](https://narwhalapi.com/docs/api/fx/rates.md) | `/v1/fx/rates/{base}` | `fx_get_rates` |
| [Currency conversion](https://narwhalapi.com/docs/api/fx/conversion.md) | `/v1/fx/convert` | `fx_convert_currency` |
| [Historical rates](https://narwhalapi.com/docs/api/fx/history.md) | `/v1/fx/rates/{base}/observations` | `fx_get_rate_history` |
| [Price bars](https://narwhalapi.com/docs/api/fx/history.md#bars) | `/v1/fx/rates/{base}/bars` | `fx_get_rate_bars` |

## Shared rules

- One base unit equals the returned quote rate.
- Rates and amounts are decimal strings.
- Current rates keep their own timestamp and stale state.
- REST and MCP use the same data and credit.
- Errors use the shared Narwhal problem shape.

## Coverage

Current rates accept supported circulating ISO 4217 currencies. History begins at different dates by currency and keeps genuine gaps.

[View FX coverage](https://narwhalapi.com/coverage.md#fx) · [Read the methodology](https://narwhalapi.com/methodology/fx.md) · [Exchange rate API](https://narwhalapi.com/api/fx.md)

## Start with a free key

Free $10 credits every month, no card.

[Get a free API key](https://narwhalapi.com/signup)

Was this page helpful?
