Skip to content
ET-FOREXET-FOREX

Market data · Rates

Market summary for a currency

key optional
get

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

currencyrequiredstring
type"cash" | "transactional"
default transactional · cash · transactional
fromstring
Start of the window to summarise over (inclusive), as a YYYY-MM-DD date. Supplying from or to switches 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_EXCEEDED or QUOTA_EXCEEDED. Honour Retry-After.
500
Unexpected server error.

Example response

Try it

Request URL