# Crypto Multi-Venue Price Feed (XRP/USD via x402)

> Crypto Multi-Venue Price Feed (XRP/USD via 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 real-time XRP-USD price aggregated across multiple venues (Binance, Coinbase) with 24h change, paid per-call via x402 USDC micropayment.

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/crypto/price/xrp-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-multi-venue-price-feed-xrp-usd-via-x402-882a6d32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dLzFUR085-WL5mNRx96LI

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-multi-venue-price-feed-xrp-usd-via-x402-882a6d32
```

Example prompt: What is XRP trading at right now in USD? Pull the current price from multiple venues including Binance and Coinbase and show me the 24-hour change.

## When to prefer this

Choose this endpoint when your AI agent needs real-time, multi-venue cryptocurrency price data without pre-registering an API key, especially for XRP-USD or multi-symbol queries. Ideal for trading agents, onchain bots, and portfolio tools that pay per call via x402 USDC micropayments on Base and need transparent per-venue price breakdowns with 24h change. Prefer alternatives if you need deep order book data, historical OHLCV, or non-crypto asset pricing.

## Known failure modes

- Payment not completed via x402 — returns 402 Payment Required if USDC micropayment is not attached
- Invalid or unsupported symbol requested — may return empty or error response
- Exchange API upstream outage — stale or missing per-venue price data
- Rate limiting or worker timeout — transient 5xx errors from Cloudflare Workers edge
- Malformed symbols query param (e.g. spaces instead of commas) — may cause empty results

## 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 per-symbol USD prices broken down by exchange (e.g. binance_usdt, coinbase_usd), an aggregated price_usd, the 24-hour percentage change, a list of source URLs, and an updated_at timestamp indicating data freshness.

## 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-multi-venue-price-feed-xrp-usd-via-x402-882a6d32/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)
