# Agent Data API – FX & Crypto Price Lookup

> Agent Data API – FX & Crypto Price Lookup is a paid API for AI agents from agent-data-api-ui1c.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns real-time foreign exchange and cryptocurrency prices for a given base currency against one or more target currencies, with optional amount conversion.

## Facts

- Endpoint: GET https://agent-data-api-ui1c.onrender.com/fx
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-api-fx-crypto-price-lookup-76423d39
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CXcyY5epc0M-l2q2Ko9w0

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-data-api-fx-crypto-price-lookup-76423d39
```

Example prompt: What's the current exchange rate for USD against EUR, GBP, and JPY? Also, how much would 250 USD convert to in each of those currencies?

## When to prefer this

Choose this endpoint when an AI agent needs real-time FX or crypto exchange rates paid microtransactionally per call via USDC/x402, without requiring API key setup or subscriptions. Ideal for lightweight, on-demand currency queries within agent workflows that already support x402 payment.

## Known failure modes

- Invalid or unsupported 3-letter currency code returns an error
- Missing base currency parameter results in a 400 bad request
- Payment failure via x402 protocol (insufficient USDC funds) blocks the request
- Network timeout if the upstream FX data provider is unavailable
- Requesting an unsupported crypto symbol may return empty or error response

## How this service works

Pay-per-call data services for AI agents: web extraction (text, Markdown, metadata), PDF-to-text, RSS/Atom parsing, FX and crypto prices, weather, DNS and email validation. All paid endpoints use the x402 payment protocol (USDC).

## Output

Returns current exchange rates for the specified base currency against one or more target currencies, and optionally the converted value of a given amount. Response includes rate data per currency pair.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "base": {
   "type": "string",
   "description": "Base currency (3-letter code)"
  },
  "amount": {
   "type": "string",
   "description": "Optional amount to convert"
  },
  "symbols": {
   "type": "string",
   "description": "Comma-separated target currencies"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-api-fx-crypto-price-lookup-76423d39/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-api-ui1c.onrender.com](https://www.zero.xyz/host/agent-data-api-ui1c.onrender.com/llms.txt)
