# HL Funding

> HL Funding 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-15).

Returns Hyperliquid BTC and ETH hourly funding rates and premium data with no parameters required.

## Facts

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

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-funding-79803ef1
```

Example prompt: What are the current hourly funding rates and premiums for BTC and ETH on Hyperliquid?

## When to prefer this

Use this endpoint when you need a quick, no-parameter snapshot of BTC and ETH funding rates and premiums specifically from Hyperliquid. Prefer this over general market data APIs when Hyperliquid perpetual-specific funding is required for trading decisions, arbitrage detection, or DeFi strategy monitoring. It pairs well with the BTC Tape and ETH Tape sibling endpoints for a fuller market picture.

## Known failure modes

- Hyperliquid API unavailable — returns upstream error or timeout
- Worker cold-start latency causing delayed response
- Stale data if Hyperliquid does not publish a new funding epoch yet
- Payment verification failure via x402 protocol causing 402 response

## How this service works

Hyperliquid BTC/ETH hourly funding and premium. No parameters.

## Output

Returns hourly funding rate and premium figures for BTC and ETH perpetuals on Hyperliquid, including the annualized or per-period rate and the spread between mark and index price (premium).

## 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-funding-79803ef1/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)
