# Agent Hub FX Rates & Conversion

> Agent Hub FX Rates & Conversion is a paid API for AI agents from agents.torbrooknews.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Returns live ECB reference foreign-exchange rates for 30+ currencies, with optional currency conversion for a specified amount.

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/fx?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-hub-fx-rates-conversion-15cce01d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qRAu1WPBb4bbG1yvanQOA

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 agent-hub-fx-rates-conversion-15cce01d
```

Example prompt: What's the current ECB reference exchange rate from USD to EUR and GBP, and how much would 250 dollars be in each?

## When to prefer this

Choose this endpoint when you need official ECB reference exchange rates for 30+ currencies, especially for financial reporting, invoicing, or compliance use cases where ECB rates are authoritative. It supports multi-currency lookups and optional amount conversion in a single call, making it efficient for portfolio or travel use cases. Prefer this over a generic FX API when ECB reference rates specifically are required.

## Known failure modes

- Unsupported or invalid ISO currency code returns an error or empty rate
- ECB rates are only updated on business days — weekends/holidays return last available rates
- Missing required base currency may default to USD or return a validation error
- Network or upstream ECB feed outage may cause stale or unavailable data
- Requesting too many symbols in a single call may result in truncated results

## How this service works

Live foreign-exchange rates (ECB reference, 30+ currencies) and conversion. Query base, symbols and an optional amount.

## Output

Returns live ECB reference exchange rates for the requested currency pair(s). If an amount is provided, also returns the converted value. Includes the base currency, target currency symbols, their rates, and typically a timestamp reflecting when the ECB last updated the rates.

## 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": "ISO code, default USD"
      },
      "amount": {
       "type": "number"
      },
      "symbols": {
       "type": "string",
       "description": "Comma list, e.g. EUR,CAD"
      }
     }
    }
   },
   "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/agent-hub-fx-rates-conversion-15cce01d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.torbrooknews.com](https://www.zero.xyz/host/agents.torbrooknews.com/llms.txt)
