# HyperExtend Asset Context (BTC)

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

Returns open interest, funding rates, mark price, oracle price, mid price, and trading volumes for a specified crypto asset over a configurable time window.

## Facts

- Endpoint: GET https://api.hyperextend.xyz/v1/asset_ctx/BTC
- Price: $0.1212/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-btc-9540ecde
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P6c33oruE5oqktBDfAUNS

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-btc-9540ecde
```

Example prompt: Pull the open interest, funding rate, mark price, oracle price, and recent trading volume for BTC from HyperExtend — use the last 100 data points.

## When to prefer this

Use this endpoint when you need a comprehensive snapshot of derivatives market context — specifically open interest, funding rates, mark/oracle/mid prices, and volume — for a single asset like BTC, especially when querying HyperExtend's DEX data over a configurable time window. Prefer this over generic market data APIs when you need derivatives-specific metrics like funding rates and oracle prices.

## Known failure modes

- Invalid or unsupported coin symbol returns an error or empty result
- Missing required path parameter 'coin' results in a 400 or 404 error
- Out-of-range timestamps may return empty data sets
- Rate limiting or payment failure (x402) blocks the response
- Network timeout if the upstream data source is unavailable

## How this service works

Open interest / funding / mark / oracle / mid / volumes over a window.

## Output

A JSON object containing open interest, funding rate, mark price, oracle price, mid price, and volume metrics for the requested asset over the specified time window. Optional fields include DEX-specific data and pagination via start/end timestamps and limit.

## 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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperextend-asset-context-btc-9540ecde/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)
