# HTX (Huobi) Market Ticker

> HTX (Huobi) Market Ticker is a paid API for AI agents from api.chainmarket-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-24).

Returns real-time price and 24-hour trading statistics for a specified HTX (Huobi) trading pair

## Facts

- Endpoint: GET https://api.chainmarket-api.workers.dev/api/finance/huobi-tickers?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/htx-huobi-market-ticker-730c6dd6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PZgtSVSH0Z1-5Qm3H6RdC

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 htx-huobi-market-ticker-730c6dd6
```

Example prompt: What's the current price of BTC/USDT on HTX — including the bid, ask, 24-hour high and low, and percentage change?

## When to prefer this

Choose this endpoint when you need real-time spot market data specifically from the HTX (Huobi) exchange, including bid/ask, 24-hour OHLC, volume, and price change — especially useful when comparing HTX liquidity or prices against other exchanges, or when HTX is the target execution venue. Prefer alternatives if you need aggregated multi-exchange price data or historical OHLCV candles.

## Known failure modes

- Invalid or unsupported symbol returns an error — symbols must be lowercase and valid HTX pairs (e.g. 'btcusdt', not 'BTC/USDT')
- Upstream HTX API downtime may cause failures or stale data
- Payment failure results in no charge and no response
- Network timeouts from the Cloudflare Worker proxy

## How this service works

HTX (formerly Huobi) 24h ticker for one market (e.g. btcusdt): open, high, low, close, bid/ask, base and quote volume and trade count, from HTX's public market tickers endpoint.

## Output

A JSON object containing the current ask and bid prices, 24-hour open, close, high and low prices, 24-hour trade count, base and quote volume, percentage price change over 24 hours, the source URL, the queried symbol, and the timestamp of when the data was checked.

## 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",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "HTX market in lowercase, e.g. btcusdt, ethusdt"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ask": 81603.31,
  "bid": 81603.3,
  "low": 80944.73,
  "high": 82016.9,
  "open": 81667,
  "close": 81604.3,
  "source": "https://api.huobi.pro/market/tickers",
  "symbol": "btcusdt",
  "checkedAt": "2026-10-23T09:36:12.222Z",
  "trades24h": 2023327,
  "baseVolume24h": 4741.59593787019,
  "quoteVolume24h": 387030909.5924568,
  "changePercent24h": -0.077
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/htx-huobi-market-ticker-730c6dd6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.chainmarket-api.workers.dev](https://www.zero.xyz/host/api.chainmarket-api.workers.dev/llms.txt)
