# FX Foreign Exchange Rates

> FX Foreign Exchange Rates is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns current foreign exchange rates for a given base currency (e.g. USD)

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net/data/fx
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fx-foreign-exchange-rates-142ded75
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6SNtIZVYR79p3mQJzB-zR

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 fx-foreign-exchange-rates-142ded75
```

Example prompt: What are the current foreign exchange rates using USD as the base currency?

## When to prefer this

Use this endpoint when you need lightweight, fast, real-time FX rate lookups for a given base currency without needing complex financial data. Ideal for currency conversion calculations, portfolio valuation, or invoicing workflows where current spot rates suffice.

## Known failure modes

- Invalid or unsupported base currency code returns an error or empty rates
- Stale rates if upstream FX data provider is delayed
- Network timeout or service unavailability returns HTTP error
- Missing base parameter may default to a currency or return an error

## How this service works

Foreign exchange rates. ?base=USD

## Output

Returns a set of exchange rates relative to the specified base currency (e.g. USD), with currency codes as keys and conversion rates as values, reflecting current market prices.

## 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"
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fx-foreign-exchange-rates-142ded75/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net/llms.txt)
