# DeFiLlama Multi-Venue Crypto Price Feed (x402)

> DeFiLlama Multi-Venue Crypto 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-11-02).

Returns aggregated real-time USD prices for crypto tokens (BTC, ETH, SOL, etc.) sourced from multiple venues including Binance and Coinbase, with 24h change, via micropayment-gated API.

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/api/v1/defillama/prices?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defillama-multi-venue-crypto-price-feed-x402-513a2a96
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6_53IV1rtpSG0AgOPJVCe

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 defillama-multi-venue-crypto-price-feed-x402-513a2a96
```

Example prompt: What are the current USD prices of BTC, ETH, and SOL across Binance and Coinbase, and how much have they moved in the last 24 hours?

## When to prefer this

Use this endpoint when an AI trading or onchain agent needs real-time, multi-venue aggregated token prices without requiring API key setup — ideal for autonomous agents that can pay per call via x402 USDC micropayments on Base. Prefer this over single-exchange APIs when cross-venue price comparison or 24h change data is needed simultaneously.

## Known failure modes

- Payment not received or x402 micropayment flow not completed — returns 402 Payment Required
- Invalid or unsupported token symbol — may return empty or partial prices object
- Network timeout fetching from upstream venues (Binance/Coinbase) — stale or missing data
- Malformed symbols query parameter — may return default BTC,ETH,SOL instead of requested tokens

## 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-token price data including USD price, Binance USDT price, Coinbase USD price, and 24h percentage change, along with the data source URLs and an updated_at timestamp. Example: {prices: {BTC: {price_usd: 80867.7, binance_usdt: 80860, coinbase_usd: 80875.4, change_24h_pct: 1.2}}, sources: [...], updated_at: '2026-10-28T11:00:00Z'}.

## 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/defillama-multi-venue-crypto-price-feed-x402-513a2a96/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)
