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 | / | fx_ |
| Currency conversion | / | fx_ |
| Historical rates | / | fx_ |
| Price bars | / | fx_ |
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.
Start with a free key
Free $10 credits every month, no card.Free $10 credits a month, no card.
Was this page helpful?