05 / 05RESEARCHUTC —:—:—
MARKETS CONNECTING

Research & Learn

Saved HYPE book image20 bids / 20 asks · partial depthReport a number
More viewsSection info
Research & Learn

Find a clear explanation, follow the evidence and explore the related data.

Read the methodology

Developer reference / v1

Public data.
Explicit coverage.

Build with the same public datasets behind Liquid Data. Dataset responses from the application include source, coverage and observation time, so you can keep partial data and unknown values visible.

Base URL
https://liquid-data.xyz/api/v1
Authentication
No API key
Shared budget
60 requests / minute
Data format
JSON · UTC times
Table downloads
CSV export

01 / Start here

Make your first request

For requests that reach the application API handler, use GET to read JSON. HEAD performs the same validation and returns the same status and headers without a body. OPTIONS returns 204 for preflight. The handler allows browser requests with Access-Control-Allow-Origin: *.

curl -i 'https://liquid-data.xyz/api/v1/markets?kind=native&limit=100'

No sign-up, key or authenticated session is required. These endpoints expose public datasets; saved wallet lists, account preferences and alert destinations are outside this API.

JavaScript · browser
const url = new URL('https://liquid-data.xyz/api/v1/markets');
url.search = new URLSearchParams({kind: 'native', limit: '100'});
const response = await fetch(url, {headers: {Accept: 'application/json'}});
const body = await response.json().catch(() => null);
if (!response.ok) {
  const retry = response.headers.get('Retry-After');
  const code = typeof body?.error?.code === 'string'
    ? body.error.code : 'HTTP_' + response.status;
  const message = typeof body?.error?.message === 'string'
    ? body.error.message : 'Non-API response; check the domain edge policy.';
  throw new Error(code + ': ' + message +
    (retry ? ' Retry after ' + retry + ' seconds.' : ''));
}
if (body?.apiVersion !== '1' || !Array.isArray(body?.data)) {
  throw new Error('Unexpected response: application v1 envelope missing.');
}
console.log(body.status, body.coverage, body.asOf);
console.table(body.data);
Python · standard library
import json
from urllib.request import Request, urlopen
from urllib.error import HTTPError, URLError

def read_json(stream):
    try:
        return json.load(stream)
    except (ValueError, UnicodeDecodeError):
        return None

url = 'https://liquid-data.xyz/api/v1/funding?coin=HYPE&days=7&limit=200'
request = Request(url, headers={
    'Accept': 'application/json',
    'User-Agent': 'LiquidDataDocsExample/1.0 (+https://liquid-data.xyz/docs)',
})
try:
    with urlopen(request, timeout=30) as response:
        body = read_json(response)
        if (not isinstance(body, dict) or body.get('apiVersion') != '1'
                or not isinstance(body.get('data'), list)):
            raise ValueError('Application v1 JSON envelope missing.')
        print(body.get('status'), body.get('coverage'))
        for row in body['data']:
            if isinstance(row, dict):
                print(row.get('hour'), row.get('fundingPercentHourly'), row.get('status'))
except HTTPError as error:
    body = read_json(error)
    detail = body.get('error') if isinstance(body, dict) else None
    if isinstance(detail, dict):
        print(error.code, detail.get('code'), detail.get('message'))
    else:
        print(error.code, 'Non-API response; check the domain edge policy.')
    print('Retry-After:', error.headers.get('Retry-After'))
except (ValueError, URLError) as error:
    print('Request failed:', error)

The examples make live requests when you run them. Check the response before using its rows. The JSON illustration below is deliberately marked as an example.

02 / Datasets

Five public endpoints

Application v1 dataset responses use the common envelope below. Every dataset row also carries source, sourceUrl, coverage, asOf and timestampBasis. Unknown, repeated and empty query parameters return 400 from the handler. Parameter names and enum values are case-sensitive.

GET

/api/v1/markets

Open JSON example ↗

Current native perpetual, HIP-3 and spot market contexts.

