Market data · Rates
Market summary for a currency
key optionalget
Min / max / average / median of the buying and selling rates across banks. With no date range it is a one-call snapshot of the latest board, open to anonymous callers. Supplying from/to aggregates over that historical window instead and requires an API key, capped at your plan's history depth.
Query parameters
currencyrequiredstringtype"cash" | "transactional"- default transactional · cash · transactional
fromstring- Start of the window to summarise over (inclusive), as a YYYY-MM-DD date. Supplying
fromortoswitches from the latest snapshot to a historical aggregate and requires an API key; how far back you may reach is set by your plan. tostring- End of the window to summarise over (inclusive), as a YYYY-MM-DD date.
Responses
- 200
- Market summary for a currency
- 400
- Invalid request —
VALIDATION_ERROR. - 401
- Missing, invalid, revoked or expired credential.
- 403
- Authenticated but not entitled — the plan does not include this endpoint or feature.
- 429
- Rate limit or monthly quota exceeded —
RATE_LIMIT_EXCEEDEDorQUOTA_EXCEEDED. HonourRetry-After. - 500
- Unexpected server error.
Example response
Try it
Request URL