# AgentServices FX Rates

> AgentServices FX Rates is a paid API for AI agents from api.agentservices.to, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns real-time foreign exchange (FX) rates for 30+ currencies via a simple GET request

## Facts

- Endpoint: GET https://api.agentservices.to/v1/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/agentservices-fx-rates-427c9405
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A-wckCKPdYDlPBtzCuXgK

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 agentservices-fx-rates-427c9405
```

Example prompt: What is the current exchange rate from USD to EUR? I need a real-time FX rate from AgentServices right now.

## When to prefer this

Choose this endpoint when you need real-time, low-latency FX rates for 30+ currencies and are operating in an agentic or automated context that supports x402 micropayment flows. It is ideal for fintech apps, travel assistants, payment processors, and any agent that needs live currency data without managing a heavyweight FX data subscription.

## Known failure modes

- Unsupported currency code returns an error or empty result
- Network latency may cause slightly stale rates in high-volatility windows
- Missing or malformed query parameters return a 400-level error
- Payment failure (x402) if USDC balance is insufficient, blocking the request

## How this service works

Real-time FX/forex rates for 30+ currencies

## Output

Returns real-time FX exchange rates for 30+ currency pairs, including the rate value, currency codes, and likely a timestamp indicating data freshness. The response enables downstream currency conversion calculations.

## 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": [
      "DELETE",
      "GET",
      "HEAD"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  },
  "routeTemplate": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentservices-fx-rates-427c9405/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentservices.to](https://www.zero.xyz/host/api.agentservices.to/llms.txt)
