Market data · Conversion
Convert an amount between currencies
key optionalget
Converts to/from ETB (or across two currencies via ETB). Direction is handled for you: converting to ETB uses the bank buying rate, from ETB the selling rate. With no bank, the most favourable is used.
Query parameters
fromrequiredstring- Currency to convert from — a 3-letter ISO code, or
ETB. This is a currency, not a date: the date-rangefrombelongs to/rates/historyand/rates/series. torequiredstring- Currency to convert to — a 3-letter ISO code, or
ETB. amountrequirednumber- Amount of the source currency.
bankstring- Bank to price against. Omitted uses the most favourable bank.
type"cash" | "transactional"- default transactional · cash · transactional
Responses
- 200
- Convert an amount between currencies
- 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