# ScrapeMole Pulse – ECB FX Historical Rates

> ScrapeMole Pulse – ECB FX Historical Rates is a paid API for AI agents from pulse.scrapemole.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Returns ECB official exchange rate time series for one or more currency pairs over a specified date range, including per-currency statistics.

## Facts

- Endpoint: GET https://pulse.scrapemole.workers.dev/v1/fx/history?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapemole-pulse-ecb-fx-historical-rates-e5749581
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5j3aStSuJRwtsqNPGTmbu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scrapemole-pulse-ecb-fx-historical-rates-e5749581
```

Example prompt: Pull the official ECB historical exchange rates for EUR and GBP against USD from September 1 to October 9, 2026 — I need the daily series plus the min, max, and percentage change stats for each currency.

## When to prefer this

Choose this endpoint when you need official ECB reference rates over a date range rather than a single day — especially for trend analysis, reporting, or reconciliation. Prefer it over live FX APIs when regulatory or audit-grade sourcing (ECB) is required and rates are for reference, not transaction execution. Ideal when you need per-currency statistics (min/max/changePct) alongside the raw series without post-processing.

## Known failure modes

- Missing required 'start' or 'symbols' query parameters returns a 400 error
- Invalid date format (not YYYY-MM-DD) causes a parsing error
- Requesting more than 10 symbols exceeds the documented limit
- Date range with no ECB data (e.g. weekends only, or future dates) may return empty series
- Payment not settled (402) if USDC/x402 payment header is missing or insufficient
- Unknown currency codes return empty or partial rate data

## How this service works

Pay-per-call "state of the world" lookups that language models cannot know on their own: official ECB exchange rates (latest, historical, conversion), the current time and DST-aware time-zone conversion for scheduling, global weather forecasts (MET Norway, by coordinates or place name) and the live Hacker News front page. Public, non-personal data with sources and licences in every response. USDC via x402, no accounts.

Payments: x402 v2, scheme "exact", USDC on Base (eip155:8453). The payment is verified before the work and settled only when the response is 200. Terms: https://pulse.scrapemole.workers.dev/terms

## Output

A JSON object containing: the base currency, start/end dates, number of days, a chronological array of daily rate objects (date + rates per symbol), per-symbol statistics (min, max, first, last, changePct), a note about ECB publication timing, and full source attribution with URL.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "start",
      "symbols"
     ],
     "properties": {
      "end": {
       "type": "string",
       "description": "End date YYYY-MM-DD (default today)."
      },
      "base": {
       "type": "string",
       "default": "EUR",
       "examples": [
        "USD"
       ],
       "description": "Base currency."
      },
      "start": {
       "type": "string",
       "examples": [
        "2026-09-01"
       ],
       "description": "Start date YYYY-MM-DD."
      },
      "symbols": {
       "type": "string",
       "examples": [
        "EUR,GBP"
       ],
       "description": "Comma-separated currencies (max 10)."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "end": "2026-10-09",
  "base": "USD",
  "days": 28,
  "note": "ECB reference rates are published around 16:00 CET on TARGET working days; they are for information, not for transactions.",
  "start": "2026-09-01",
  "stats": {
   "EUR": {
    "max": 0.9055,
    "min": 0.8899,
    "last": 0.8924,
    "first": 0.9012,
    "changePct": -0.98
   }
  },
  "series": [
   {
    "date": "2026-09-01",
    "rates": {
     "EUR": 0.9012,
     "GBP": 0.7655
    }
   }
  ],
  "source": "European Central Bank euro foreign exchange reference rates (via Frankfurter, https://frankfurter.dev)",
  "sourceUrl": "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapemole-pulse-ecb-fx-historical-rates-e5749581/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pulse.scrapemole.workers.dev](https://www.zero.xyz/host/pulse.scrapemole.workers.dev/llms.txt)
