# x402 Data Hub – Exchange Rate Converter

> x402 Data Hub – Exchange Rate Converter is a paid API for AI agents from x402-data-hub.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-16).

Converts currency amounts between two currencies using real-time exchange rates, paid via USDC on Base using the x402 protocol.

## Facts

- Endpoint: POST https://x402-data-hub.vercel.app/api/exchange/convert
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-data-hub-exchange-rate-converter-d326cff2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VK_DEhLmWgY3Ud5OUD0ko

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-data-hub-exchange-rate-converter-d326cff2 -d '<json body>'
```

Example prompt: Convert 500 USD to EUR using x402 Data Hub and tell me the current exchange rate and the converted amount.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call currency conversion without a subscription, especially in an agentic or automated workflow where micropayment via USDC on Base (x402 protocol) is acceptable. Useful when combining exchange rate lookups with social media or crypto data from the same hub.

## Known failure modes

- Unsupported currency code returns an error or empty result
- Invalid or missing amount parameter causes a 400-level error
- Payment failure via x402/USDC on Base blocks the request
- Network timeout if exchange rate provider is unavailable
- Malformed POST body results in validation error

## How this service works

Social media intel (Twitter, Instagram, YouTube) + crypto data + exchange rates. Pay with USDC on Base.

## Output

Returns the converted currency amount and the exchange rate used for the conversion between the specified currency pair.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-data-hub-exchange-rate-converter-d326cff2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-data-hub.vercel.app](https://www.zero.xyz/host/x402-data-hub.vercel.app/llms.txt)
