---
title: "FX API Guides | Narwhal API"
description: "Short guides to exchange-rate direction, weekends, historical observations, and building with the Narwhal FX API."
url: "https://narwhalapi.com/guides/fx"
---

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

# FX API guides

Practical guidance for exchange-rate history, freshness, and implementation.

[**Base and quote currency explained** Read a currency pair in the right direction, invert an exchange rate, and interpret the base and currency fields in an FX API response.Read guide](https://narwhalapi.com/guides/fx/base-and-quote-currency.md)
[**How currency conversion works** Convert an amount using an exchange rate, handle the reverse direction, and distinguish a reference conversion from a payout after fees.Read guide](https://narwhalapi.com/guides/fx/how-currency-conversion-works.md)
[**Exchange-rate precision and rounding** Keep decimal exchange rates accurate, round monetary results once, and understand half-even rounding with reproducible Python examples.Read guide](https://narwhalapi.com/guides/fx/exchange-rate-precision-and-rounding.md)
[**Cross rates explained** Calculate a currency cross rate from two rates with a shared base, check the direction, and avoid mismatched timestamps or rounding inputs too early.Read guide](https://narwhalapi.com/guides/fx/cross-rates-explained.md)
[**Exchange rate timestamps and freshness** Distinguish observation time from request time, read stale and market-session fields, and design a freshness check for an exchange-rate application.Read guide](https://narwhalapi.com/guides/fx/exchange-rate-timestamps-and-freshness.md)
[**How historical exchange rates work** How Narwhal returns real observation dates, sparse currencies, and bounded FX history pages.Read guide](https://narwhalapi.com/guides/fx/historical-exchange-rates.md)
[**How exchange-rate APIs handle weekends** How market session, timestamps, and stale state explain an FX rate when markets are closed.Read guide](https://narwhalapi.com/guides/fx/exchange-rates-on-weekends.md)

## About these guides

Each guide explains one part of the data: what a figure means, when it is released, or how to request it from the API.

Every guide shows when it was last updated and links to the sources it relies on.

## Get this data by API

Make one FX request

```
curl -H "Authorization: Bearer $NARWHAL_API_KEY" \
  "https://api.narwhalapi.com/v1/fx/rates/USD?currencies=EUR,JPY"
```

[Get a free API key](https://narwhalapi.com/signup)
[View API reference](https://narwhalapi.com/docs/api/fx.md)

## Common questions

Are the guides free to read?

Yes. Every guide is free to read without an account. You only need a free API key to call the API yourself.

Where does the data in the guides come from?

From the publishers named in each guide, such as national statistics offices, central banks and governments. Each guide links to its sources.

How often are the guides updated?

We update a guide when its source changes, for example a new release schedule or holiday list. Each guide shows the date it was last updated.

Can I get the same data through the API?

Yes. The figures and dates in the guides come from the same data the API serves. Every account gets $10 free every month.

## Start with a free key

Free $10 credits every month, no card.

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