# x402 Data Hub v2 - Exchange Currency Converter

> x402 Data Hub v2 - Exchange Currency Converter 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).

Converts a specified amount from one currency or crypto asset to another, returning the converted value

## Facts

- Endpoint: POST https://data-hub-v4-ten.vercel.app/api/exchange/convert?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-currency-converter-04ff306d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p2pKtL_vJxugPcAL54Rio

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-currency-converter-04ff306d -d '<json body>'
```

Example prompt: How much ETH would I get if I convert 250 USDC right now? Use the x402 data hub exchange converter.

## When to prefer this

Choose this endpoint when you need a quick, single-call currency or crypto asset conversion with a known amount, from and to currency pair. It is priced per call at $0.05 USDC via x402 protocol, making it suitable for on-demand agent workflows that need crypto-aware exchange rates without managing a full exchange integration.

## Known failure modes

- Unsupported currency pair returns an error or empty result
- Invalid or negative amount causes a 400-level error
- Unknown ticker symbol for 'from' or 'to' field returns error
- Service unavailable or rate data stale returns 500-level error
- Payment not provided or insufficient USDC returns 402 payment required

## How this service works

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

## Output

The agent receives a computed conversion result showing the equivalent amount in the target currency based on current exchange rates, given the source currency, target currency, and input amount.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string"
  },
  "from": {
   "type": "string"
  },
  "amount": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-data-hub-v2-exchange-currency-converter-04ff306d/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)
