Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Add webhook watched address
0XARCHIVE_MCP_ADD_WEBHOOK_WATCHED_ADDRESSWatch an address so its account.* events are detected and delivered to your account.* subscriptions. Re-adding an address you already watch is a no-op. Hyperliquid bridge system addresses (0x2000... token addresses and 0x2222...2222) are refused with an explanation: they are counterparties to every Core to EVM move of a token, not accounts; watch the account on your side of the bridge instead. Watching an address changes what is detected, not what is delivered: a subscription still has to name the event type, and an account.* rule with no addresses of its own covers every address you watch. Stop watching one with delete_webhook_watched_address. Plan allowance, as endpoints / subscriptions / watched wallets / deliveries per day: Build and the Build trial 1 / 8 / 2 / 5,000; Pro 4 / 40 / 15 / 50,000; Scale 12 / 200 / 50 / 500,000; Enterprise is negotiated. Free has no webhook delivery at all (0 / 0 / 0 / 0), so creating an endpoint, a subscription or a watched wallet is refused on Free, and a plan string the server does not recognise is treated the same way. Free does keep both previews: estimate_webhook_subscription and dry_run_webhook_subscription answer on every plan, so a rule can be designed and sized before there is anywhere to deliver it. get_webhook_limits reports what this account has used and has left.
Create webhook endpoint
0XARCHIVE_MCP_CREATE_WEBHOOK_ENDPOINTRegister a public HTTPS URL to receive webhook events. Returns the endpoint and its signing secret exactly once; store the secret. Each delivery is a POSTed JSON body {id, type, schema_version, observed_at, late_ms, late, data} with an '0xa-signature' header of the form t=<unix seconds>,v1=<hex>, where v1 is HMAC-SHA256 over '<t>.<raw body>' with the secret. late is true when the occurrence was more than 10 minutes old when it was queued (the engine or a feed was catching up); late_ms is that age in milliseconds; both are absent on export.job.*, webhook.test and the per-symbol archive/ingest events. Plain http, loopback and private-network destinations are rejected, at create time and again on every dispatch. The secret is returned by this call and never again by any list or get, so store it before doing anything else; rotate_webhook_endpoint_secret is the only way to get another one, and it replaces this one. A new endpoint is active straight away but receives nothing until a subscription points at it (create_webhook_subscription); test_webhook_endpoint proves the receiver and its signature check before any real rule depends on it. Plan allowance, as endpoints / subscriptions / watched wallets / deliveries per day: Build and the Build trial 1 / 8 / 2 / 5,000; Pro 4 / 40 / 15 / 50,000; Scale 12 / 200 / 50 / 500,000; Enterprise is negotiated. Free has no webhook delivery at all (0 / 0 / 0 / 0), so creating an endpoint, a subscription or a watched wallet is refused on Free, and a plan string the server does not recognise is treated the same way. Free does keep both previews: estimate_webhook_subscription and dry_run_webhook_subscription answer on every plan, so a rule can be designed and sized before there is anywhere to deliver it. get_webhook_limits reports what this account has used and has left.
Create webhook subscription
0XARCHIVE_MCP_CREATE_WEBHOOK_SUBSCRIPTIONSubscribe an endpoint to an event type with your own configuration; the subscription starts enabled. Scope with venue and symbols where the event declares those filters, and with addresses (a subset of your watched addresses) for account.* events. Add conditions over the metrics the event declares (all must hold) and params where it declares them; anything undeclared, off-menu or out of range is rejected with an error that names what is allowed. No conditions means every occurrence: account.fill with no conditions is every fill of a watched address. Read list_webhook_event_types first for the declaration, and use dry_run_webhook_subscription to see what the same configuration would have matched recently before creating it. Event types with live=false cannot be subscribed yet. Destructive through its effect: the subscription starts enabled, so matching events begin delivering to the endpoint's receiver at once, and a delivered event cannot be recalled. Plan allowance, as endpoints / subscriptions / watched wallets / deliveries per day: Build and the Build trial 1 / 8 / 2 / 5,000; Pro 4 / 40 / 15 / 50,000; Scale 12 / 200 / 50 / 500,000; Enterprise is negotiated. Free has no webhook delivery at all (0 / 0 / 0 / 0), so creating an endpoint, a subscription or a watched wallet is refused on Free, and a plan string the server does not recognise is treated the same way. Free does keep both previews: estimate_webhook_subscription and dry_run_webhook_subscription answer on every plan, so a rule can be designed and sized before there is anywhere to deliver it. get_webhook_limits reports what this account has used and has left. Past the daily delivery allowance the crossing rule is paused, buffering nothing, until resume_webhook_subscription (resume_all_webhook_subscriptions for all); recover the paused window from the REST archive. Relative metrics and burst threshold modes: see the conditions input. Call estimate_webhook_subscription before creating to see how often a rule would fire.
Delete webhook endpoint
0XARCHIVE_MCP_DELETE_WEBHOOK_ENDPOINTDelete an endpoint permanently. Destructive and not reversible: delivery to that URL stops at once, every subscription pointing at it is deleted with it, its delivery history goes too, and its signing secret cannot be recovered. Confirm with the customer before calling it. To stop delivery without losing anything, switch the rules off instead with update_webhook_subscription enabled false, or delete only the one rule you no longer want with delete_webhook_subscription. Deleting frees an endpoint slot against the plan allowance. Returns the deleted endpoint id.
Delete webhook subscription
0XARCHIVE_MCP_DELETE_WEBHOOK_SUBSCRIPTIONDelete a subscription permanently. Destructive and not reversible: the rule stops firing at once and its configuration is gone, so a rule that took tuning is worth reading back with list_webhook_subscriptions before it is deleted. To stop delivery for a while and keep the configuration, call update_webhook_subscription with enabled false and turn it on again later. The endpoint and every other rule on it are untouched, and deleting frees a subscription slot against the plan allowance. Returns the deleted subscription id.
Delete webhook watched address
0XARCHIVE_MCP_DELETE_WEBHOOK_WATCHED_ADDRESSStop watching an address. Destructive: account.* detection for that address stops at once, and any subscription whose configuration names it stops matching it, while the subscription itself stays in place and keeps its slot. Takes the watched-address id from list_webhook_watched_addresses, not the 0x address itself. Nothing is backfilled if the address is watched again later: events from the unwatched window were never detected, so read them from the REST archive instead. Frees a watched wallet slot against the plan allowance. Returns the deleted id.
Dry run webhook subscription
0XARCHIVE_MCP_DRY_RUN_WEBHOOK_SUBSCRIPTIONReplay a subscription configuration over real recent data without creating anything: the engine runs its live scan and matcher over the last lookback_s seconds and returns what would have been delivered, newest first. Use it to check a configuration before creating or updating one. Takes create's configuration minus endpoint_id, validated the same way. Available today for account.fill, account.transfer and market.liquidation; other event types are refused with the supported list, and account.* types need at least one watched address. At most 6 dry-runs per minute per account; retry a 503 (engine briefly unavailable) shortly. Returns event_type, window {from, to} (from is later than asked when a capped scan stopped short), matched, truncated (more matched than returned, or a scan hit its cap) and occurrences [{observed_at_estimate, data}], data being a delivery's data field. Use estimate_webhook_subscription for the per-day rate over up to 30 days. Relative metrics: market.liquidation, account.liquidated, account.fill and market.liquidation_burst also declare notional_pct_volume_1h and notional_pct_volume_24h (the event's notional as a percent of the market's trailing 1 hour or 24 hour volume; null while that volume is under 10k USD) and notional_pct_oi (percent of the market's current open interest; null on spot), and account.fill adds notional_pct_wallet_volume_30d (percent of the wallet's own 30 day volume). Example: {"metric": "notional_pct_volume_1h", "op": ">=", "value": 2} is a liquidation of at least 2 % of the market's hourly volume; notional_pct_oi >= 1 is at least 1 % of open interest. market.liquidation_burst sizes its threshold with threshold_mode (usd, pct_oi or pct_volume_1h; default usd): threshold_usd in usd mode, threshold_pct (a percent, default 1) in the other two, e.g. params {"window_s": 300, "threshold_mode": "pct_oi", "threshold_pct": 0.5}. Call estimate_webhook_subscription before creating or changing a subscription to see how often the configuration would have fired per day.
Enable webhook endpoint
0XARCHIVE_MCP_ENABLE_WEBHOOK_ENDPOINTPut an endpoint back into service after delivery to it stopped. The dispatcher disables an endpoint on its own after 10 consecutive failed deliveries spanning at least 6 hours; while it is disabled nothing is delivered to it and redeliver_webhook_delivery is refused, so an endpoint whose status is not active is the first thing to check when events go quiet. Use it once the receiver is actually fixed: read list_webhook_endpoints for status and consecutive_failures, fix the receiver, enable, then test_webhook_endpoint to prove it before the real rules resume. Enabling clears the failure counter, so a fresh failure run starts from zero. It does not replay anything: nothing was buffered while the endpoint was off, and that gap is recovered by reading the REST archive over the window. Subscriptions keep their own enabled flag, so a rule that was switched off stays off. Destructive in the MCP sense: enabling clears the failure counter and restarts delivery; repeating it changes nothing more. Returns the endpoint id and its new status.
Estimate webhook subscription
0XARCHIVE_MCP_ESTIMATE_WEBHOOK_SUBSCRIPTIONEstimate how often a subscription configuration would have fired over the last lookback_days days, per day, without creating anything: the engine counts the occurrences this exact configuration (the same venue, symbols, addresses, params and conditions you would give create_webhook_subscription) would have delivered and adds a threshold ladder so you can pick a rate before subscribing. Returns event_type, window {from, to}, days, total, per_day [{date, count}] (oldest first; days with nothing are present with count 0), per_day_p50, per_day_max, primary_metric (the metric the ladder steps over, such as notional_usd; null when the event has none), ladder [{value, per_day}] (ten ascending values of primary_metric with the fires per day each would give if used as the threshold; read it as 'at value X this fires about per_day times a day'; empty when there is no ladder), distribution {n, p50, p90, p99, max} of primary_metric across the matched occurrences (null when there were none), sample (up to 5 [{observed_at_estimate, data}], data being what a delivery's data field would contain) and basis {mode, note}: exact means every occurrence in the window was counted, sampled means the counts are approximate, taken from a sample of the window, replayed means the detector was re-run over history, which is how windowed types such as market.liquidation_burst are counted; note carries any caveat. Supported today: account.fill, account.transfer, account.liquidated, market.liquidation, market.pga_payment, hip4.settlement, market.liquidation_burst, market.oi_delta, oracle.jump and market.funding_flip; other event types are refused with the supported list. account.* types count only your watched addresses. Validated exactly like create. Shares the budget of dry_run_webhook_subscription: at most 6 calls per minute per account across both; a 503 means the estimator is temporarily unavailable, retry shortly. Use dry_run_webhook_subscription to inspect individual recent occurrences and this tool to size the rate.
Get account position changes
0XARCHIVE_MCP_GET_ACCOUNT_POSITION_CHANGESGet the position change log for one account over [start, end): one row per fill leg on the account, with side (B/A as in trades), price, size, start_position, end_position, entry_price_after, event_type (how the leg changed the position), cause, fee, fee_token, trade_id, order_id, opened_at and continuity (ok, inferred, first_seen or quarantined). hyperliquid and hip3 rows add direction, closed_pnl, crossed and seq (plus block_number and event_index where recorded); Lighter rows add realized_pnl, is_maker, position_size_before, position_size_after, fee_rate, fee_usdc and usdc_amount (fee_token USDC on lighter, USDG on rh-lighter). Coverage: hyperliquid from 2025-05-25, hip3 from 2025-10-13, lighter from 2025-01-17, rh-lighter from 2026-06-26. end is clamped to meta.built_through (meta.clamped_to when it was); rows with finalized false are newer than meta.finalized_through and can still change. Pass address (hyperliquid, hip3) or account_index (lighter, rh-lighter). start and end are required and must stay unchanged while paging. Numbers are decimal strings. Paging: limit defaults to 100 (max 1000). While nextCursor is present, repeat the call with cursor=nextCursor and every other argument unchanged (the cursor is bound to them); a short or empty page can still carry nextCursor, so stop only when it is absent. A 409 snapshot_advanced error means the snapshot was replaced: restart without a cursor. Metered like trades: 1,000 rows per credit.
Get account positions
0XARCHIVE_MCP_GET_ACCOUNT_POSITIONSGet the open perp positions of one account: a Hyperliquid or HIP-3 wallet (address) or a Lighter or Lighter on Robinhood Chain account (account_index). Omit timestamp for the latest live snapshot (refreshed every 5 minutes on hyperliquid and hip3, every 2 on Lighter venues; meta.stale true, with a meta.notice, past 12 minutes). With timestamp, returns the state after every event strictly before that instant (see the timestamp input; before coverage: meta.coverageFrom). Returns data.positions, data.account (account totals on the first page of a snapshot read; hip3 needs dex or a dex-prefixed symbol and Lighter venues no symbol filter; null for reconstructions) and, when there are no positions, data.account_seen: flat, never_seen or outside_coverage. Sizes are signed (negative when short); leverage, margin, liquidation price (with liquidation_price_status) and funding are filled on hyperliquid and hip3 and null on Lighter venues; Lighter rows add account_index, account_kind, margin_mode and finalized. Numbers are decimal strings. Quality: each row carries its own: complete, partial (a missing mark or entry leaves value or PnL null; on hyperliquid and hip3 snapshots also one opened after the clearinghouse snapshot, with unknown leverage, margin and liquidation price) or degraded; Lighter venues add preliminary (finalized false: trades after meta.finalized_through, complete after the daily reconcile), incomplete and unreconciled. meta.quality is the snapshot's status: normally complete on hyperliquid and hip3; the latest Lighter-venue snapshots can read degraded before the reconcile even if every row is complete or preliminary. Paging: limit defaults to 100 (max 1000). While nextCursor is present, repeat the call with cursor=nextCursor and every other argument unchanged (the cursor is bound to them); a short or empty page can still carry nextCursor, so stop only when it is absent. A 409 snapshot_advanced error means the snapshot was replaced: restart without a cursor. Metered like trades: 1,000 rows per credit.
Get account positions history
0XARCHIVE_MCP_GET_ACCOUNT_POSITIONS_HISTORYGet hourly position history for one account over [start, end): one row per open position per committed hour, each with snapshot_ts. Hourly history begins 2026-06-07 on hyperliquid and hip3, 2025-01-17 on lighter and 2026-06-26 on rh-lighter; an earlier window returns no rows, so for an earlier instant use get_account_positions with timestamp. Pass address (hyperliquid, hip3) or account_index (lighter, rh-lighter). start and end are required and must stay unchanged while paging. Optional symbol filter, and dex on hip3. meta.finalized_through marks how far the data is final. Rows carry the position fields of get_account_positions. Numbers are decimal strings. Quality: each row carries its own: complete, partial (a missing mark or entry leaves value or PnL null; on hyperliquid and hip3 snapshots also one opened after the clearinghouse snapshot, with unknown leverage, margin and liquidation price) or degraded; Lighter venues add preliminary (finalized false: trades after meta.finalized_through, complete after the daily reconcile), incomplete and unreconciled. meta.quality is the snapshot's status: normally complete on hyperliquid and hip3; the latest Lighter-venue snapshots can read degraded before the reconcile even if every row is complete or preliminary. Paging: limit defaults to 100 (max 1000). While nextCursor is present, repeat the call with cursor=nextCursor and every other argument unchanged (the cursor is bound to them); a short or empty page can still carry nextCursor, so stop only when it is absent. A 409 snapshot_advanced error means the snapshot was replaced: restart without a cursor. Metered like trades: 1,000 rows per credit.
Get account summary
0XARCHIVE_MCP_GET_ACCOUNT_SUMMARYGet the account summary of one account at the latest live snapshot: a Hyperliquid or HIP-3 wallet (address) or a Lighter mainnet or Lighter on Robinhood Chain account (account_index). hyperliquid and hip3 rows carry the clearinghouse fields account_value, cross_account_value, collateral, total_margin_used, cross_maintenance_margin_used, withdrawable (null outside the periods it was captured), account_mode (standard, unified, portfolio, dex_abstraction or unknown) and snapshot_as_of, which can be null where they were not captured, plus the position totals total_position_value, total_unrealized_pnl, long_value, short_value and n_positions. hip3 keeps one account per dex: one row per dex, named by dex; pass dex to read one. Lighter venues return position aggregates only, not balances: account_index and the same position totals. A total is null when a position in it has no mark (total_unrealized_pnl also when one has no entry), never a partial sum. quality: degraded when a position is degraded or incomplete, else partial when a total or, on hyperliquid and hip3, account_value and the other balances are null (an account not in the clearinghouse snapshot), else complete; leverage does not affect it. Numbers are decimal strings. An account with nothing recorded returns no rows on hyperliquid and hip3 and a row of zeros on Lighter venues. meta carries as_of, snapshot_ts, source, quality and stale (true, with a meta.notice, when the latest snapshot is more than 12 minutes old). For hourly summaries over a window use get_account_summary_history; for the positions themselves use get_account_positions. Billed at 1 credit per request.
Get account summary history
0XARCHIVE_MCP_GET_ACCOUNT_SUMMARY_HISTORYGet hourly account summaries of one account over [start, end): one row per committed hour, each with snapshot_ts, carrying the fields of get_account_summary. Hourly history begins 2026-06-07 18:00 UTC on hyperliquid and hip3, 2025-01-17 on lighter and 2026-06-26 on rh-lighter; an earlier window returns no rows. On Lighter venues an hour with no open position reads as zeros. Pass address (hyperliquid, hip3) or account_index (lighter, rh-lighter). start and end are required; dex restricts hip3 to one dex. There is no symbol filter. meta.finalized_through marks how far the data is final. hyperliquid and hip3 rows carry the clearinghouse fields account_value, cross_account_value, collateral, total_margin_used, cross_maintenance_margin_used, withdrawable (null outside the periods it was captured), account_mode (standard, unified, portfolio, dex_abstraction or unknown) and snapshot_as_of, which can be null where they were not captured, plus the position totals total_position_value, total_unrealized_pnl, long_value, short_value and n_positions. hip3 keeps one account per dex: one row per dex, named by dex; pass dex to read one. Lighter venues return position aggregates only, not balances: account_index and the same position totals. A total is null when a position in it has no mark (total_unrealized_pnl also when one has no entry), never a partial sum. quality: degraded when a position is degraded or incomplete, else partial when a total or, on hyperliquid and hip3, account_value and the other balances are null (an account not in the clearinghouse snapshot), else complete; leverage does not affect it. Numbers are decimal strings. Paging: limit defaults to 100 (max 1000). While nextCursor is present, repeat the call with cursor=nextCursor and every other argument unchanged (the cursor is bound to them); a short or empty page can still carry nextCursor, so stop only when it is absent. A 409 snapshot_advanced error means the snapshot was replaced: restart without a cursor. Billed at 1 credit per request.
Get breadth above ma
0XARCHIVE_MCP_GET_BREADTH_ABOVE_MAHyperliquid perps breadth against the n-day moving average per bucket: the share of perps above their n-day average and how far above or below. n (required): 5, 20, 50 or 200 days. Market-wide, no coin. value_pct: share of eligible perps above their n-day moving average (mean of daily closes over the n UTC days before the reading's day); distance: p25, median and p75 of price / average - 1; both null, never 0, when nothing is eligible. counts: candidates, eligible, above, at, below, excluded_stale_price (no 1m close in 24 h; a delisted perp stays a candidate and counts here) and excluded_short_history (younger than n days), so coverage_ratio depends on n and is neither a data-quality ratio nor comparable with above-VWAP breadth. calculated_at and calculated_at_ms: the reading's instant; is_final: its candles are final. A 503 right after a server restart is retryable. Each bucket (timestamp, its open) carries its last reading, as of its end; the forming bucket is as of about 4 minutes before now. Never average value_pct across buckets. Intervals 1m (default), 5m, 15m, 30m, 1h, 4h, 1d; buckets whose open is in [start, end] (default the 24 h before now); limit default 100, max 1000. A window before n's coverage is empty with meta.coverageFrom and meta.notice. Pass nextCursor back as cursor with the other arguments unchanged (set start and end); stop only when it is absent, as a page can be empty and still carry one. Coverage: n=5 from 2025-03-27, n=20 from 2025-04-11, n=50 from 2025-05-11, n=200 from 2025-10-08 (00:00 UTC). Build, Pro, Scale and Enterprise plans only; Free gets forbidden (details.required_plans).
Get breadth above ma current
0XARCHIVE_MCP_GET_BREADTH_ABOVE_MA_CURRENTHyperliquid perps breadth against the n-day moving average now: the newest 1-minute reading (about 4 minutes behind), one object with the fields and caveats of get_breadth_above_ma. n (required): 5, 20, 50 or 200; nothing else is taken. A 503 right after a server restart is retryable. Coverage: n=5 from 2025-03-27, n=20 from 2025-04-11, n=50 from 2025-05-11, n=200 from 2025-10-08 (00:00 UTC). Build, Pro, Scale and Enterprise plans only; Free gets forbidden (details.required_plans).
Get breadth above vwap
0XARCHIVE_MCP_GET_BREADTH_ABOVE_VWAPHyperliquid perps market breadth history: minute-cadence snapshots of the percent of eligible perp instruments above their UTC-session VWAP, ascending with cursor pagination (default range: last 24h). Optional interval downsampling returns the LAST stored snapshot in each bucket (percentages are never averaged: denominators vary between snapshots). History begins 2026-08-31.
Get breadth above vwap current
0XARCHIVE_MCP_GET_BREADTH_ABOVE_VWAP_CURRENTHyperliquid perps market breadth: the latest snapshot of the percent of eligible perp instruments trading above their current UTC-session VWAP (session resets 00:00 UTC; VWAP from candle quote/base volume; comparison price is the last completed 1-minute candle close). Market-level, no symbol. value_pct is null when no instrument is eligible (never rendered as 0%). Includes auditable counts (candidates, eligible, above/at/below, exclusions), and coverage_ratio. Perps have no builder namespaces, so the namespaces maps are always empty objects. Minute-cadence; history begins 2026-08-31.
Get candles
0XARCHIVE_MCP_GET_CANDLESGet Hyperliquid OHLCV candle data for a coin. Intervals: 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w (default 1h). Returns open, high, low, close, volume. Archive from March 2025 (Build and above; Free covers the most recent rolling 30 days). Earlier candles derive from incomplete fill history and are not served.
Get capabilities
0XARCHIVE_MCP_GET_CAPABILITIESList what each venue serves: one row per venue and datatype with rest_routes, ws_channels, live and replay (WebSocket live streaming and historical replay), available_from (the first instant served, RFC 3339 UTC; null where the API states none), cadence, page_limit (most rows per page), intervals (accepted bucket widths) and notes. Each row adds mcp_tools, the tools on this server that read that datatype on that venue (empty for WebSocket-only data). Market tools are named get_<venue>_<datatype> with core Hyperliquid unprefixed (get_trades, get_hip3_trades, get_spot_trades, get_lighter_trades, get_rh_lighter_trades); account tools such as get_account_positions take a venue argument. Filter with venue and datatype. Venues: hyperliquid, hip3, hip4, spot, lighter, rh-lighter. Costs no credits.