Use when an agent needs the ECB euro reference rate for a currency pair on a dat
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).
Answeringour last check, 2026-11-26
7 of 7checks answered this week
512 msmedian answer time
$0.003listed price per call
$0.003price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://agent-utils.threads-cron.workers.dev/v1/fx/ecb
| Category | Market data |
|---|---|
| Provider host | agent-utils.threads-cron.workers.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 8 from 6 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.003 | 512 ms |
| 2026-11-25 | valid payment request | 402 | $0.003 | 555 ms |
| 2026-11-24 | valid payment request | 402 | $0.003 | 564 ms |
| 2026-11-23 | valid payment request | 402 | $0.003 | 477 ms |
| 2026-11-22 | valid payment request | 402 | $0.003 | 465 ms |
| 2026-11-21 | valid payment request | 402 | $0.003 | 508 ms |
| 2026-11-20 | valid payment request | 402 | $0.003 | 513 ms |
| 2026-11-19 | valid payment request | 402 | $0.003 | 479 ms |
| 2026-11-18 | valid payment request | 402 | $0.003 | 448 ms |
| 2026-11-17 | valid payment request | 402 | $0.003 | 500 ms |
| 2026-11-16 | valid payment request | 402 | $0.003 | 362 ms |
Example input (from the provider)
{
"body": {
"amount": "100",
"date": "2026-11-05",
"from": "USD",
"to": "JPY"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$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"
}