Source: Hyperliquid public Info API ↗

Coverage

Returned active market contexts, with source-group counts in coverage. Delisted perpetual markets are excluded. Catalog completeness describes returned source groups, not an independent census of exchange activity.

Units & interpretation

Prices, volume24hQuote and openInterestQuote use the market quote currency. quote can be null; do not assume USD. openInterestBase uses base units. Spot open interest and funding are null. Funding is hourly: fundingPercentHourly = fundingRateHourly × 100.

Report a numberDisplayed rows and formatted values
Query parameters
ParameterValues / defaultMeaning
venuestringOptionalExact returned venue name, such as xyz, or its official HIP-3 deployer address.
kindstringall · native · hip3 · spotDefault: allMarket family to include.
coinstringOptionalExact, case-sensitive canonical market ID, such as BTC, xyz:TSLA or @107. A valid unmatched ID returns an empty page.
limitinteger1–200Default: 100Maximum rows per response, from 1 to 200. Use a positive integer without leading zeros.
cursorstringOptionalOpaque nextCursor from the preceding response. URL-encode it and keep the same filters. Do not construct or edit cursor contents.

Paging: Canonical market ID ascending. Each page can observe a newer cached catalog, so this is not an atomic snapshot. Newly added IDs before the cursor can be missed; restart without a cursor for a fresh traversal.

Dataset fields
id, name, kind, venue, quote
Canonical identity, market family and quote currency.
price, previousDayPrice, change24hPercent
Current/previous price and percentage price change.
volume24hQuote, openInterestBase, openInterestQuote
24-hour volume and open interest in the stated units.
fundingRateHourly, fundingPercentHourly
Hourly fraction and the same rate expressed as a percent.
oraclePrice, midPrice, maxLeverage
Returned context values, nullable when unavailable.

The OpenAPI contract includes the complete machine-readable row schema and nullable types.

GET

/api/v1/funding

Open JSON example ↗

Retained hourly funding settlements for BTC, ETH, SOL and HYPE.

Source: Hyperliquid fundingHistory, retained by Liquid Data ↗

Coverage

Stored hourly history, not a live funding quote. coverage reports known, expected, missing and conflicting hours. Missing or conflicting settlements remain null and must not be counted as zero.

Units & interpretation

fundingRateHourly and premium are raw fractions. fundingPercentHourly is the raw rate multiplied by 100. A rate of 0.0001 means 0.01% for one hour; it is not an annual yield.

Report a numberDisplayed rows and formatted values
Query parameters
ParameterValues / defaultMeaning
coinstringBTC · ETH · SOL · HYPEDefault: BTCSupported native perpetual market.
daysinteger1 · 7 · 30 · 90Default: 7Requested stored history window in days.
limitinteger1–500Default: 200Maximum rows per response, from 1 to 500. Use a positive integer without leading zeros.
cursorstringOptionalOpaque nextCursor from the preceding response. URL-encode it and keep the same filters. Do not construct or edit cursor contents.

Paging: UTC hour ascending. The first cursor freezes the requested window for 24 hours; use the same coin and days. Backfills and conflict detection can still change values within that window. An expired cursor returns 400.

Dataset fields
coin, hour
Market and UTC hourly settlement bucket.
fundingRateHourly, fundingPercentHourly, premium
Verified hourly rates, or null for a missing/conflicting settlement.
status
observed, missing or conflict.
asOf, retrievedAt
Original source event time and first retained receipt, each nullable.

The OpenAPI contract includes the complete machine-readable row schema and nullable types.

GET

/api/v1/liquidations

Open JSON example ↗

Confirmed liquidation fills and all retained observation history.

Source: Hyperliquid public Info API; retained liquidation observations ↗

Coverage

Hyperliquid on-chain data, partial coverage. The collector checks explicit liquidation flags on sampled fills and four liquidator vaults. Ordinary fills are excluded. Polling, discovery and response limits leave gaps; this is not a complete market-wide total. Ironflow remains disabled.

