# x402 Data Hub – Exchange Currency Converter

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

Converts a specified amount from one currency (fiat or crypto) to another using live exchange rates

## Facts

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

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-currency-converter-3c168e02 -d '<json body>'
```

Example prompt: Convert 250 USD to ETH and tell me how much ETH I'd get at the current exchange rate.

## When to prefer this

Choose this endpoint when you need a quick currency conversion between crypto and/or fiat currencies with a single API call. It is ideal for agents that need to estimate trade values, display portfolio worth in a target currency, or calculate cross-currency amounts on the fly. Best when you have a specific numeric amount and a clear source/target currency pair.

## Known failure modes

- Unsupported currency codes for 'from' or 'to' fields — returns error or empty result
- Invalid or negative amount — may return validation error
- Missing required fields (from, to, amount) — returns 400-level error
- Stale or unavailable rate data — may return error or outdated conversion
- Payment failure (insufficient USDC) — returns 402 Payment Required

## How this service works

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

## Output

Returns the converted value of the specified amount from the source currency to the target currency, based on current market rates. Likely includes the converted amount and possibly the effective exchange rate used.

## 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-exchange-currency-converter-3c168e02/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data-hub-x402.vercel.app](https://www.zero.xyz/host/data-hub-x402.vercel.app/llms.txt)
