# Forex Spot Rate — Single Currency Pair (Yahoo Finance, Delayed)

> Forex Spot Rate — Single Currency Pair (Yahoo Finance, Delayed) is a paid API for AI agents from finance-api.kdlcfa.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the current delayed spot exchange rate for a single specified forex currency pair, sourced via Yahoo Finance.

## Facts

- Endpoint: GET https://finance-api.kdlcfa.workers.dev/forex-rate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forex-spot-rate-single-currency-pair-yahoo-finance-delayed-661e870c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3h4CNG17bP_QDXAOGSaIO

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 forex-spot-rate-single-currency-pair-yahoo-finance-delayed-661e870c
```

Example prompt: What's the current delayed spot rate for EUR/USD from Yahoo Finance?

## When to prefer this

Use this endpoint when you need a quick, low-cost delayed spot rate for a single specific forex pair from the supported set (EURUSD, GBPUSD, USDJPY, USDCNY, AUDUSD, USDCAD, USDCHF, USDVND). If you need multiple pairs in one call, prefer the multi-pair snapshot sibling endpoint to reduce total cost and latency. Best suited for lightweight lookup use cases — not for real-time trading systems requiring live tick data.

## Known failure modes

- Missing 'pair' query parameter — API returns an error requiring the param
- Invalid or unsupported currency pair provided — only 8 pairs are supported (EURUSD, GBPUSD, USDJPY, USDCNY, AUDUSD, USDCAD, USDCHF, USDVND)
- Yahoo Finance upstream outage or rate-limiting — endpoint may return an error or stale data
- Payment not provided or rejected — x402 payment required before data is returned
- Network timeout from the Cloudflare Worker

## How this service works

Single forex currency pair spot rate, delayed, via Yahoo Finance. Requires 'pair' query param, one of: EURUSD, GBPUSD, USDJPY, USDCNY, AUDUSD, USDCAD, USDCHF, USDVND

## Output

Returns the delayed spot exchange rate for the requested currency pair, including the rate value and associated metadata such as the pair symbol and timestamp, sourced from Yahoo Finance.

## 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": [
      "queryParams"
     ],
     "properties": {
      "queryParams": {
       "type": "object",
       "required": [
        "pair"
       ],
       "properties": {
        "pair": {
         "enum": [
          "EURUSD",
          "GBPUSD",
          "USDJPY",
          "USDCNY",
          "AUDUSD",
          "USDCAD",
          "USDCHF",
          "USDVND"
         ],
         "type": "string"
        }
       }
      }
     }
    }
   },
   "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/forex-spot-rate-single-currency-pair-yahoo-finance-delayed-661e870c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from finance-api.kdlcfa.workers.dev](https://www.zero.xyz/host/finance-api.kdlcfa.workers.dev/llms.txt)
