# FX Foreign Exchange Rates

> FX Foreign Exchange Rates is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net:10000, 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

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net:10000/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-9207ba91
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sWa5qo1bE1gOZ0Mbrq-sK

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-9207ba91
```

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

## When to prefer this

Use this endpoint when you need quick, low-cost FX rate lookups for a given base currency. Ideal for agents doing currency conversion, financial calculations, invoice pricing, or portfolio valuation. At $0.003 per call it is cost-effective for frequent polling. Choose this over more complex FX APIs when you only need current spot rates and don't require historical data or advanced currency analytics.

## Known failure modes

- Invalid or unsupported base currency code returns an error or empty rates object
- Network timeout or service unavailability returns a connection error
- Missing base parameter may default to USD or return an error depending on implementation
- Stale rates if the underlying data source hasn't refreshed recently

## How this service works

Foreign exchange rates. ?base=USD

## Output

A JSON object containing foreign exchange rates for various currencies relative to the specified base currency (e.g. USD). Each currency code maps to its exchange rate value as a float.

## 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-9207ba91/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net:10000](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net%3A10000/llms.txt)
