0xarchive
Installation
SKILL.md
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 |