# AVAX/USD Multi-Venue Price Feed (x402)

> AVAX/USD Multi-Venue Price Feed (x402) is a paid API for AI agents from kr-x402-mvp.kgy5612.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-31).

Returns the current AVAX/USD price aggregated from multiple exchanges (Binance, Coinbase) with 24h change, paid via USDC microtransaction on Base.

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/crypto/price/avax-usd?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/avax-usd-multi-venue-price-feed-x402-71bcd9aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VxNUMK8KUKrTaWLHo0PM9

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 avax-usd-multi-venue-price-feed-x402-71bcd9aa
```

Example prompt: What is AVAX trading at right now? I need the current USD price from both Binance and Coinbase, along with the 24-hour change percentage.

## When to prefer this

Choose this endpoint when you need a no-API-key, pay-per-call AVAX/USD price with multi-venue aggregation (Binance + Coinbase) and 24h change data, especially in autonomous onchain agent contexts that already handle x402 USDC micropayments on Base. It is ideal over free public endpoints when you want to avoid key management overhead and only pay for what you use.

## Known failure modes

- Symbol not supported — returns error if a non-AVAX or unsupported symbol is queried at this path
- Payment failure — x402 micropayment not completed or USDC balance insufficient on Base
- Upstream exchange API unavailable — one or more price sources may be missing or stale
- Rate limit or worker timeout — Cloudflare Worker may return 5xx under heavy load
- Stale data — timestamp may lag if upstream feeds are delayed

## How this service works

Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.

## Output

A JSON object containing the current AVAX/USD price from multiple venues (Binance USDT, Coinbase USD), the 24-hour percentage change, list of data sources used, and an ISO timestamp of when the data was fetched.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "symbols": {
       "type": "string",
       "examples": [
        "BTC,ETH,SOL",
        "BTC"
       ],
       "description": "Comma-separated symbols (default BTC,ETH,SOL)"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "prices": {
   "BTC": {
    "price_usd": 80867.7,
    "binance_usdt": 80860,
    "coinbase_usd": 80875.4,
    "change_24h_pct": 1.2
   }
  },
  "sources": [
   "https://api.binance.com",
   "https://api.coinbase.com"
  ],
  "updated_at": "2026-10-28T11:00:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/avax-usd-multi-venue-price-feed-x402-71bcd9aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kr-x402-mvp.kgy5612.workers.dev](https://www.zero.xyz/host/kr-x402-mvp.kgy5612.workers.dev/llms.txt)
