{"partialResults":false,"resources":[{"accepts":[{"amount":"3000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0xb1d2447110efE7cbb280a7BA0AECb3b85EEc7f5D","scheme":"exact"}],"description":"Use when an agent needs the ECB euro reference rate for a currency pair on a date (default latest), optionally converting an amount (max 1e9, 6 decimals). 29 currencies + EUR from 1999-01-04. Inverse/cross rates via EUR are calculated here and rounded (rate 10 significant digits, converted 6 decimals). Information only; original data free at ecb.europa.eu. No charge: 400, 404 no rate, 405, 429; 502/503 (incl. stale data).","extensions":{"bazaar":{"info":{"input":{"body":{"amount":"100","date":"2026-11-05","from":"USD","to":"JPY"},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"amount":100,"attribution":"Source: European Central Bank (ECB), euro foreign exchange reference rates. The original data is available free of charge from the ECB website: https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html","converted":15845.50962,"convertedText":"15845.509620","date":"2026-11-05","fallback":false,"from":"USD","note":"ECB reference rates are for information purposes only; the ECB strongly discourages using them for transactions. Processing by this API (not published by the ECB): rates are the ECB euro reference rates, inverted (X to EUR = 1 / rate) and combined through EUR for cross rates, and the result is rounded to 10 significant digits; converted = amount x rate (the rounded rate), rounded half-up to 6 decimals.","rate":158.4550962,"requestedDate":"2026-11-05","source":"ECB euro foreign exchange reference rates","sourceUrl":"https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html","to":"JPY"},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"amount":{"description":"Optional amount to convert from 'from' to 'to': greater than 0, at most 1000000000, at most 6 decimals (a number or a decimal string).","type":["string","number"]},"date":{"description":"Optional YYYY-MM-DD, from 1999-01-04 up to today (UTC). Weekends, TARGET holidays and times before publication use the previous publication day (fallback:true). Omit for the latest.","type":"string"},"from":{"description":"Source currency code (EUR or an ECB-published currency, e.g. USD). See GET / for the list.","maxLength":3,"minLength":3,"type":"string"},"to":{"description":"Target currency code.","maxLength":3,"minLength":3,"type":"string"}},"required":["from","to"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"properties":{"amount":{"description":"The amount that was converted, if given","type":["number","null"]},"attribution":{"description":"Source credit; the original data is free from the ECB","type":"string"},"converted":{"description":"amount x rate rounded half-up to 6 decimals, if amount was given (an IEEE double; see convertedText for the exact decimal)","type":["number","null"]},"convertedText":{"description":"converted as an exact decimal string with 6 decimals","type":["string","null"]},"date":{"description":"ECB publication date actually used (YYYY-MM-DD)","type":"string"},"fallback":{"description":"true only if the requested date was a weekend, TARGET holiday or not yet published, so the previous publication day was used","type":"boolean"},"from":{"description":"Source currency code (normalized to upper case)","type":"string"},"note":{"description":"Information-only notice and the processing done by this API (inversion, cross rates, rounding)","type":"string"},"rate":{"description":"Units of 'to' per 1 unit of 'from', rounded to 10 significant digits","type":"number"},"requestedDate":{"description":"The date asked for, or null for the latest","type":["string","null"]},"source":{"description":"Data source name","type":"string"},"sourceUrl":{"description":"ECB reference rates page","type":"string"},"to":{"description":"Target currency code","type":"string"}},"required":["from","to","rate","amount","converted","convertedText","date","requestedDate","fallback","source","sourceUrl","attribution","note"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-11-28T17:19:07.042Z","quality":{"l30DaysTotalCalls":9,"l30DaysUniquePayers":7,"lastCalledAt":"2026-11-28T17:19:06.736Z"},"resource":"https://agent-utils.threads-cron.workers.dev/v1/fx/ecb","serviceName":"ECB FX Reference Rates","tags":["fx","exchange-rate","ecb","currency","finance"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"meq2whag5c7wkaa"}}
