0xarchive
БесплатноБез исполняемых скриптовНе проверенQuery historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open…
от modbender★ 21 звезда на GitHubОб этом скилле
0xArchive API Skill
Query historical and real-time crypto market data from 0xArchive using curl. Three exchanges are supported: Hyperliquid (perps DEX), Lighter.xyz (order-book DEX), and HIP-3 (Hyperliquid builder perps). Data types: orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality metrics.
Authentication
All endpoints require the x-api-key header. The key is read from $OXARCHIVE_API_KEY.
curl -s -H "x-api-key: $OXARCHIVE_API_KEY" "https://api.0xarchive.io/v1/..."
Exchanges & Coin Naming
| Exchange | Path prefix | Coin format | Examples |
|---|---|---|---|
| Hyperliquid | /v1/hyperliquid |
UPPERCASE | BTC, ETH, SOL |
| HIP-3 | /v1/hyperliquid/hip3 |
Case-sensitive, prefix:NAME |
km:US500, xyz:XYZ100 |
| Lighter | /v1/lighter |
UPPERCASE | BTC, ETH |
Hyperliquid and Lighter auto-uppercase the symbol server-side. HIP-3 coin names are passed through as-is.
Timestamps
All timestamps are Unix milliseconds. Use these shell helpers:
NOW=$(( $(date +%s) * 1000 ))
HOUR_AGO=$(( NOW - 3600000 ))
DAY_AGO=$(( NOW - 86400000 ))
WEEK_AGO=$(( NOW - 604800000 ))
Response Format
Every response follows this shape:
{
"success": true,
"data": [ ... ],
"meta": {
"count": 100,
"request_id": "uuid",
"next_cursor": "1706000000000" // present when more pages exist
}
}
Endpoint Reference
Hyperliquid (/v1/hyperliquid)
| Endpoint | Params | Notes |
|---|---|---|
GET /instruments |
-- | List all instruments |
GET /instruments/{symbol} |
-- | Single instrument details |
GET /orderbook/{symbol} |
timestamp, depth |
Latest or at timestamp |
GET /orderbook/{symbol}/history |
start, end, limit, cursor, depth |
Historical snapshots |
GET /trades/{symbol} |
start, end, limit, cursor |
Trade history |
GET /candles/{symbol} |
start, end, limit, cursor, interval |
OHLCV candles |
GET /funding/{symbol}/current |
-- | Current funding rate |
GET /funding/{symbol} |
start, end, limit, cursor, interval |
Funding rate history |
GET /openinterest/{symbol}/current |
-- | Current open interest |
GET /openinterest/{symbol} |
start, end, limit, cursor, interval |
OI history |
GET /liquidations/{symbol} |
start, end, limit, cursor |
Liquidation events |
GET /liquidations/{symbol}/volume |
start, end, limit, cursor, interval |
Aggregated liquidation volume (USD) |
GET /liquidations/user/{address} |
start, end, limit, cursor, coin |
Liquidations for a user |
GET /freshness/{symbol} |
-- | Data freshness per data type |
GET /summary/{symbol} |
-- | Combined market summary (price, funding, OI, volume, liquidations) |
GET /prices/{symbol} |
start, end, limit, cursor, interval |
Mark/oracle/mid price history |
HIP-3 (/v1/hyperliquid/hip3)
Coin names are case-sensitive (e.g., km:US500). No liquidation endpoints. Orderbook requires Pro+ tier.
| Endpoint | Params | Notes |
|---|---|---|
GET /instruments |
-- | List HIP-3 instruments |
GET /instruments/{coin} |
-- | Single instrument |
GET /orderbook/{coin} |
timestamp, depth |
Requires Pro+ tier |
GET /orderbook/{coin}/history |
start, end, limit, cursor, depth |
Requires Pro+ tier |
GET /trades/{coin} |
start, end, limit, cursor |
Trade history |
GET /trades/{coin}/recent |
limit |
Recent trades (no time range needed) |
GET /candles/{coin} |
start, end, limit, cursor, interval |
OHLCV candles |
GET /funding/{coin}/current |
-- | Current funding rate |
GET /funding/{coin} |
start, end, limit, cursor, interval |
Funding history |
GET /openinterest/{coin}/current |
-- | Current OI |
GET /openinterest/{coin} |
start, end, limit, cursor, interval |
OI history |
GET /freshness/{coin} |
-- | Data freshness per data type |
GET /summary/{coin} |
-- | Combined market summary (price, funding, OI) |
GET /prices/{coin} |
start, end, limit, cursor, interval |
Mark/oracle/mid price history |
Lighter (/v1/lighter)
Same data types as Hyperliquid except: no liquidations. Adds granularity on orderbook history and /recent trades.
| Endpoint | Params | Notes |
|---|---|---|
GET /instruments |
-- | List Lighter instruments |
GET /instruments/{symbol} |
-- | Single instrument |
GET /orderbook/{symbol} |
timestamp, depth |
Latest or at timestamp |
GET /orderbook/{symbol}/history |
start, end, limit, cursor, depth, granularity |
Default granularity: checkpoint |
GET /trades/{symbol} |
start, end, limit, cursor |
Trade history |
| `GET |
Установить 0xarchive в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashFAQ
Что делает скилл 0xarchive?
Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user asks about crypto market data, orderbooks, trades, funding rates, or historical prices on Hyperliquid, Lighter.xyz, or HIP-3.
Как установить скилл 0xarchive?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл 0xarchive запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic