# HL Premium

> HL Premium 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 current premium of Hyperliquid BTC, ETH, and SOL perpetual mark prices versus their oracle prices.

## Facts

- Endpoint: GET https://earn-pulse.haiqingm58.workers.dev/prem
- 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/hl-premium-1bbcc8b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YxSTrQhff0uisUJmShMND

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 hl-premium-1bbcc8b1
```

Example prompt: What are the current BTC, ETH, and SOL perpetual premiums versus the oracle on Hyperliquid right now?

## When to prefer this

Use this endpoint when you need a quick, no-parameter snapshot of BTC, ETH, and SOL perpetual premiums versus oracle on Hyperliquid specifically. Prefer it over general funding rate endpoints when you care specifically about the mark-vs-oracle spread rather than hourly funding rates or open interest. Ideal for basis trading signals, sentiment analysis, or cross-exchange arbitrage detection.

## Known failure modes

- Hyperliquid API unavailable — worker returns 5xx error
- Stale or missing oracle data causing incorrect premium calculation
- Network timeout from the Cloudflare worker to upstream Hyperliquid data source
- Empty or malformed response if Hyperliquid market data feed is down

## How this service works

Hyperliquid BTC/ETH/SOL premium vs oracle. No parameters.

## Output

Returns the current premium (spread) of Hyperliquid mark prices versus oracle prices for BTC, ETH, and SOL perpetual contracts, typically as numeric values or percentages representing how much each asset's perp mark price deviates from the oracle reference price.

## 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/hl-premium-1bbcc8b1/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)
