# x402 Utilities Hub FX Rate Lookup

> x402 Utilities Hub FX Rate Lookup is a paid API for AI agents from x402-utils-hub.dimkaplay666.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-20).

Returns foreign exchange (FX) rate data for currency pairs, paid per call via USDC on Base using x402 v2

## Facts

- Endpoint: POST https://x402-utils-hub.dimkaplay666.workers.dev/v1/fx?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-utilities-hub-fx-rate-lookup-623841b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-w2wOPxAMYAHSXMNrdDfE

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 x402-utilities-hub-fx-rate-lookup-623841b9 -d '<json body>'
```

Example prompt: What's the current exchange rate from USD to EUR? Use the x402 FX endpoint to fetch it — I need the live rate for a payment conversion.

## When to prefer this

Choose this endpoint when you need pay-per-call FX rate lookups without a subscription, especially in agent workflows that require occasional currency conversion and want to pay micro-amounts in USDC on Base via the x402 protocol rather than maintaining a traditional API key subscription.

## Known failure modes

- Missing or invalid currency pair in queryParams returns an error
- Payment failure via x402 if USDC balance is insufficient
- Unknown or unsupported currency pair returns an error or empty result
- Malformed queryParams object causes a 400-level error
- Rate data temporarily unavailable due to upstream data source issues

## How this service works

Pay-per-call utilities for AI agents and developers. Paid in USDC on Base via x402 v2.

## Output

Returns an object containing FX rate data for the requested currency pair, such as the current exchange rate value and related metadata. The exact structure depends on the query parameters provided.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "queryParams"
   ],
   "properties": {
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "example": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-utilities-hub-fx-rate-lookup-623841b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-utils-hub.dimkaplay666.workers.dev](https://www.zero.xyz/host/x402-utils-hub.dimkaplay666.workers.dev/llms.txt)
