# x402-data-bazaar FX Conversion Quote

> x402-data-bazaar FX Conversion Quote is a paid API for AI agents from x402-data-bazaar.vercel.app, paid per call via x402, $0.012/call, status down (last checked 2026-10-12).

Returns a real-time foreign exchange conversion quote including the converted amount, mid-market rate, and inverse rate for a given base currency, target currency, and amount.

## Facts

- Endpoint: GET https://x402-data-bazaar.vercel.app/api/exchange-rates/quote/USD/EUR/100?utm_source=zero.xyz
- Price: $0.012/call
- Payment: x402
- Status: down
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-data-bazaar-vercel-app-cc16f075
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_B3Gzd_oE0_3t8GC8fSBLu

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-bazaar-vercel-app-cc16f075
```

Example prompt: How much would 100 US dollars be in euros right now, and what's the current mid-market exchange rate?

## When to prefer this

Use this endpoint when you need a precise, single-pair FX conversion quote with an explicit amount, mid-market rate, and inverse rate in a single call — especially useful for financial calculations, travel budgeting, invoice conversion, or any workflow needing a real-time rate between two specific currencies.

## Known failure modes

- Invalid or unsupported currency code returns an error or empty quotes array
- Amount of zero or negative value may produce unexpected results
- Network timeout from upstream ExchangeRate-API provider
- Payment failure (insufficient USDC balance) blocks the request
- Unsupported currency pair returns empty or null primaryQuote

## How this service works

FX conversion quote for an explicit base/target/amount path. Returns converted total, mid-market rate, and inverse rate. e.g. GET /api/exchange-rates/quote/USD/EUR/100

## Output

A JSON object containing the base currency, target currency, the mid-market exchange rate, the converted amount for the requested input, the inverse rate, and a success flag. Source is attributed to ExchangeRate-API.

## Response schema (JSON Schema)

```json
{
 "data": {
  "base": "USD",
  "quotes": [
   {
    "rate": 0.8672,
    "target": "EUR",
    "convertedAmount": 86.72
   }
  ],
  "quoteCount": 1,
  "primaryQuote": {
   "rate": 0.8672,
   "target": "EUR",
   "convertedAmount": 86.72
  },
  "requestedAmount": 100
 },
 "source": "ExchangeRate-API (open.er-api.com)",
 "success": true
}
```

## More

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