Get exchange rates
Returns exchange rates blended across providers. Without date params, returns the latest rates. Each record is a single currency pair. The response includes an identity record for the base currency (base equals quote, rate 1), subject to the quotes filter like any other record. Daily date ranges of any length are served, including full history. Limit: requests using providers or expand=providers recompute the blend per date, so at daily granularity they return 422 for ranges longer than 5 years. With providers naming at most 5 providers, a quotes list of at most 5 currencies lifts the cap; without providers, expand=providers ranges compute every currency regardless of quotes, so aggregate with group=week or group=month, add providers, or split the range into shorter requests.
Query parameters
Specific date (YYYY-MM-DD). Cannot be combined with from/to.
Start of date range (YYYY-MM-DD)
End of date range (YYYY-MM-DD). Defaults to today.
Base currency (default: EUR)
Comma-separated list of quote currencies to include
Comma-separated list of data providers to include
Downsample rates by time period. Only applies to date ranges.
Comma-separated list of optional fields to include per record. Currently supports providers, which adds an array of { key, date, rate } objects per record showing each provider's individual observation date and rate. Outliers excluded from the blend (and providers whose rate was overridden by a currency peg) are flagged with excluded: true. The field is omitted on synthesized peg rows where no provider published the quote. In CSV output, the providers column is encoded as KEY:RATE pairs joined by |, with a trailing * on excluded entries (e.g. ECB:0.92|FED:1.50*).
Response
Exchange rates
Changes
Changed in 9 of the 29 revisions of this API.7717
- ○
added the non-success response with the status
503response-non-success-status-added
- ○
- ○
added the required property
items/providers/items/dateto the response with the200statusresponse-required-property-added
- ○
- ▲
the
items/providers/items/response's property type/format changed fromstring/toobject/for status200response-property-type-changed
- ○
added the optional property
items/providers/items/excludedto the response with the200statusresponse-optional-property-added
- ○
added the required property
items/providers/items/keyto the response with the200statusresponse-required-property-added
- ○
added the required property
items/providers/items/rateto the response with the200statusresponse-required-property-added
- ▲
- ○
added the new optional
queryrequest parameterexpandnew-optional-request-parameter
- ○
added the optional property
items/providersto the response with the200statusresponse-optional-property-added
- ○
- ▲
the response's body type/format changed from
object/tostring/for status200response-body-type-changed
- ▲
removed the required property
basefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
datefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
quotefrom the response with the200statusresponse-required-property-removed
- ▲
removed the required property
ratefrom the response with the200statusresponse-required-property-removed
- ▲
- ○
added the media type
application/x-ndjsonfor the response with the status200response-media-type-added
- ○
- ○
added the new optional
queryrequest parametergroupnew-optional-request-parameter
- ○
added the non-success response with the status
422response-non-success-status-added
- ○
removed the non-success response with the status
400response-non-success-status-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
deleted the
queryrequest parameterproviderrequest-parameter-removed
- ●
deleted the
queryrequest parametersymbolsrequest-parameter-removed
- ○
added the new optional
queryrequest parameterprovidersnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterquotesnew-optional-request-parameter
- ●
- ▲
removed the media type
application/x-ndjsonfor the response with the status200response-media-type-removed
- ●
deleted the
queryrequest parameterexpandrequest-parameter-removed
- ●
deleted the
queryrequest parametergrouprequest-parameter-removed
- ●
deleted the
queryrequest parameterprovidersrequest-parameter-removed
- ●
deleted the
queryrequest parameterquotesrequest-parameter-removed
- ●
removed the optional property
items/providersfrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional
queryrequest parameterprovidernew-optional-request-parameter
- ○
added the new optional
queryrequest parametersymbolsnew-optional-request-parameter
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
removed the non-success response with the status
422response-non-success-status-removed
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