# Penny Data FX Reference Rate Lookup

> Penny Data FX Reference Rate Lookup is a paid API for AI agents from pennydatahq.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-31).

Returns the ECB euro foreign exchange reference rate for a given currency against EUR, paid per call in USDC via x402.

## Facts

- Endpoint: GET https://pennydatahq.com/api/fx/%7Bcurrency%7D?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/penny-data-fx-reference-rate-lookup-2b219e78
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x350SABoloqWY-AfbVdoS

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 penny-data-fx-reference-rate-lookup-2b219e78
```

Example prompt: What's the ECB official euro reference rate for USD today? Just give me the rate and date from Penny Data.

## When to prefer this

Choose this endpoint when you need an official, authoritative ECB euro foreign exchange reference rate for a single currency, without needing an API key or account — particularly in automated agent workflows that can pay per call in USDC via x402. Prefer this over bank or broker FX feeds when regulatory-grade ECB reference rates are required for reporting or compliance purposes.

## Known failure modes

- Unsupported or misspelled currency code returns an error or empty result
- ECB has not yet published today's rate (rates published on business days only), so weekend/holiday queries may return previous business day data
- Payment failure via x402 prevents the call from completing
- Network timeout reaching pennydatahq.com

## How this service works

Penny Data: pay-per-call data for AI agents. UK Company Lookup, UK Postcode Lookup, UK Company Filing History, LEI Lookup, GB Carbon Intensity, ECB Euro Reference Rate, UK Food Hygiene Ratings, US Company Filings by CIK, Country Profile, US Weather Alerts, UK Company Brief and Australian Company Lookup, as JSON, paid per call in USDC on Base with x402. No API key or account.

## Output

A JSON object containing the base currency (EUR), the target currency code and name, the ECB reference rate as a decimal number, the publication date, and a data-source notice citing ECB statistics.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "EUR",
  "date": "2026-10-26",
  "rate": 1.1188,
  "notice": "Source: ECB statistics (euro foreign exchange reference rates), unmodified. This data is available free of charge at https://www.ecb.europa.eu. Published by the ECB for information purposes only; not for transaction purposes.",
  "currency": "USD",
  "currency_name": "US dollar"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/penny-data-fx-reference-rate-lookup-2b219e78/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennydatahq.com](https://www.zero.xyz/host/pennydatahq.com/llms.txt)
