# Orchard Data FX Rates

> Orchard Data FX Rates is a paid API for AI agents from orchard-data.letom1176.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Returns current foreign exchange rates for major currency pairs relative to a specified base currency

## Facts

- Endpoint: GET https://orchard-data.letom1176.workers.dev/api/fx-rates?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orchard-data-fx-rates-9cf1f5fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pgEerSGtm8hL4dJlB8gDV

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 orchard-data-fx-rates-9cf1f5fd
```

Example prompt: What are today's FX rates for major currencies like EUR, GBP, and JPY with USD as the base?

## When to prefer this

Choose this endpoint when you need a lightweight, per-call FX rate lookup for major currency pairs and are already operating within an x402/USDC micropayment infrastructure. Ideal for AI agents that need occasional forex data without committing to a subscription-based currency API. Best for scenarios involving USD, EUR, GBP, or JPY conversions.

## Known failure modes

- Invalid or unsupported base currency code returns an error
- Payment failure via x402 (insufficient USDC balance) results in 402 response blocking data
- Stale or unavailable upstream rate data may return outdated values
- Missing required 'base' query parameter may default to USD or return an error

## How this service works

Market data and agent tools (web-read, email-verify, token-check) for AI agents, paid per-call via x402 (USDC on Base). Free index at /, free spec here.

## Output

A JSON object containing the base currency, the date of the rates, and exchange rates for major currency pairs (EUR, GBP, JPY and potentially others) expressed as decimal values relative to the base currency.

## 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",
     "properties": {
      "base": {
       "type": "string",
       "description": "Base currency, e.g. USD or EUR"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "base": "USD",
  "date": "2026-10-15",
  "majors": {
   "EUR": 0.8922,
   "GBP": 0.7549,
   "JPY": 157.98
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orchard-data-fx-rates-9cf1f5fd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orchard-data.letom1176.workers.dev](https://www.zero.xyz/host/orchard-data.letom1176.workers.dev/llms.txt)
