OP FX Fixing Rates API (1.0.0)
Download OpenAPI specification:Download
OP FX Fixing Rates API allows you to retrieve European Central Bank (ECB) counter currency fixing rates. In cases
when ECB is not publishing a fixing rate, an equivalent mid rate through OP is returned.
The fixing rates should be used for accounting valuation purposes, for example. The service cannot be used for commercial customer transactions.
Currently the API is in the development phase, so any feedback you may have at this stage would be most welcome.
The comments and questions may be sent to corp-payment-APIs@op.fi.
The API will be published in the sandbox and production environments in early 2023.
Get fixing rates
Returns the requested and available ECB fixing rate(s) as EUR currency pairs with related counter currency rates. In cases where ECB is not publishing a fixing rate, an equivalent mid rate through OP is returned.
Authorizations:
query Parameters
targetCurrency | string Examples:
Currency code for which the counter currency fixing rate will be retrieved. If the value is left empty, fixing rates will be returned for all available currencies. |
date | string Examples:
The date of the requested quote value (yyyyMMdd). If empty, the latest rates available will be returned. |
header Parameters
x-api-key required | string Example: 6c18c234b1b18b1d97c7043e2e41135c293d0da9 API key |
x-request-id required | string <uuid> Unique identifier for a specific request. Used for debugging purposes |
x-session-id | string <uuid> Session identifier for in-memory data |
Responses
Response samples
- 200
- 400
- 500
[- {
- "date": "2022-12-01",
- "targetCurrency": "GBP",
- "rate": 1.4059
}
]