{"id":"5a4815d6-ec22-41d0-9e82-fa467f7d9a02","entityType":"agent","slug":"clawhub-skills-0xfantommenace-0xarchive","name":"0xarchive","canonicalUrl":"https://www.xpersona.co/agent/clawhub-skills-0xfantommenace-0xarchive","canonicalPath":"/agent/clawhub-skills-0xfantommenace-0xarchive","generatedAt":"2026-10-10T06:26:48.872Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"description":"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. --- name: 0xarchive version: 1.3.0 description: > 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. allowed-tools: Bash argument-hint","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.","installCommand":"clawhub skill install skills:0xfantommenace:0xarchive","sourceUrl":"https://github.com/openclaw/skills/tree/main/skills/0xfantommenace/0xarchive","homepage":null,"primaryLinks":[{"label":"View on ClawHub","url":"https://github.com/openclaw/skills/tree/main/skills/0xfantommenace/0xarchive","kind":"source"}],"safetyScore":84,"overallRank":62,"popularityScore":50,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest,"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"no-adoption-signals","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No source adoption metrics were available."},"stars":null,"forks":null,"downloads":null,"packageName":null,"latestVersion":null,"tractionLabel":null},"release":{"evidence":{"source":"agent-index","verified":false,"confidence":"medium","updatedAt":"2026-02-28T15:28:29.631Z","emptyReason":null},"lastUpdatedAt":"2026-04-15T00:45:39.800Z","lastCrawledAt":"2026-02-28T15:28:29.631Z","lastIndexedAt":null,"nextCrawlAt":"2026-03-01T15:28:29.631Z","lastVerifiedAt":null,"highlights":[]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install skills:0xfantommenace:0xarchive","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xfantommenace-0xarchive/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xfantommenace-0xarchive/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xfantommenace-0xarchive/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xfantommenace-0xarchive/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xfantommenace-0xarchive/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xfantommenace-0xarchive/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T06:26:48.871Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xfantommenace-0xarchive/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xfantommenace-0xarchive/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xfantommenace-0xarchive/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-skills-0xfantommenace-0xarchive/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"readme":"---\r\nname: 0xarchive\r\nversion: 1.3.0\r\ndescription: >\r\n  Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3.\r\n  Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality.\r\n  Use when the user asks about crypto market data, orderbooks, trades, funding rates, or historical prices on Hyperliquid, Lighter.xyz, or HIP-3.\r\nallowed-tools: Bash\r\nargument-hint: \"query, e.g. 'BTC funding rate' or 'ETH 4h candles last week'\"\r\nmetadata: {\"openclaw\":{\"requires\":{\"env\":[\"OXARCHIVE_API_KEY\"]},\"primaryEnv\":\"OXARCHIVE_API_KEY\"}}\r\n---\r\n\r\n# 0xArchive API Skill\r\n\r\nQuery 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.\r\n\r\n## Authentication\r\n\r\nAll endpoints require the `x-api-key` header. The key is read from `$OXARCHIVE_API_KEY`.\r\n\r\n```bash\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \"https://api.0xarchive.io/v1/...\"\r\n```\r\n\r\n## Exchanges & Coin Naming\r\n\r\n| Exchange | Path prefix | Coin format | Examples |\r\n|----------|-------------|-------------|---------|\r\n| Hyperliquid | `/v1/hyperliquid` | UPPERCASE | `BTC`, `ETH`, `SOL` |\r\n| HIP-3 | `/v1/hyperliquid/hip3` | Case-sensitive, `prefix:NAME` | `km:US500`, `xyz:XYZ100` |\r\n| Lighter | `/v1/lighter` | UPPERCASE | `BTC`, `ETH` |\r\n\r\nHyperliquid and Lighter auto-uppercase the symbol server-side. HIP-3 coin names are passed through as-is.\r\n\r\n## Timestamps\r\n\r\nAll timestamps are **Unix milliseconds**. Use these shell helpers:\r\n\r\n```bash\r\nNOW=$(( $(date +%s) * 1000 ))\r\nHOUR_AGO=$(( NOW - 3600000 ))\r\nDAY_AGO=$(( NOW - 86400000 ))\r\nWEEK_AGO=$(( NOW - 604800000 ))\r\n```\r\n\r\n## Response Format\r\n\r\nEvery response follows this shape:\r\n\r\n```json\r\n{\r\n  \"success\": true,\r\n  \"data\": [ ... ],\r\n  \"meta\": {\r\n    \"count\": 100,\r\n    \"request_id\": \"uuid\",\r\n    \"next_cursor\": \"1706000000000\"   // present when more pages exist\r\n  }\r\n}\r\n```\r\n\r\n## Endpoint Reference\r\n\r\n### Hyperliquid (`/v1/hyperliquid`)\r\n\r\n| Endpoint | Params | Notes |\r\n|----------|--------|-------|\r\n| `GET /instruments` | -- | List all instruments |\r\n| `GET /instruments/{symbol}` | -- | Single instrument details |\r\n| `GET /orderbook/{symbol}` | `timestamp`, `depth` | Latest or at timestamp |\r\n| `GET /orderbook/{symbol}/history` | `start`, `end`, `limit`, `cursor`, `depth` | Historical snapshots |\r\n| `GET /trades/{symbol}` | `start`, `end`, `limit`, `cursor` | Trade history |\r\n| `GET /candles/{symbol}` | `start`, `end`, `limit`, `cursor`, `interval` | OHLCV candles |\r\n| `GET /funding/{symbol}/current` | -- | Current funding rate |\r\n| `GET /funding/{symbol}` | `start`, `end`, `limit`, `cursor`, `interval` | Funding rate history |\r\n| `GET /openinterest/{symbol}/current` | -- | Current open interest |\r\n| `GET /openinterest/{symbol}` | `start`, `end`, `limit`, `cursor`, `interval` | OI history |\r\n| `GET /liquidations/{symbol}` | `start`, `end`, `limit`, `cursor` | Liquidation events |\r\n| `GET /liquidations/{symbol}/volume` | `start`, `end`, `limit`, `cursor`, `interval` | Aggregated liquidation volume (USD) |\r\n| `GET /liquidations/user/{address}` | `start`, `end`, `limit`, `cursor`, `coin` | Liquidations for a user |\r\n| `GET /freshness/{symbol}` | -- | Data freshness per data type |\r\n| `GET /summary/{symbol}` | -- | Combined market summary (price, funding, OI, volume, liquidations) |\r\n| `GET /prices/{symbol}` | `start`, `end`, `limit`, `cursor`, `interval` | Mark/oracle/mid price history |\r\n\r\n### HIP-3 (`/v1/hyperliquid/hip3`)\r\n\r\nCoin names are **case-sensitive** (e.g., `km:US500`). No liquidation endpoints. Orderbook requires Pro+ tier.\r\n\r\n| Endpoint | Params | Notes |\r\n|----------|--------|-------|\r\n| `GET /instruments` | -- | List HIP-3 instruments |\r\n| `GET /instruments/{coin}` | -- | Single instrument |\r\n| `GET /orderbook/{coin}` | `timestamp`, `depth` | Requires Pro+ tier |\r\n| `GET /orderbook/{coin}/history` | `start`, `end`, `limit`, `cursor`, `depth` | Requires Pro+ tier |\r\n| `GET /trades/{coin}` | `start`, `end`, `limit`, `cursor` | Trade history |\r\n| `GET /trades/{coin}/recent` | `limit` | Recent trades (no time range needed) |\r\n| `GET /candles/{coin}` | `start`, `end`, `limit`, `cursor`, `interval` | OHLCV candles |\r\n| `GET /funding/{coin}/current` | -- | Current funding rate |\r\n| `GET /funding/{coin}` | `start`, `end`, `limit`, `cursor`, `interval` | Funding history |\r\n| `GET /openinterest/{coin}/current` | -- | Current OI |\r\n| `GET /openinterest/{coin}` | `start`, `end`, `limit`, `cursor`, `interval` | OI history |\r\n| `GET /freshness/{coin}` | -- | Data freshness per data type |\r\n| `GET /summary/{coin}` | -- | Combined market summary (price, funding, OI) |\r\n| `GET /prices/{coin}` | `start`, `end`, `limit`, `cursor`, `interval` | Mark/oracle/mid price history |\r\n\r\n### Lighter (`/v1/lighter`)\r\n\r\nSame data types as Hyperliquid except: no liquidations. Adds `granularity` on orderbook history and `/recent` trades.\r\n\r\n| Endpoint | Params | Notes |\r\n|----------|--------|-------|\r\n| `GET /instruments` | -- | List Lighter instruments |\r\n| `GET /instruments/{symbol}` | -- | Single instrument |\r\n| `GET /orderbook/{symbol}` | `timestamp`, `depth` | Latest or at timestamp |\r\n| `GET /orderbook/{symbol}/history` | `start`, `end`, `limit`, `cursor`, `depth`, `granularity` | Default granularity: `checkpoint` |\r\n| `GET /trades/{symbol}` | `start`, `end`, `limit`, `cursor` | Trade history |\r\n| `GET /trades/{symbol}/recent` | `limit` | Recent trades (no time range needed) |\r\n| `GET /candles/{symbol}` | `start`, `end`, `limit`, `cursor`, `interval` | OHLCV candles |\r\n| `GET /funding/{symbol}/current` | -- | Current funding rate |\r\n| `GET /funding/{symbol}` | `start`, `end`, `limit`, `cursor`, `interval` | Funding history |\r\n| `GET /openinterest/{symbol}/current` | -- | Current OI |\r\n| `GET /openinterest/{symbol}` | `start`, `end`, `limit`, `cursor`, `interval` | OI history |\r\n| `GET /freshness/{symbol}` | -- | Data freshness per data type |\r\n| `GET /summary/{symbol}` | -- | Combined market summary (price, funding, OI) |\r\n| `GET /prices/{symbol}` | `start`, `end`, `limit`, `cursor`, `interval` | Mark/oracle price history |\r\n\r\n### Data Quality (`/v1/data-quality`)\r\n\r\n| Endpoint | Params | Notes |\r\n|----------|--------|-------|\r\n| `GET /status` | -- | System health status |\r\n| `GET /coverage` | -- | Coverage summary, all exchanges |\r\n| `GET /coverage/{exchange}` | -- | Coverage for one exchange |\r\n| `GET /coverage/{exchange}/{symbol}` | `from`, `to` | Symbol-level coverage + gaps |\r\n| `GET /incidents` | `status`, `exchange`, `since`, `limit`, `offset` | List incidents |\r\n| `GET /incidents/{id}` | -- | Single incident |\r\n| `GET /latency` | -- | Ingestion latency metrics |\r\n| `GET /sla` | `year`, `month` | SLA compliance report |\r\n\r\n### Web3 Authentication (`/v1`)\r\n\r\nGet API keys programmatically using an Ethereum wallet (SIWE). No API key required for these endpoints.\r\n\r\n| Endpoint | Params | Notes |\r\n|----------|--------|-------|\r\n| `POST /auth/web3/challenge` | `address` (wallet address) | Returns SIWE message to sign |\r\n| `POST /web3/signup` | `message`, `signature` | Returns free-tier API key |\r\n| `POST /web3/keys` | `message`, `signature` | List all keys for wallet |\r\n| `POST /web3/keys/revoke` | `message`, `signature`, `key_id` | Revoke a key |\r\n| `POST /web3/subscribe` | `tier` (`build` or `pro`), `payment-signature` header | x402 USDC subscription (see flow below) |\r\n\r\n**Free-tier flow:** Call `/auth/web3/challenge` with wallet address → sign the returned message with `personal_sign` (EIP-191) → submit to `/web3/signup` with the message and signature → receive API key.\r\n\r\n**Paid-tier flow (x402):**\r\n\r\n1. `POST /web3/subscribe` with `{ \"tier\": \"build\" }` → server returns 402 with `payment.amount` (micro-USDC), `payment.pay_to` (treasury address), `payment.network`.\r\n2. Sign an EIP-712 `TransferWithAuthorization` (EIP-3009) on USDC Base:\r\n   - Domain: `{ name: \"USD Coin\", version: \"2\", chainId: 8453, verifyingContract: \"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\" }`\r\n   - Type: `TransferWithAuthorization(address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce)`\r\n   - Message: `{ from: <wallet>, to: <pay_to>, value: <amount>, validAfter: 0, validBefore: <now+3600>, nonce: <32 random bytes hex> }`\r\n3. Build x402 v2 payment payload:\r\n   ```json\r\n   {\r\n     \"x402Version\": 2,\r\n     \"payload\": {\r\n       \"signature\": \"0x<EIP-712 signature hex>\",\r\n       \"authorization\": {\r\n         \"from\": \"0x<wallet>\",\r\n         \"to\": \"0x<pay_to from step 1>\",\r\n         \"value\": \"<amount as string>\",\r\n         \"validAfter\": \"0\",\r\n         \"validBefore\": \"<unix timestamp as string>\",\r\n         \"nonce\": \"0x<64 hex chars>\"\r\n       }\r\n     }\r\n   }\r\n   ```\r\n4. Base64-encode the JSON and retry: `POST /web3/subscribe` with `{ \"tier\": \"build\" }` and header `payment-signature: <base64 payload>` → receive API key + subscription.\r\n\r\n**Important:** All `authorization` values (`value`, `validAfter`, `validBefore`) must be strings, not numbers. See `scripts/web3_subscribe.py` for a complete working Python implementation.\r\n\r\n## Common Parameters\r\n\r\n| Param | Type | Description |\r\n|-------|------|-------------|\r\n| `start` | int | Start timestamp (Unix ms). Defaults to 24h ago. |\r\n| `end` | int | End timestamp (Unix ms). Defaults to now. |\r\n| `limit` | int | Max records. Default 100, max 1000 (max 10000 for candles). |\r\n| `cursor` | string | Pagination cursor from `meta.next_cursor`. |\r\n| `interval` | string | Candle interval: `1m`, `5m`, `15m`, `30m`, `1h`, `4h`, `1d`, `1w`. Default: `1h`. For OI/funding: `5m`, `15m`, `30m`, `1h`, `4h`, `1d`. Omit for raw data. |\r\n| `depth` | int | Orderbook depth (number of price levels per side). |\r\n| `granularity` | string | Lighter orderbook resolution: `checkpoint` (default), `30s`, `10s`, `1s`, `tick`. |\r\n\r\n## Smart Defaults\r\n\r\nWhen the user does not specify a time range, default to the **last 24 hours**:\r\n\r\n```bash\r\nNOW=$(( $(date +%s) * 1000 ))\r\nDAY_AGO=$(( NOW - 86400000 ))\r\n```\r\n\r\nFor candles with no explicit range, default to a range that makes sense for the interval (e.g., last 7 days for 4h candles, last 30 days for 1d candles).\r\n\r\n## Pagination\r\n\r\nWhen `meta.next_cursor` is present in the response, more data is available. Append `&cursor=VALUE` to fetch the next page:\r\n\r\n```bash\r\n# First page\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/trades/BTC?start=$START&end=$END&limit=1000\"\r\n\r\n# Next page (use next_cursor from previous response)\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/trades/BTC?start=$START&end=$END&limit=1000&cursor=1706000000000_12345\"\r\n```\r\n\r\n## Tier Limits\r\n\r\n| Tier | Price | Coins | Orderbook Depth | Lighter Granularity | Historical Depth | Rate Limit |\r\n|------|-------|-------|-----------------|---------------------|------------------|------------|\r\n| Free | $0 | BTC only (HIP-3: km:US500 only) | 20 levels | -- | 30 days | 15 RPS |\r\n| Build | $49/mo | All | 50 levels | checkpoint, 30s, 10s | 1 year | 50 RPS |\r\n| Pro | $199/mo | All | 100 levels | + 1s | Full history | 150 RPS |\r\n| Enterprise | Custom | All | Full depth | + tick | Full history | Custom |\r\n\r\n## Error Handling\r\n\r\n| HTTP Status | Meaning | Action |\r\n|-------------|---------|--------|\r\n| 400 | Bad request / validation error | Check params (missing start/end, invalid interval) |\r\n| 401 | Missing or invalid API key | Set `$OXARCHIVE_API_KEY` |\r\n| 403 | Tier restriction | Upgrade plan (e.g., non-BTC coin on Free tier) |\r\n| 404 | Symbol not found | Check coin name spelling and exchange |\r\n| 429 | Rate limited | Back off and retry |\r\n\r\nError responses return `{ \"code\": 400, \"error\": \"description\" }`.\r\n\r\n## Example Queries\r\n\r\n```bash\r\n# List Hyperliquid instruments\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/instruments\" | jq '.data | length'\r\n\r\n# Current BTC orderbook (top 10 levels)\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/orderbook/BTC?depth=10\" | jq '.data'\r\n\r\n# ETH trades from the last hour\r\nNOW=$(( $(date +%s) * 1000 )); HOUR_AGO=$(( NOW - 3600000 ))\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/trades/ETH?start=$HOUR_AGO&end=$NOW&limit=100\" | jq '.data'\r\n\r\n# SOL 4h candles for the last week\r\nNOW=$(( $(date +%s) * 1000 )); WEEK_AGO=$(( NOW - 604800000 ))\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/candles/SOL?start=$WEEK_AGO&end=$NOW&interval=4h\" | jq '.data'\r\n\r\n# Current BTC funding rate\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/funding/BTC/current\" | jq '.data'\r\n\r\n# BTC open interest aggregated to 1h intervals (last week)\r\nNOW=$(( $(date +%s) * 1000 )); WEEK_AGO=$(( NOW - 604800000 ))\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/openinterest/BTC?start=$WEEK_AGO&end=$NOW&interval=1h\" | jq '.data'\r\n\r\n# ETH funding rates aggregated to 4h intervals (last 30 days)\r\nNOW=$(( $(date +%s) * 1000 )); MONTH_AGO=$(( NOW - 2592000000 ))\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/funding/ETH?start=$MONTH_AGO&end=$NOW&interval=4h\" | jq '.data'\r\n\r\n# HIP-3 km:US500 candles (last 24h, 1h interval)\r\nNOW=$(( $(date +%s) * 1000 )); DAY_AGO=$(( NOW - 86400000 ))\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/hip3/candles/km:US500?start=$DAY_AGO&end=$NOW&interval=1h\" | jq '.data'\r\n\r\n# Lighter BTC orderbook history (30s granularity, last hour)\r\nNOW=$(( $(date +%s) * 1000 )); HOUR_AGO=$(( NOW - 3600000 ))\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/lighter/orderbook/BTC/history?start=$HOUR_AGO&end=$NOW&granularity=30s&limit=100\" | jq '.data'\r\n\r\n# System health status\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/data-quality/status\" | jq '.'\r\n\r\n# SLA report for current month\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/data-quality/sla\" | jq '.'\r\n\r\n# BTC market summary (price, funding, OI, volume, liquidations in one call)\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/summary/BTC\" | jq '.data'\r\n\r\n# BTC data freshness (lag per data type)\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/freshness/BTC\" | jq '.data'\r\n\r\n# BTC price history (mark/oracle/mid) aggregated to 1h\r\nNOW=$(( $(date +%s) * 1000 )); DAY_AGO=$(( NOW - 86400000 ))\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/prices/BTC?start=$DAY_AGO&end=$NOW&interval=1h\" | jq '.data'\r\n\r\n# BTC liquidation volume aggregated to 4h buckets\r\nNOW=$(( $(date +%s) * 1000 )); WEEK_AGO=$(( NOW - 604800000 ))\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/hyperliquid/liquidations/BTC/volume?start=$WEEK_AGO&end=$NOW&interval=4h\" | jq '.data'\r\n\r\n# Data coverage for Hyperliquid BTC\r\ncurl -s -H \"x-api-key: $OXARCHIVE_API_KEY\" \\\r\n  \"https://api.0xarchive.io/v1/data-quality/coverage/hyperliquid/BTC\" | jq '.'\r\n```\r\n\r\n","readmeExcerpt":"--- name: 0xarchive version: 1.3.0 description: > 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. allowed-tools: Bash argument-hint","codeSnippets":[],"executableExamples":[],"parameters":{},"dependencies":[],"permissions":[],"extractedFiles":[],"languages":["typescript"],"docsSourceLabel":"CLAWHUB","editorialOverview":"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. --- name: 0xarchive version: 1.3.0 description: > 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. allowed-tools: Bash argument-hint","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":396,"uniquenessScore":62,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T06:26:48.872Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}