# CB-HL Spread

> CB-HL Spread is a paid API for AI agents from earn-pulse.haiqingm58.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns the price spread between Coinbase spot prices and Hyperliquid mark prices for BTC and ETH.

## Facts

- Endpoint: GET https://earn-pulse.haiqingm58.workers.dev/spread
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cb-hl-spread-e01e3b34
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9hkF-XRXse2JISCO64Ep0

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 cb-hl-spread-e01e3b34
```

Example prompt: What's the current spread between Coinbase spot and Hyperliquid mark prices for BTC and ETH right now?

## When to prefer this

Choose this endpoint when you need a quick, no-parameter snapshot of the BTC and ETH price spread between Coinbase spot and Hyperliquid mark. It is ideal for arbitrage detection, basis trading signals, and cross-venue price dislocation monitoring. Prefer it over building your own aggregation when you want a single call that combines both venues simultaneously.

## Known failure modes

- Upstream Coinbase or Hyperliquid API unavailability causing stale or missing data
- Network timeout on the Cloudflare Worker causing request failure
- Unexpected response format if either exchange changes their API structure
- Payment failure for the $0.005 USDC x402 charge preventing access

## How this service works

Coinbase spot minus Hyperliquid mark for BTC/ETH. No parameters.

## Output

Returns the numerical spread (Coinbase spot price minus Hyperliquid mark price) for both BTC and ETH, indicating how much the centralized spot price deviates from the decentralized perpetual mark price on Hyperliquid.

## 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
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cb-hl-spread-e01e3b34/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from earn-pulse.haiqingm58.workers.dev](https://www.zero.xyz/host/earn-pulse.haiqingm58.workers.dev/llms.txt)