Units & interpretation

price and size preserve exact source decimal strings. notionalQuote is their numeric product; historical quote currency is unresolved, so quote is null and notional is not asserted to be USD. Each record is an executed fill, not an entire liquidated account.

Report a numberDisplayed rows and formatted values
Query parameters
ParameterValues / defaultMeaning
limitinteger1–100Default: 100Maximum rows per response, from 1 to 100. Use a positive integer without leading zeros.
cursorstringOptionalOpaque nextCursor from the preceding response. URL-encode it and keep the same filters. Do not construct or edit cursor contents.

Paging: Event time descending, then ID descending. Follow nextCursor to reach all retained events. Cursor pages read the durable archive without starting an upstream scan. New arrivals do not shift the boundary for older events; merge refreshes by event ID.

Dataset fields
id, coin, market, tradeId, time
Stable event identity, market and source execution time.
price, size, notionalQuote, quote
Exact price/size strings and approximate numeric quote notional.
side, position, method
buy/sell/unknown; long/short/unknown; market/backstop.
hash, liquidatedUser
Nullable source transaction hash and liquidated public account.
observedVia, firstSeenAt
market-discovery or liquidator-vault, and first observed receipt time (which can precede successful storage).

The OpenAPI contract includes the complete machine-readable row schema and nullable types.

GET

/api/v1/hype

Open JSON example ↗

Native HYPE valuation, supply, burn accounting, Assistance Fund observations, fees and revenue.

Source: Hyperliquid public data; DefiLlama protocol fees and revenue ↗

Coverage

Selected metrics from five public sources, each with its own definition, time, status and coverage. Sources are independent observations, not one atomic snapshot. Burns exclude HyperEVM gas burns. Assistance Fund purchases are a bounded fill sample, not daily or lifetime totals.

Units & interpretation

The native midpoint is USDC/HYPE and circulating valuation is USDC, not assumed USD. Supply and burn balances use HYPE; provider-reported fees and revenue use USD. Stock balances, rolling totals and sampled execution flows must not be added together.

This endpoint accepts no query parameters.

Paging: No pagination or query parameters. The response returns the metric set, including null values for unavailable metrics. Inspect every row, even when the overall response is usable.

Dataset fields
metric, value, unit, kind
Stable metric name, nullable number, explicit unit and quote/stock/rolling/sample kind.
definition, status
Accounting definition and observed/stale/unavailable availability.
asOf, sourceAt, retrievedAt, timestampBasis
Per-metric time; rolling summaries use retrieval time because a measurement time is not supplied.
sample
Bounded AF sample dates and fill counts, or null for other metrics.

The OpenAPI contract includes the complete machine-readable row schema and nullable types.

GET

/api/v1/ecosystem

Open JSON example ↗

Provider-indexed protocols with Hyperliquid / HyperEVM chain TVL.

Source: DefiLlama protocol chain TVL ↗

Coverage

DefiLlama-listed protocols with returned Hyperliquid / HyperEVM chain TVL only. This is not an exhaustive ecosystem census. Overlapping protocol deposits can double-count capital. Global protocol change figures are omitted because they are not chain-specific.

Units & interpretation

tvlUsd is the provider-reported chain TVL in USD. It is not proof of reserves, solvency or unique capital. chains retains the provider listing context.

Report a numberDisplayed rows and formatted values
Query parameters
ParameterValues / defaultMeaning
slugstringOptionalExact provider protocol slug.
limitinteger1–200Default: 100Maximum rows per response, from 1 to 200. Use a positive integer without leading zeros.
cursorstringOptionalOpaque nextCursor from the preceding response. URL-encode it and keep the same filters. Do not construct or edit cursor contents.

Paging: Canonical protocol ID ascending. Listings and values can change between pages. Restart without a cursor for a fresh traversal.

Dataset fields
id, providerId, name, category
Canonical protocol slug, provider ID and listing labels.
url, chains
Validated HTTP(S) website or null, and listed chains.
tvlUsd
Returned Hyperliquid / HyperEVM TVL in USD.

