# Crypto Microdata for Agents (x402) — Multi-Venue Spot Prices

> Crypto Microdata for Agents (x402) — Multi-Venue Spot Prices 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).

Fetches multi-venue USD spot prices (Binance, Coinbase, etc.) with 24h change for specified crypto symbols, paid per-call via x402 USDC on Base.

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/v1/last/crypto?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-microdata-for-agents-x402-multi-venue-spot-prices-eb420b62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2yyfodGcENiF3uWV99JYw

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-microdata-for-agents-x402-multi-venue-spot-prices-eb420b62
```

Example prompt: Can you grab the current spot prices for BTC, ETH, and SOL across Binance and Coinbase, including the 24-hour change for each?

## When to prefer this

Prefer this endpoint when an AI agent needs real-time multi-venue crypto price data without managing API keys, wants venue-level price granularity (not just a single source), and is already set up to pay via x402 USDC micropayments on Base. Ideal for trading agents that need fresh price data on-demand at low per-call cost rather than subscribing to a data feed.

## Known failure modes

- Payment failure: x402 USDC payment on Base not confirmed, returns 402 with payment details
- Invalid symbol: unrecognized ticker returns empty or partial prices object
- Upstream exchange unavailable: missing venue data for one or more exchanges, partial results returned
- Network timeout: Cloudflare Worker upstream fetch times out, may return 503 or partial data

## 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 per-symbol pricing data including median/per-venue USD prices (e.g. binance_usdt, coinbase_usd), 24h percentage change, list of data sources queried, 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-microdata-for-agents-x402-multi-venue-spot-prices-eb420b62/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)
