# Crypto Spot Price Feed (SOL/USD and Multi-Coin)

> Crypto Spot Price Feed (SOL/USD and Multi-Coin) 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 aggregated live USD spot prices for major cryptocurrencies (BTC, ETH, SOL, and others), computed as a median across Coinbase, Kraken, Bybit, Binance, and CoinGecko, with 24h change, volume, and source dispersion metadata.

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/crypto/price/sol-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-feed-sol-usd-and-multi-coin-122eb6cd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FAlv8Xfl3-rHHA8vkN2a4

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-feed-sol-usd-and-multi-coin-122eb6cd
```

Example prompt: What are the current live spot prices for BTC, ETH, and SOL in USD right now, including how much each has moved in the last 24 hours?

## When to prefer this

Choose this endpoint when you need a robust, multi-source median price rather than a single-exchange quote, especially when price manipulation resistance or cross-exchange dispersion visibility matters. Ideal for AI trading agents, portfolio valuation, or any workflow that needs a single pay-per-call price fetch without managing multiple exchange API keys. Use when you need SOL, BTC, ETH, or other top-10 altcoin prices with 24h metrics in one call.

## Known failure modes

- Unsupported symbol requested — only BTC, ETH, SOL, BNB, XRP, DOGE, ADA, AVAX, LINK, SUI are supported
- All upstream exchanges unavailable — median cannot be computed, response may be empty or error
- Payment not completed — x402 payment required at $0.003 USDC per call on Base network
- Stale data — if exchanges are slow, the updated_at timestamp may lag by seconds
- Network timeout on workers.dev edge — transient 5xx error

## 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

Returns a JSON object with a `prices` map keyed by symbol, each containing the median USD spot price, per-exchange prices (Binance USDT, Coinbase USD, etc.), 24h change percentage, number of contributing sources, and dispersion in basis points. Also includes a list of source URLs and an `updated_at` timestamp.

## 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-feed-sol-usd-and-multi-coin-122eb6cd/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)
