{"name":"European Central Bank Euro Reference Rates API","description":"Daily euro reference rates by currency from the European Central Bank.","api_id":"generated_e96901a30c6176093d371285","slug":"european-central-bank-euro-reference-rates-api","source":{"name":"European Central Bank","domain":"ecb.europa.eu","url":"https://www.ecb.europa.eu/"},"category":"public_data","countries":[],"languages":[],"record_types":[],"tags":[],"limitations":[],"updated":"2026-12-01","note":"Sample records are saved samples, not a live run. CleanedWeb is not affiliated with the source.","version":"2.0","versions":[{"major":2,"latest_minor":"2.0","status":"current","sunset_at":null},{"major":1,"latest_minor":"1.0","status":"deprecated","sunset_at":"2027-01-30T10:56:25.000Z"}],"changelog":[{"version":"2.0","date":"2026-12-01T10:56:25.000Z","kind":"major","changes":[{"code":"record_layout_changed","name":"","summary":"Records are now grouped: related fields sit under shared keys, so 8 field(s) have new paths (each listed below). Callers pinned to the previous major keep the previous shape until its sunset."},{"code":"field_moved","name":"currency.code","summary":"Field `currency_code` is now `currency.code`."},{"code":"field_moved","name":"currency.name","summary":"Field `currency_name` is now `currency.name`."},{"code":"field_moved","name":"rate.reference_date","summary":"Field `reference_date` is now `rate.reference_date`."},{"code":"field_moved","name":"rate.spot_rate","summary":"Field `spot_rate` is now `rate.spot_rate`."},{"code":"field_moved","name":"_page.skip_to","summary":"Field `skip_to` is now `_page.skip_to`."},{"code":"field_moved","name":"rate.calendar_values","summary":"Field `calendar_values` is now `rate.calendar_values`."},{"code":"field_moved","name":"_page.analyse_the_results_url","summary":"Field `analyse_the_results_url` is now `_page.analyse_the_results_url`."},{"code":"field_moved","name":"_page.analyse_the_results_items","summary":"Field `analyse_the_results_items` is now `_page.analyse_the_results_items`."}]},{"version":"1.0","date":"2026-11-29T09:56:41.000Z","kind":"major","changes":[]}],"version_note":"Pin a major with \"version\": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.","endpoints":[{"endpoint_id":"generated_e96901a30c6176093d371285_search","name":"List European Central Bank Euro Reference Rates","description":"Return records within the accepted scope.","definition_version":"7a41cb21975e1f2b4445210ec1e3fa7bbd8548fe5d5f1c473254d77da5323703","method":"POST","path":"/v1/catalog/public/apis/generated_e96901a30c6176093d371285/endpoints/generated_e96901a30c6176093d371285_search/run","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_e96901a30c6176093d371285/endpoints/generated_e96901a30c6176093d371285_search/run","authentication":{"type":"bearer","scheme":"Authorization: Bearer <API key>","scope":"run","note":"Reading this file and the live catalog needs no credential. A run needs a CleanedWeb account and uses the credits of its workspace.","docs":"https://cleanedweb.com/docs/run-catalog-api/"},"required_headers":[{"name":"Authorization","value":"Bearer YOUR_API_KEY","description":"An API key with the run scope."},{"name":"Idempotency-Key","value":"UNIQUE_REQUEST_ID","description":"Required. Save it before you send; reuse it only to retry the same request and to read the result. 1-200 characters: letters, numbers, . _ : -"},{"name":"Content-Type","value":"application/json","description":"The body is JSON."}],"request_body":{"input":"An object that follows input_schema.","max_items":"Optional. Stop after this many records.","timeout_seconds":"Optional, 60-86400, default 10800.","wait_seconds":"Optional, 0-86400, default 90. How long the request waits before answering 202.","version":"Optional integer major. Leave it out for the latest major."},"input_schema":{"type":"object","properties":{"enrich_records":{"type":"boolean","default":true,"description":"true: read each returned record's product/detail page and merge its fields into the record. false: return list/search-level fields only, with no detail page reads. Every returned record's detail page is read within the run's time budget; records the time budget leaves unread are returned without detail fields, and summary.record_enrichment reports how many records were enriched and why any were not (run_time_budget). Detail fields are optional."}},"required":[],"additionalProperties":false},"output_schema":{"type":"object","additionalProperties":false,"properties":{"currency":{"type":"object","properties":{"code":{"type":"string"},"name":{"type":"string"}},"additionalProperties":false},"rate":{"type":"object","properties":{"reference_date":{"type":"string"},"spot_rate":{"type":"number"},"calendar_values":{"type":"array","items":{"type":"object","additionalProperties":{"type":["string","boolean","number"]}},"description":"Calendar values"}},"additionalProperties":false},"title":{"type":"string"},"url":{"type":"string","format":"uri"},"_page":{"type":"object","properties":{"skip_to":{"type":"string","description":"Skip to"},"analyse_the_results_url":{"type":"array","items":{"type":"string"},"description":"analyse the results url"},"analyse_the_results_items":{"type":"array","items":{"type":"object","additionalProperties":{"type":["string","number","boolean","array"],"items":{"type":"string"}}},"description":"analyse the results"}},"additionalProperties":false}},"required":["title","url"]},"examples":[{"kind":"saved_validation_records","saved_at":"2026-12-01T10:56:25.425Z","live_verified":false,"request":{"input":{}},"records_shown":2,"records_saved":2,"records":[{"_page":{"analyse_the_results_url":["https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/usd.xml","https://www.ecb.europa.eu/rss/fxref-usd.html"],"skip_to":"navigation content footer"},"rate":{"reference_date":"27 November 2026","spot_rate":1.0957},"currency":{"code":"USD","name":"US dollar"},"title":"USD","url":"https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/eurofxref-graph-usd.en.html"},{"_page":{"analyse_the_results_url":["https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/jpy.xml","https://www.ecb.europa.eu/rss/fxref-jpy.html"],"skip_to":"navigation content footer"},"rate":{"reference_date":"27 November 2026","spot_rate":174.81},"currency":{"code":"JPY","name":"Japanese yen"},"title":"JPY","url":"https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/eurofxref-graph-jpy.en.html"}]}],"request_example":{"body":{"input":{},"version":2,"max_items":25},"curl":"curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_e96901a30c6176093d371285/endpoints/generated_e96901a30c6176093d371285_search/run \\\n  -H \"Authorization: Bearer YOUR_API_KEY\" \\\n  -H \"Idempotency-Key: UNIQUE_REQUEST_ID\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n  \"input\": {},\n  \"version\": 2,\n  \"max_items\": 25\n}'"},"result":{"method":"GET","url":"https://api.cleanedweb.com/v1/catalog/public/apis/generated_e96901a30c6176093d371285/endpoints/generated_e96901a30c6176093d371285_search/result","note":"A run that does not end within wait_seconds answers 202. Read the result with the same API key and the same Idempotency-Key."},"links":{"page":"https://cleanedweb.com/catalog/european-central-bank-euro-reference-rates-api/","markdown":"https://cleanedweb.com/catalog/european-central-bank-euro-reference-rates-api/index.md","live_contract":"https://app.cleanedweb.com/api/catalog/apis/generated_e96901a30c6176093d371285/endpoints/generated_e96901a30c6176093d371285_search/contract","run_docs":"https://cleanedweb.com/docs/run-catalog-api/"}}],"links":{"page":"https://cleanedweb.com/catalog/european-central-bank-euro-reference-rates-api/","markdown":"https://cleanedweb.com/catalog/european-central-bank-euro-reference-rates-api/index.md","contract":"https://cleanedweb.com/catalog/european-central-bank-euro-reference-rates-api/contract.json","catalog":"https://cleanedweb.com/catalog/","index":"https://cleanedweb.com/catalog/index.json","openapi":"https://cleanedweb.com/catalog/openapi.json"}}
