OpenClaw Skill

Crypto Market Data
for Your AI Agent

Give your OpenClaw agent access to historical order books, trades, funding rates, and more across Hyperliquid and Lighter.xyz. One command to install.

openclaw install 0xarchive

Free tier includes BTC data — no credit card required.

20B+
Data Points
215+
Instruments
2
Exchanges
1,000+
Days of History

Ask in Plain English

No API docs to read. Just tell your agent what data you need.

/0xarchive:query BTC funding rate

Current and historical funding rates

/0xarchive:query ETH 4h candles last week

OHLCV candle data at any interval

/0xarchive:query SOL orderbook depth 20

L2 order book snapshots

/0xarchive:query BTC trades last hour

Tick-level trade history

/0xarchive:query system health status

Data quality and coverage checks

Up and Running in 2 Minutes

Three steps. No dependencies. No config files.

1

Install the skill

openclaw install 0xarchive
2

Set your API key

export OXARCHIVE_API_KEY=0xa_your_api_key
3

Start querying

/0xarchive:query BTC orderbook

Multi-Exchange Coverage

Query two perpetuals exchanges through a single skill.

Hyperliquid

Data from April 2023
  • Order Books
  • Trades
  • Candles
  • Funding Rates
  • Open Interest
  • Liquidations

Lighter.xyz

Data from January 2026
  • Order Books
  • Trades
  • Candles
  • Funding Rates
  • Open Interest

HIP-3 (Hyperliquid)

Data from February 2026
  • Order Books
  • Trades
  • Candles
  • Funding Rates
  • Open Interest
x402 Protocol

Agentic API Key Gateway

Your agent can get its own API key and upgrade to a paid tier — no browser, no email, no human in the loop. Just wallet signatures.

Free Key

Sign a SIWE message to create an account and get a free API key. No email required.

Pay with USDC

Upgrade via x402 payment on Base. No gas required — uses EIP-3009 transferWithAuthorization.

Fully Autonomous

Agents self-provision keys, manage access, and upgrade tiers without any human intervention.

from eth_account.messages import encode_defunct
from eth_account import Account
import requests
# 1. Get SIWE challenge
challenge = requests.post("https://api.0xarchive.io/auth/web3/challenge",
json={"address": wallet.address}).json()
# 2. Sign and get free API key
sig = Account.sign_message(
encode_defunct(text=challenge["message"]),
private_key=PRIVATE_KEY)
result = requests.post("https://api.0xarchive.io/web3/signup",
json={"message": challenge["message"],
"signature": sig.signature.hex()}).json()
print(result["api_key"]) # 0xa_live_...

Built for AI Agents

Structured data that agents can reason over without parsing HTML or scraping.

Zero Dependencies

Just curl under the hood. No Node.js, no Python packages, no build steps.

Structured JSON

Clean JSON responses your agent can parse and reason over. No scraping needed.

Sub-50ms Responses

Fast enough for real-time agent workflows. No waiting for data.

Deep History

Over 1,000 days of tick-level data. Backtest strategies with real market conditions.

Bulk Export

S3 Parquet bulk export for large datasets. Build local data pipelines through your agent.

Historical Replay

Replay order books with original timing at up to 1000x speed. Perfect for agent-driven backtests.

Get Started Now

Create a free account, grab an API key, and install the skill.

openclaw install 0xarchive