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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/0xfantommenace/0xarchiveWhat This Skill Does
The 0xarchive skill provides a professional-grade gateway for querying historical and real-time crypto market data across high-performance decentralized exchanges. It connects the OpenClaw AI agent to the 0xArchive API, enabling direct access to market intelligence from Hyperliquid, Lighter.xyz, and HIP-3. This skill is designed for traders, analysts, and researchers who need granular, programmatic access to orderbooks, trade history, OHLCV candles, funding rates, open interest, and liquidation events. By abstracting away the complexities of manual API requests, authentication headers, and timestamp conversions, it empowers users to retrieve complex datasets instantly using natural language queries.
Installation
To integrate this skill into your environment, run the following command in your terminal:
clawhub install openclaw/skills/skills/0xfantommenace/0xarchive
Ensure you have configured your environment variable $OXARCHIVE_API_KEY with a valid key before attempting to execute queries, as all requests are authenticated via a bearer-style header requirement.
Use Cases
- Quantitative Trading Analysis: Backtest strategies by fetching high-frequency historical trade data and candles for specific assets on Hyperliquid.
- Risk Management: Monitor market health by tracking real-time funding rates, open interest shifts, and liquidation cascades across multiple DEXs.
- Market Research: Aggregate and compare price performance or liquidity metrics across different DEX architectures, such as comparing standard Hyperliquid perps with HIP-3 builder-specific assets.
- Audit and Verification: Check data quality and freshness metrics for specific coins to ensure the reliability of your automated trading strategies.
Example Prompts
- "Get the current funding rate for BTC on Hyperliquid and compare it with the average funding rate over the last 24 hours."
- "Show me the last 50 liquidation events for the km:US500 asset on the HIP-3 exchange."
- "Fetch the 1-hour OHLCV candles for ETH on Lighter.xyz for the past week."
Tips & Limitations
- Timestamp Handling: The API utilizes Unix milliseconds. If you are calculating date ranges, ensure your offsets match the 1000ms multiplier (e.g., 86400000ms for a full day).
- Coin Naming: Be mindful of the exchange. Hyperliquid and Lighter expect uppercase symbols, whereas HIP-3 requires the specific builder-prefix format (e.g.,
builder:NAME). - Rate Limiting: Always check the
metaobject in the response fornext_cursorvalues when dealing with large datasets to ensure complete data retrieval through pagination. - Authentication: This skill is strictly read-only and requires an active API key; it will not execute trades or manage wallets.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-0xfantommenace-0xarchive": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api