# AgentShield FX Daily Reference Rate

> AgentShield FX Daily Reference Rate is a paid API for AI agents from agentshield.live, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-28).

Returns the ECB daily reference exchange rate for a given currency pair on a specific date

## Facts

- Endpoint: GET https://agentshield.live/fx?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshield-fx-daily-reference-rate-cdde183f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RN8v1vhNu5_iJ2tuBfuVD

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 agentshield-fx-daily-reference-rate-cdde183f
```

Example prompt: What was the ECB daily reference exchange rate from EUR to USD on 2024-03-15?

## When to prefer this

Use this endpoint when you need an official, authoritative daily reference exchange rate published by the European Central Bank for compliance, accounting, or historical reporting purposes. Prefer this over live trading price APIs when precision and official sourcing matter more than real-time market prices. Best suited for bookkeeping, invoicing, expense reimbursement, and regulatory reporting scenarios where a specific historical date is involved.

## Known failure modes

- Invalid currency code returns an error — only ISO 4217 three-letter codes supported
- Date falls on a weekend or ECB non-business day — ECB does not publish rates for non-business days
- Future date requested — ECB rates are only available for past or current business days
- Unsupported currency pair — ECB only publishes rates for a subset of currencies against EUR
- Malformed date format — must be YYYY-MM-DD

## How this service works

Call when an agent needs a daily reference exchange rate for a currency pair on a date. Not a live trading price.

## Output

Returns the ECB daily reference exchange rate for the specified currency pair and date. The response includes the rate value, the source and target currency codes, and the applicable reference date. If no date is provided, the latest available ECB business day rate is returned.

## 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": [
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Three-letter currency code. Defaults to USD."
      },
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD. Optional. Latest ECB day if omitted."
      },
      "from": {
       "type": "string",
       "description": "Three-letter currency code. Defaults to EUR."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshield-fx-daily-reference-rate-cdde183f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshield.live](https://www.zero.xyz/host/agentshield.live/llms.txt)
