# AgentServices FX — Foreign Exchange Rate Lookup

> AgentServices FX — Foreign Exchange Rate Lookup is a paid API for AI agents from agentservices.to, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns current foreign exchange (FX) rates for a given base currency, paid via x402 micropayment on Base.

## Facts

- Endpoint: GET https://agentservices.to/v1/fx
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentservices-fx-foreign-exchange-rate-lookup-b26ea229
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mCYaP2TLLbGk-PyZ-VFdW

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-foreign-exchange-rate-lookup-b26ea229
```

Example prompt: What's the current exchange rate for USD against all major currencies? Use the AgentServices FX endpoint with USD as the base.

## When to prefer this

Choose this endpoint when your agent needs live FX rates for a specific base currency and can pay via x402 micropayments on Base. It is well-suited for agents doing cross-border payment calculations, multi-currency accounting, or real-time currency conversion in finance or DeFi workflows where sub-cent per-call pricing is attractive.

## Known failure modes

- Missing or invalid base currency code returns an error or empty response
- Unsupported currency codes may return no data
- Payment failure via x402 results in 402 response and no data returned
- Network or upstream data provider outage causes delayed or failed response

## How this service works

Paid data APIs for AI agents. Crypto market data, DeFi yields, IP geolocation, dispute resolution, marketing intelligence. Powered by x402 micropayments on Base.

## Output

A JSON object containing current exchange rates relative to the specified base currency, with currency codes as keys and their rates as values.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "base": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentservices-fx-foreign-exchange-rate-lookup-b26ea229/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentservices.to](https://www.zero.xyz/host/agentservices.to/llms.txt)
