# Crypto Spot Price – ETH/USD (Median Aggregated)

> Crypto Spot Price – ETH/USD (Median Aggregated) 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 live median USD spot price for ETH (and other supported crypto symbols) aggregated from Coinbase, Kraken, Bybit, Binance, and CoinGecko, with 24h change, volume, and source dispersion metrics.

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/crypto/price/eth-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/crypto-spot-price-eth-usd-median-aggregated-1503a613
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g4WNmGF-Ygyl4yNJ3iYzX

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 crypto-spot-price-eth-usd-median-aggregated-1503a613
```

Example prompt: What's the current ETH price in USD right now? Pull it from multiple exchanges and give me the median with the 24h change and how many sources you used.

## When to prefer this

Prefer this endpoint when you need a robust, manipulation-resistant spot price that is the median of multiple top exchanges rather than a single source. Ideal for onchain AI agents, trading bots, or DeFi applications that need trustworthy ETH/USD (or BTC, SOL, etc.) prices without managing API keys for each exchange separately. The x402 micropayment model makes it suitable for pay-per-call agent workflows on Base. Choose this over single-exchange feeds when cross-exchange dispersion visibility matters.

## Known failure modes

- If all exchange APIs are unreachable, the endpoint may return an error or empty prices object
- If an unsupported symbol is requested, it may be silently omitted from the response
- Payment failure (x402) returns a 402 status requiring USDC payment on Base before the response is served
- High market volatility may cause source dispersion_bps to spike, indicating unreliable median
- If fewer than the expected number of exchanges respond, n_sources will be low, reducing median reliability

## 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 with per-symbol price data including median USD spot price, individual exchange prices (Binance, Coinbase, etc.), 24h change percent, n_sources (number of exchanges that responded), dispersion_bps (spread across sources in basis points), and an updated_at ISO timestamp. Also includes a sources array listing the exchange API URLs used.

## 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/crypto-spot-price-eth-usd-median-aggregated-1503a613/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)