The OpenAPI contract includes the complete machine-readable row schema and nullable types.

03 / Contract

A consistent response envelope

All dataset JSON responses produced by the application v1 handler, including errors, include source and coverage. The API index uses this envelope too. The successful /api/v1/openapi.json response is the raw OpenAPI document; its application errors use the standard envelope. Domain edge-policy responses generated before the handler are outside this contract and may lack the JSON envelope, source/coverage fields and v1 headers.

Report a numberDisplayed rows and formatted values
Common response fields
FieldTypeInterpretation
apiVersionstringMajor public contract version: "1".
datasetstringDataset identifier.
statusstringavailable, partial, stale, unavailable or error. Availability does not imply complete market coverage.
generatedAtUTC ISO stringWhen this response was generated. It is not the source observation time.
asOfUTC ISO string | nullDataset observation/receipt time; inspect meta.timestampBasis and each row.
window / limitationsobject | null / stringDataset window, UTC timestamp basis and coverage limitations. Missing bounds stay null.
source / sourceUrlstring / optional URLProvider label and optional original source link.
coverageobjectscope, completeness and note, plus dataset-specific counts when available.
dataarrayPublic dataset rows. Missing values remain null. An empty page is valid.
paginationobject | nulllimit, hasMore, nextCursor; null for non-paged datasets.
cacheobjectOrigin status, ageSeconds and ttlSeconds; HTTP cache policy remains no-store.
metaobjectDataset filters, window, ordering, counts and timestamp interpretation.
requestIdstringCorrelation identifier also returned in X-Request-Id.
errorobject, errors onlyMachine-readable code, message and optional invalid parameter.
Illustrative response · not live market data
{
  "apiVersion": "1",
  "dataset": "markets",
  "status": "partial",
  "generatedAt": "2026-11-09T12:00:00.000Z",
  "asOf": "2026-11-09T11:59:50.000Z",
  "source": "Hyperliquid public Info API",
  "sourceUrl": "https://api.hyperliquid.xyz/info",
  "coverage": {
    "scope": "Illustrative market selection",
    "completeness": "partial",
    "note": "Example only; not a live observation."
  },
  "data": [],
  "pagination": {
    "limit": 100,
    "hasMore": false,
    "nextCursor": null
  },
  "cache": {
    "status": "cached",
    "ageSeconds": 10,
    "ttlSeconds": 30
  },
  "meta": {
    "timestampBasis": "retrieval"
  },
  "requestId": "illustrative-request-id"
}

04 / History

Follow every retained page

Start without a cursor. When pagination.hasMore is true, pass pagination.nextCursor back as cursor, preserving the dataset filters. Use URLSearchParams to encode it. Finish when hasMore is false and nextCursor is null. Cursors locate public records; they are not authentication tokens.

Liquidation pages reach the full retained archive, beyond the newest 100 events. Funding pages keep a fixed time window for 24 hours. Market and ecosystem pages read mutable catalogs. The per-dataset notes above explain those consistency limits.

JavaScript · collect all retained liquidation events
const events = new Map();
let cursor = null;
const pause = ms => new Promise(resolve => setTimeout(resolve, ms));

async function readPage(url) {
  for (let attempt = 0; attempt < 3; attempt++) {
    const response = await fetch(url);
    const body = await response.json().catch(() => null);
    const isEnvelope = body?.apiVersion === '1' && Array.isArray(body?.data);
    if (response.ok) {
      if (!isEnvelope) throw new Error('Application v1 JSON envelope missing.');
      return body;
    }
    if (!isEnvelope || ![429, 503].includes(response.status) || attempt === 2) {
      const code = typeof body?.error?.code === 'string'
        ? body.error.code : 'HTTP_' + response.status;
      const message = typeof body?.error?.message === 'string'
        ? body.error.message : 'Non-API response; check the domain edge policy.';
      throw new Error(code + ': ' + message);
    }
    const seconds = Number(response.headers.get('Retry-After')) || 30;
    await pause(seconds * 1000 + Math.random() * 500);
  }
}

