How exchange-rate APIs handle weekends

How market session, timestamps, and stale state explain an FX rate when markets are closed.

Market session is context

The response marks the market as open, weekend, or interbank closed. That state applies to the response as a whole.

Freshness belongs to each rate

Currencies can have different effective times. Each rate therefore keeps its own timestamp and stale flag.

Your application decides

Use the market session, timestamp, and stale state together. Do not replace a missing rate or remove its time context.

Published . Last reviewed .

Go to the exact reference