← Market

Fx · Ecb

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).

POST https://agent-utils.threads-cron.workers.dev/v1/fx/ecb

0.003 USDC on Base · payTo 0xb1d2447110efE7cbb280a7BA0AECb3b85EEc7f5D

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: direct to the seller's payTo — 0% HIVE402 take

Payment routes

Base · 0.003 USDC · payTo 0xb1d2447110efE7cbb280a7BA0AECb3b85EEc7f5D · via cdp · settles direct
{
  "amount": "100",
  "date": "2026-11-05",
  "from": "USD",
  "to": "JPY"
}
{
  "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"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score70 / 100 · breakdown
Probe uptime (30d)100.0% over 1 probes · daily
Avg 402 latency531 ms
Paid calls (30d, on-chain)8 calls · 4 buyers · shared price cohort of 3
Facilitator-reported (30d)6 calls · 4 payers (CDP Bazaar)

How to call

POST https://agent-utils.threads-cron.workers.dev/v1/fx/ecb · input in body · spec from live-challenge

Input schema
{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3,
      "description": "Source currency code (EUR or an ECB-published currency, e.g. USD). See GET / for the list."
    },
    "to": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3,
      "description": "Target currency code."
    },
    "date": {
      "type": "string",
      "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."
    },
    "amount": {
      "type": [
        "string",
        "number"
      ],
      "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)."
    }
  },
  "required": [
    "from",
    "to"
  ],
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "description": "Source currency code (normalized to upper case)"
    },
    "to": {
      "type": "string",
      "description": "Target currency code"
    },
    "rate": {
      "type": "number",
      "description": "Units of 'to' per 1 unit of 'from', rounded to 10 significant digits"
    },
    "amount": {
      "type": [
        "number",
        "null"
      ],
      "description": "The amount that was converted, if given"
    },
    "converted": {
      "type": [
        "number",
        "null"
      ],
      "description": "amount x rate rounded half-up to 6 decimals, if amount was given (an IEEE double; see convertedText for the exact decimal)"
    },
    "convertedText": {
      "type": [
        "string",
        "null"
      ],
      "description": "converted as an exact decimal string with 6 decimals"
    },
    "date": {
      "type": "string",
      "description": "ECB publication date actually used (YYYY-MM-DD)"
    },
    "requestedDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date asked for, or null for the latest"
    },
    "fallback": {
      "type": "boolean",
      "description": "true only if the requested date was a weekend, TARGET holiday or not yet published, so the previous publication day was used"
    },
    "source": {
      "type": "string",
      "description": "Data source name"
    },
    "sourceUrl": {
      "type": "string",
      "description": "ECB reference rates page"
    },
    "attribution": {
      "type": "string",
      "description": "Source credit; the original data is free from the ECB"
    },
    "note": {
      "type": "string",
      "description": "Information-only notice and the processing done by this API (inversion, cross rates, rounding)"
    }
  },
  "required": [
    "from",
    "to",
    "rate",
    "amount",
    "converted",
    "convertedText",
    "date",
    "requestedDate",
    "fallback",
    "source",
    "sourceUrl",
    "attribution",
    "note"
  ]
}
curl -i -X POST 'https://agent-utils.threads-cron.workers.dev/v1/fx/ecb' \
  -H 'content-type: application/json' -d '{"from":"USD","to":"JPY","date":"2026-11-05","amount":"100"}'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)