do {
  const url = new URL('https://liquid-data.xyz/api/v1/liquidations');
  url.searchParams.set('limit', '100');
  if (cursor) url.searchParams.set('cursor', cursor);
  const page = await readPage(url);
  console.log(page.status, page.coverage);
  for (const event of page.data) events.set(event.id, event);
  cursor = page.pagination?.hasMore ? page.pagination.nextCursor : null;
  if (cursor) await pause(1100);
} while (cursor);
console.log([...events.values()]);

This example deduplicates by event ID, paces page requests and retries application 429/503 envelopes up to three attempts. It stops on non-envelope responses, including edge-policy errors. Other requests from your network share the same rate budget.

05 / Reliability

Rate limits, retries & caching

The application’s shared budget is 60 requests per trusted client IP per fixed UTC minute across every /api/v1 endpoint. It resets at the next minute boundary. GET, HEAD, unsupported methods, invalid requests, cached responses, the API index and OpenAPI document all count when they reach the handler. OPTIONS preflight and the MCP handshake and tool listing are exempt. Each MCP dataset read consumes the shared quota.

Users behind the same public IP share the budget. If a trusted client IP is unavailable, requests share an anonymous bucket, identified by X-RateLimit-Scope: shared-anonymous. Supplying your own forwarded-IP header does not create a separate quota.

If quota storage is unavailable or takes more than 500 ms, the API uses a temporary in-memory budget of 10 requests per client bucket per UTC minute, with a ceiling of 60 total requests per server instance per minute. This keeps usable datasets reachable while limiting load. The fallback is best effort within each instance, not a global quota across instances. Storage recovery is probed after a five-second cooldown; exhausted budgets return 429.

X-RateLimit-Limit
60 normally; 10 per client bucket during fallback, or 60 when the fallback server-instance ceiling is exhausted.
X-RateLimit-Remaining
Requests remaining after this request, also capped by the server-instance budget during fallback.
X-RateLimit-Reset
Next UTC minute boundary as Unix seconds.
X-RateLimit-Scope
ip, shared-anonymous, or isolate when the fallback server-instance ceiling is exhausted.
X-RateLimit-Mode
durable or memory-fallback.
Retry-After
Seconds to wait on 429 or 503. Respect this delay and add a little jitter.
X-API-Version / X-Request-Id
Major contract version and request correlation ID.

These headers are exposed to browser JavaScript through CORS. Remaining, reset, scope and mode are omitted for OPTIONS. A quota-store outage alone does not return 503; unavailable source data still does.

HTTP responses produced by the v1 handler use Cache-Control: no-store, so a CDN cannot bypass the application request budget. Shared origin caching and stored history still protect the upstream sources. The response’s cache object reports origin handling, age and TTL; cached data retains its original observation time. Markets and ecosystem use a 30-second origin cache, liquidations a 120-second collection cache, and funding reads the archive. HYPE reports its per-source refresh intervals in meta.sourceRefreshSeconds.

The limiter stores a server-keyed address digest, not the raw IP, in its counter table. Counters older than two hours are removed in bounded cleanup batches on subsequent API requests. Fallback identities remain only in instance memory, with at most 60 buckets, and are cleared on the first fallback request of a new minute. This describes the API limiter only; it is not a statement about infrastructure access logs.

06 / Failure handling

Handle availability explicitly

The statuses and envelopes below describe application responses. Check HTTP status and whether a v1 JSON envelope is present before reading its fields; domain edge-policy errors can have a different status, body or headers.

