# x402-data-hub-v2 Exchange Rates

> x402-data-hub-v2 Exchange Rates is a paid API for AI agents from data-hub-v4-ten.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-12).

Returns current cryptocurrency exchange rates for specified trading pairs via a paid x402 endpoint

## Facts

- Endpoint: POST https://data-hub-v4-ten.vercel.app/api/exchange/rates?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-data-hub-v2-exchange-rates-163f3760
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dd68NThG9qHFYjgo4J9xM

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-v2-exchange-rates-163f3760 -d '<json body>'
```

Example prompt: What's the current exchange rate for BTC/USDC and ETH/USDC right now? Pull it from the data hub exchange rates endpoint.

## When to prefer this

Use this endpoint when you need live cryptocurrency exchange rates and are operating in an x402 micropayment-enabled environment; suitable for agents that can handle USDC payments on-chain and need fast, per-call crypto price lookups without a subscription.

## Known failure modes

- Payment failure — x402 payment of 0.05 USDC not completed or rejected
- Invalid trading pair — requested currency pair not supported
- Network error — Vercel deployment unreachable
- Rate limit or quota exceeded
- Malformed POST body — missing required pair parameters

## How this service works

16 paid endpoints - Crypto, Exchange, Yield, Governance, Sentiment

## Output

Returns current exchange rates for the requested cryptocurrency trading pairs, including price values and likely timestamp metadata, delivered after a $0.05 USDC micropayment via x402 protocol.

## More

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