# cryptofeed402 Spot Ticker

> cryptofeed402 Spot Ticker is a paid API for AI agents from cryptofeed402.site, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-16).

Returns live spot price data for any OKX <SYMBOL>-USDT pair, including last price, bid/ask spread, 24h OHLC, volume, and percentage change.

## Facts

- Endpoint: GET https://cryptofeed402.site/spot/BTC?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cryptofeed402-spot-ticker-68841059
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z0V-IARXuGs1i6DcYpSPa

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 cryptofeed402-spot-ticker-68841059
```

Example prompt: What's the current spot price for TON right now — including the bid/ask spread and how much it's moved in the last 24 hours?

## When to prefer this

Use this endpoint when you need live spot market data for any OKX-listed coin, especially assets that lack a perpetual futures market. It is ideal for quick cross-venue spot checks, altcoin price lookups, bid/ask spread analysis, and 24h OHLC summaries. Prefer this over perp-focused endpoints when you specifically need spot price discovery or volume data. At $0.002 USDC per call it is cost-effective for frequent polling.

## Known failure modes

- Unknown or unsupported symbol returns HTTP 404 with no charge
- Invalid symbol format (exceeds 20 chars or contains special chars) may return 400
- Network or exchange connectivity issues may cause stale or unavailable data
- OKX pair must exist as a USDT spot pair; non-USDT-quoted assets are not supported

## How this service works

Live spot ticker for any OKX <SYMBOL>-USDT pair (hundreds of coins): last price, best bid/ask and spread in bps, 24h open/high/low and change, UTC-day change, 24h volume in base and USDT, with as_of. Use it for a quick cross-venue spot check of an asset that has no perp. Unknown pair 404, no charge. JSON. Free sample at /samples/spot. $0.002 USDC per call on Base.

## Output

A JSON object containing: symbol, pair (e.g. BTC-USDT), last traded price, best bid, best ask, spread in basis points, 24h open/high/low prices, 24h percentage change, UTC-day change, 24h volume in base currency and USDT, venue name, and an as_of 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "pattern": "^[A-Za-z0-9]{1,20}$",
       "description": "Spot base ticker, case-insensitive (BTC, PEPE, TON, ...)"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "symbol",
      "pair",
      "last",
      "as_of"
     ],
     "properties": {
      "ask": {
       "type": "number"
      },
      "bid": {
       "type": "number"
      },
      "last": {
       "type": "number"
      },
      "pair": {
       "type": "string"
      },
      "as_of": {
       "type": "string"
      },
      "venue": {
       "type": "string"
      },
      "symbol": {
       "type": "string"
      },
      "low_24h": {
       "type": "number"
      },
      "high_24h": {
       "type": "number"
      },
      "open_24h": {
       "type": "number"
      },
      "spread_bps": {
       "type": "number"
      },
      "change_24h_pct": {
       "type": "number"
      },
      "volume_24h_base": {
       "type": "number"
      },
      "volume_24h_usdt": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cryptofeed402-spot-ticker-68841059/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cryptofeed402.site](https://www.zero.xyz/host/cryptofeed402.site/llms.txt)
