# Crypto Market Pulse (x402)

> Crypto Market Pulse (x402) is a paid API for AI agents from kr-x402-mvp.kgy5612.workers.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-31).

Returns a real-time crypto market pulse snapshot including BTC/ETH prices, Fear & Greed index, Hyperliquid funding rates, open interest, and kimchi premium — paid per-call via x402 USDC.

## Facts

- Endpoint: GET https://kr-x402-mvp.kgy5612.workers.dev/api/market-pulse?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-market-pulse-x402-054c4ea5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4WnEBAU6UbUEgnFTA42ng

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-market-pulse-x402-054c4ea5
```

Example prompt: Give me a quick crypto market pulse — BTC price, current Fear & Greed reading, Hyperliquid funding rate, and whether there's a kimchi premium worth noting.

## When to prefer this

Prefer this endpoint when your AI agent needs a single, consolidated crypto market context snapshot without managing multiple API keys across CoinGecko, Hyperliquid, and sentiment providers. Ideal for trading agents that need regime awareness, funding rate checks, and sentiment data in one pay-per-call micro-transaction via x402 USDC on Base. Best suited for agents that call infrequently (spot checks before decisions) rather than high-frequency streaming needs.

## Known failure modes

- Payment not accepted or insufficient USDC balance — x402 payment handshake fails, returning 402 Payment Required
- Upstream data source unavailable — stale or missing prices/funding data
- Rate limiting or worker timeout — Cloudflare Worker returns 5xx
- Malformed request — unexpected query parameters may cause rejection
- Network latency spike from aggregating multiple upstream sources

## 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: current BTC (and potentially other token) prices with 24h % change, a market regime string (e.g. 'neutral', 'risk-on', 'risk-off'), Fear & Greed index value and label, Hyperliquid BTC funding APR and open interest in USD, kimchi premium percentage for BTC, a list of human-readable reason bullets summarizing conditions, and an updated_at ISO 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": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kimchi": {
   "BTC": {
    "premium_pct_fx": 1.15
   }
  },
  "prices": {
   "BTC": {
    "price_usd": 80867.7,
    "change_24h_pct": 0.8
   }
  },
  "regime": "neutral",
  "funding": {
   "BTC": {
    "funding_apr_pct": 9.1,
    "open_interest_usd": 2426000000
   }
  },
  "reasons": [
   "Fear & Greed 51 Neutral",
   "BTC 24h +0.8%",
   "BTC funding APR 9.1%"
  ],
  "fear_greed": {
   "label": "Neutral",
   "value": 51
  },
  "updated_at": "2026-10-29T08:30:00Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-market-pulse-x402-054c4ea5/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)
