# Vextorium Hyperliquid Basis

> Vextorium Hyperliquid Basis is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-19).

Returns per-asset basis, funding rates, premium percentage, and open interest for all perpetual markets on Hyperliquid

## Facts

- Endpoint: POST https://api.vextorium.com/v1/hyperliquid-basis?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-hyperliquid-basis-8d4aa327
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D-8SkZSbB9UmR55qsLqTW

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 vextorium-hyperliquid-basis-8d4aa327 -d '<json body>'
```

Example prompt: Pull the current Hyperliquid basis data for all perp markets — I want to see funding rates, basis in bps, premium percentage, and open interest so I can spot cash-and-carry opportunities, and limit it to the top 50 assets.

## When to prefer this

Use this endpoint when you need comprehensive, per-asset Hyperliquid perpetual market data including basis, funding rates, and open interest in a single call. Prefer this over manually querying Hyperliquid's public API when you need pay-per-call access without API key management, or when building an agent that needs structured funding rate and basis data for trading signal generation or risk monitoring.

## Known failure modes

- Invalid or unsupported currency filter returns empty asset list
- Limit parameter exceeding available assets returns all available assets
- Hyperliquid data source temporarily unavailable returns an error or stale data
- Malformed request body returns 400 validation error
- Payment failure via x402 prevents call execution

## How this service works

558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.

## Output

A JSON object containing an array of assets, each with: asset symbol, mark (brand) price, oracle price, basis in basis points, premium percentage, open interest in USD, hourly funding rate, and annualized funding rate. Also includes a source attribution and an explanatory note about funding direction conventions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer"
  },
  "currency": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "note": "Positive funding: longs pay shorts; selling the perp and buying spot collects that funding.",
  "assets": [
   {
    "asset": "SAND",
    "brand": 0.062773,
    "oracle": 0.06347,
    "basis_bp": -109.82,
    "premium_pct": -1.0556,
    "open_interest_usd": 10073140,
    "annual_funding_pct": -861.54,
    "hourly_funding_pct": -0.09835
   },
   {
    "asset": "2Z",
    "brand": 0.045731,
    "oracle": 0.046075,
    "basis_bp": -74.66,
    "premium_pct": -0.6967,
    "open_interest_usd": 3750928,
    "annual_funding_pct": -609.01,
    "hourly_funding_pct": -0.06952
   }
  ],
  "source": "Hyperliquid (open data)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-hyperliquid-basis-8d4aa327/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