Report a numberDisplayed rows and formatted values
HTTP status reference
StatusMeaningClient action
200Usable data or valid empty pageInspect status, coverage, source and observation times. Partial or stale coverage can still return 200.
400Invalid queryFix unsupported, repeated, empty or out-of-range parameters, or a malformed/mismatched/expired cursor.
404Unknown endpointUse one of the versioned paths below.
405Unsupported methodUse GET, HEAD or OPTIONS; see the Allow header.
429Rate limit exceededWait Retry-After seconds, then retry with jitter.
503Source unavailableWait Retry-After seconds. Preserve the unavailable state; do not turn it into a zero-valued observation.

At the dataset level, available means the requested observation set is usable; partial identifies gaps or limited source coverage; stale identifies a retained recovery observation. Those statuses return 200. unavailable returns 503. Request errors use status: error and a machine-readable error.code.

A successful empty liquidation sample does not establish zero market-wide liquidations. A missing funding settlement does not establish zero funding. Preserve those distinctions in downstream charts and exports.

07 / Downloads

CSV wherever there is a table

Use Export table CSV beside a table to download its displayed rows and formatted values. The export follows the table’s current filters, selected period and loaded pages. Source, coverage, export time and page metadata accompany the rows where supplied.

To include more retained rows, load them in the table first or paginate the JSON API. Existing dataset-specific exports remain available for their stated scopes; the table button does not silently fetch hidden pages. Private account tables export only the data already displayed for the signed-in account.

CSV quoting handles commas, quotes, Unicode and line breaks. Spreadsheet formula-like text is escaped. JSON is the appropriate format when you need raw numbers, exact liquidation decimals, nulls and per-row provenance.

Chart recipes

Download the Node.js script or Python script. Use Node.js 22 or later. For Python 3, install matplotlib with python -m pip install matplotlib.

Each script follows cursors, respects retry delays and saves each page’s source, coverage and plotted values. Add --replay after the recipe name to regenerate the chart from its receipt file offline. An empty observation set produces a labeled empty chart.

Hourly HYPE funding (%)

node chart.mjs funding > funding.svg
python chart.py funding

Native market open interest (USDC)

node chart.mjs markets > markets.svg
python chart.py markets

Indexed protocol TVL (USD)

node chart.mjs ecosystem > ecosystem.svg
python chart.py ecosystem

Weekly manifests and public tools

The W46 manifest includes both UTC windows, signed changes, source observations and a card for each included metric. The thread bundle contains the same manifest, frozen snapshot, text and cards. Replace the ISO week for another published edition.

/api/v1/mcp exposes six public read-only tools. Use get_market, get_funding, get_liquidations, get_hype or get_ecosystem for dataset reads. Pass {"week":"2026-w46"} to get_brief for an exact edition.

From a server-side MCP client, send JSON-RPC 2.0 requests by HTTP POST with Content-Type: application/json and Accept: application/json, text/event-stream. Call initialize, send notifications/initialized, then call tools/list and tools/call. Result text contains JSON with the source, UTC window, status, coverage limitations and remaining shared budget. A result with isError: true can include a delay in limits.retryAfterSeconds.

Embed a widget

Widgets use public cached HTML and set no application cookies. The generated iframe requests credentialless loading in supporting browsers. Cloudflare can send its security cookie __cf_bm at the edge.

Open the widget and choose “Get embed code.” Select a theme using ?theme=aura, light or xray.

HYPE · HIP-3 xyz · HyperLend · Weekly brief

08 / Compatibility

Versioning & responsible reuse

These documented paths form the public v1 contract. Breaking field or semantic changes use a new major version. Additive fields and metrics may appear within v1; clients should ignore fields they do not recognize. Existing unversioned application endpoints remain available but are outside this public contract. No uptime or historical-completeness guarantee is implied.

Keep the returned source and coverage labels when presenting the data. Original provider terms may govern redistribution; access through this API does not grant additional rights to upstream data. Ironflow is disabled, and these endpoints do not require an Ironflow key.

ConnectingFeed details

Waiting for streaming market data.

Perpetual contexts and available spot reference prices stream. Individual figures retain their own receipt times. Protocol cards refresh public sources independently; historical charts and issuer reports keep their reporting dates.

Continue the research

See the next layer.

Every dataset