# Hyperextend Asset Context

> Hyperextend Asset Context is a paid API for AI agents from api.hyperextend.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Returns the most recent per-minute asset context snapshot for a given Hyperliquid coin, including open interest, funding rate, mark/mid/oracle prices, and volume.

## Facts

- Endpoint: GET https://api.hyperextend.xyz/v1/asset_ctx/%7Bcoin%7D
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperextend-asset-context-9fe49091
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__cFbT221dW80Qb4n6gOo-

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 hyperextend-asset-context-9fe49091
```

Example prompt: Pull the latest asset context for BTC on Hyperliquid's main dex — I want to see the current open interest, funding rate, mark price, and oracle price.

## When to prefer this

Use this endpoint when you need per-minute snapshots of Hyperliquid market context for a specific asset, especially funding rates, open interest, mark/oracle/mid prices, and volume — particularly when you need historical windows or the most recent snapshot with pay-per-request x402 pricing.

## Known failure modes

- Invalid coin symbol returns 404 or empty result
- Requesting a time range with no data returns empty array
- Malformed query parameters (non-integer timestamps) may return 400
- Rate limiting or payment failure returns 402 Payment Required
- Very recent data may not yet be available if ingestion is delayed

## How this service works

Per-minute Hyperliquid market history: open interest, candles, trades, liquidations, HIP-3, spot and outcome markets. Query any window, pay per request over x402.

## Output

Returns a JSON object with per-minute asset context for the requested coin, including: mid price, mark price, oracle price, funding rate, premium, open interest, day notional and base volumes, impact bid/ask prices, previous day price, and timestamps.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "coin"
     ],
     "properties": {
      "coin": {
       "type": "string",
       "description": "Asset symbol, e.g. BTC"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "dex": {
       "type": "string"
      },
      "end": {
       "type": "integer"
      },
      "limit": {
       "type": "integer"
      },
      "start": {
       "type": "integer"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "dex": "main",
  "coin": "BTC",
  "mid_px": "42079.5",
  "source": "ws",
  "funding": "0.0000125",
  "mark_px": "42080.0",
  "premium": "0.0001",
  "minute_ts": 1700000000,
  "oracle_px": "42010.0",
  "sample_ts": 1700000005,
  "day_ntl_vlm": "987654321.0",
  "prev_day_px": "41000.0",
  "day_base_vlm": "23456.7",
  "impact_ask_px": "42080.0",
  "impact_bid_px": "42079.0",
  "open_interest": "12345.6"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperextend-asset-context-9fe49091/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.hyperextend.xyz](https://www.zero.xyz/host/api.hyperextend.xyz/llms.txt)
