# OKX Live Spot Ticker

> OKX Live Spot Ticker is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-16).

Returns real-time spot market data for any crypto trading pair from OKX, including last price, 24h high/low/volume/change, and bid/ask spread

## Facts

- Endpoint: GET https://api.x402node.dev/market/ticker
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/okx-live-spot-ticker-dc4de763
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yJJ8DWWp3pFAUxu-0xFkj

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 okx-live-spot-ticker-dc4de763
```

Example prompt: What's the current live spot price for ETH/USDT on OKX, including today's 24-hour high, low, volume, and the latest bid/ask spread?

## When to prefer this

Use this endpoint when you need real-time, up-to-the-second crypto spot price data that is not available in LLM training data, specifically sourced from OKX. Prefer this over static or cached alternatives when current bid/ask spread or live 24h volume is required for trading signals, portfolio valuation, or market analysis.

## Known failure modes

- Invalid or unsupported trading symbol returns an error (e.g. symbol not listed on OKX)
- Network timeout if OKX feed is temporarily unavailable
- Malformed symbol format (e.g. missing quote currency) causes a bad request error
- Payment failure or insufficient USDC balance prevents the call from completing

## How this service works

Live spot ticker for any crypto symbol from OKX - last price, 24h high/low/volume/change and bid/ask, real-time market data absent from LLM training. crypto ticker, spot price, live price, 24h volume, bid ask, market data

## Output

Returns a JSON object with the trading symbol's last traded price, 24h high, 24h low, 24h traded volume, 24h price change percentage, and current best bid and ask prices sourced live from OKX.

## Example request

```json
{
 "symbol": "ETH-USDT"
}
```

## 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": {
      "coin": {
       "type": "string",
       "description": "Coin (optional)"
      },
      "symbol": {
       "type": "string",
       "description": "Crypto symbol, e.g. BTC (default), ETH, SOL"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/okx-live-spot-ticker-dc4de763/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
