0xArchive Webhooks - Watched Addresses API
Wallets that address scoped event types report on. Only a wallet on this list may be named in a subscription configuration.
Wallets that address scoped event types report on. Only a wallet on this list may be named in a subscription configuration.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/0xarchive:0xarchive-webhooks-watched-addresses-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: 0xArchive Webhooks - Watched Addresses API
description: 'REST API for current and historical market data from Hyperliquid and Lighter. Hyperliquid coverage includes core perpetuals, Spot, HIP-3 builder perpetuals, and HIP-4 outcome markets. Lighter coverage includes two deployments: Lighter mainnet under /v1/lighter and Lighter on Robinhood Chain under /v1/rh-lighter. Account positions are available for Hyperliquid core, HIP-3, and both Lighter deployments. Coverage and access requirements vary by route. See https://docs.0xarchive.io/ for authentication, limits, and examples.'
version: 1.9.0
termsOfService: https://0xarchive.io/terms
contact:
name: 0xArchive Support
url: https://0xarchive.io
email: support@0xarchive.io
license:
name: Proprietary
url: https://0xarchive.io/terms
servers:
- url: https://api.0xarchive.io
description: Production API
security:
- ApiKeyAuth: []
tags:
- name: Webhooks - Watched Addresses
description: Wallets that address scoped event types report on. Only a wallet on this list may be named in a subscription configuration.
paths:
/v1/webhooks/addresses:
parameters:
- $ref: '#/components/parameters/ApiVersion'
get:
tags:
- Webhooks - Watched Addresses
summary: List watched wallet addresses
description: The wallets address scoped event types report on, with the number of wallets this plan allows. Authenticate with an API key or a signed-in dashboard session. Costs no credits.
operationId: listWebhookWatchedAddresses
responses:
'200':
description: Your watched wallet addresses
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResponseWebhookWatchedAddressArray'
headers:
0xArchive-Version:
$ref: '#/components/headers/ApiVersion'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
default:
$ref: '#/components/responses/Error'
post:
tags:
- Webhooks - Watched Addresses
summary: Add a watched wallet address
description: Add a wallet so address scoped event types can report on it. Adding a wallet that is already watched changes nothing and does not count against the cap again. Hyperliquid bridge system addresses are refused, because such an address is a counterparty to every bridge movement of its token rather than an account. A plan without webhook delivery, or one already at its watched wallet cap, is refused with the reason and the way forward. Authenticate with an API key or a signed-in dashboard session. Costs no credits.
operationId: addWebhookWatchedAddress
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/WebhookWatchedAddressCreateRequest'
responses:
'200':
description: The watched wallet address
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResponseWebhookWatchedAddress'
headers:
0xArchive-Version:
$ref: '#/components/headers/ApiVersion'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
default:
$ref: '#/components/responses/Error'
/v1/webhooks/addresses/{id}:
parameters:
- $ref: '#/components/parameters/ApiVersion'
delete:
tags:
- Webhooks - Watched Addresses
summary: Delete a watched wallet address
description: Stop watching a wallet. Subscriptions that named it keep their stored configuration, so remove the address from those rules too if you no longer want them to reference it. Authenticate with an API key or a signed-in dashboard session. Costs no credits.
operationId: deleteWebhookWatchedAddress
parameters:
- name: id
in: path
required: true
description: Watched address identifier.
schema:
type: string
format: uuid
example: 3c1f0a52-8d6b-4f0e-9b1a-6f2c4d8e9a10
example: 3c1f0a52-8d6b-4f0e-9b1a-6f2c4d8e9a10
responses:
'200':
description: The watched wallet address was removed
content:
application/json:
schema:
$ref: '#/components/schemas/ApiResponseWebhookAck'
headers:
0xArchive-Version:
$ref: '#/components/headers/ApiVersion'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
default:
$ref: '#/components/responses/Error'
components:
schemas:
ErrorResponse:
type: object
description: Body of every non-2xx JSON response. `code` repeats the HTTP status, `error_code` is the stable machine-readable code (see `ErrorCode`), `error` is a human-readable message, and `request_id` identifies the request for support. Validation failures add `param` and, where the accepted set is fixed, `valid_values`. A 404 for a datatype the venue does not offer (`unsupported_for_venue`) adds `venue`, `datatype` and `available_on`; any other unknown path answers 404 `route_not_found`.
required:
- success
- code
- error_code
- error
- request_id
properties:
success:
type: boolean
enum:
- false
description: Always `false` on an error.
code:
type: integer
description: HTTP status code.
example: 400
error_code:
$ref: '#/components/schemas/ErrorCode'
error:
type: string
description: Human-readable message. Wording can change; do not parse it.
request_id:
type: string
format: uuid
description: Unique request ID for support.
param:
type: string
description: The parameter that failed validation, when one did.
example: side
valid_values:
type: array
items:
type: string
description: Accepted values of `param`, when the set is fixed.
example:
- buy
- sell
venue:
type: string
description: '`unsupported_for_venue` only: the venue the request asked.'
example: spot
datatype:
type: string
description: '`unsupported_for_venue` only: the datatype the request asked for, as `GET /v1/capabilities` names it.'
example: order_flow
available_on:
type: array
description: '`unsupported_for_venue` only: the venues and routes that serve the datatype.'
items:
type: object
required:
- venue
- route
properties:
venue:
type: string
example: hyperliquid
route:
type: string
example: /v1/hyperliquid/orders/{symbol}/flow
credits_used:
type: integer
format: int64
description: '`insufficient_credits` only: credits used this period.'
credits_limit:
type: integer
format: int64
description: '`insufficient_credits` only: the period''s credit allowance.'
max_concurrent:
type: integer
description: '`rate_limited` concurrency refusals only: simultaneous queries the plan allows.'
suggestion:
type: object
description: 'Present when the symbol exists on another venue: where to request it instead.'
properties:
venue:
type: string
example: hip3
symbol:
type: string
example: xyz:TSLA
endpoint:
type: string
example: /v1/hyperliquid/hip3/trades/xyz:TSLA
WebhookWatchedAddress:
type: object
description: A wallet on your watched list. Address scoped event types report only on these.
required:
- id
- address
- label
- created_at
properties:
id:
type: string
format: uuid
description: Watched address identifier.
address:
type: string
description: The wallet, stored lowercase.
example: '0x6b9e773128f453f5c2c60935ee2de2cbc5390a24'
label:
type: string
description: Your own label for the wallet. At most 64 characters.
example: Desk 1
created_at:
type: string
format: date-time
description: When the wallet was added.
ErrorCode:
type: string
description: 'Stable, machine-readable error code. Branch on this value, not on the `error` text.
**Contract codes**
| Code | HTTP | Meaning |
|---|---|---|
| `invalid_parameter` | 400 | A parameter failed to parse or validate. `param` names it and `valid_values` lists accepted values where the set is fixed. |
| `invalid_symbol` | 400 | The symbol is not listed on this venue. |
| `invalid_interval` | 400 | The `interval` (bucket width) is not one this route accepts. |
| `invalid_cursor` | 400 | The `cursor` is malformed, stale, or was issued for other filters. Restart pagination without a cursor. Trades, liquidations, L2 and L4 diffs, order history and TP/SL routes currently return the first page for a malformed cursor instead. |
| `invalid_time_range` | 400 | `start` is after `end`, or a time value could not be parsed. |
| `range_before_coverage` | 400 | The whole requested range ends before the first instant this dataset is served from. |
| `historical_range_exceeded` | 403 | The requested span is longer than the plan allows in one request or replay. |
| `historical_depth_exceeded` | 403 | The request reaches further back than the plan''s history window. |
| `unsupported_for_venue` | 404 | The venue does not offer this datatype. The message, `datatype` and `available_on` name where it is served. |
| `route_not_found` | 404 | No route matches the path or method. `GET /v1/capabilities` lists the routes each venue serves. |
| `not_found` | 404 | The route exists but the requested resource (for example an incident, endpoint or outcome id) does not. |
| `unauthorized` | 401 | The API key is missing or invalid. |
| `forbidden` | 403 | The key is valid but not allowed to make this request. |
| `insufficient_credits` | 429 | The monthly credit allowance is spent (402 on pay-per-request routes). |
| `rate_limited` | 429 | Too many requests or concurrent queries. Retry after the interval in the rate-limit headers. |
| `conflict` | 409 | The request conflicts with the current state of the resource. |
| `upstream_unavailable` | 503 | A dependency is unavailable or saturated. Retry shortly; the response carries `Retry-After`. |
| `internal_error` | 500 | An unexpected server error. Quote `request_id` when contacting support. |
**WebSocket only** (sent in `{"type":"error"}` messages, never by REST)
| Code | Where | Meaning |
|---|---|---|
| `endpoint_unsupported` | WebSocket | This WebSocket endpoint does not serve the channel or operation. The message names the endpoint that does. |
| `slow_consumer` | WebSocket | The connection fell behind a stream and messages were dropped. Re-subscribe, or restart the replay, to resynchronise. |
**Route-specific codes**
| Code | HTTP | Meaning |
|---|---|---|
| `positions_unavailable` | 503 | Account positions are temporarily unavailable for this venue. |
| `reconstruction_unavailable` | 503 | The as-of positions state for this instant cannot be reconstructed right now. |
| `snapshot_advanced` | 409 | A positions market cursor pinned a snapshot that has since been replaced or expired. Restart pagination. |
| `pagination_unavailable` | 503 | The next positions page cannot be served right now. Retry the same cursor shortly. |
| `api_key_limit_reached` | 403 | The account already holds the maximum number of API keys for its plan. |
| `wallet_requires_plan` | 402 | A wallet-authenticated key needs an active plan for this request. |
| `wallet_account_required` | 403 | Wallet sign-in needs an existing account linked to the wallet. |
| `wallet_free_signup_retired` | 410 | Free wallet sign-up is no longer offered. |
| `account_disabled` | 403 | The account is disabled. |
| `oauth_not_permitted` | 403 | This route is not available to OAuth access tokens. |
| `insufficient_scope` | 403 | The OAuth access token lacks the scope this route requires. |
**Legacy names.** Requests without `0xArchive-Version: 2026-10-01` keep the four names that predate the contract; with the header they receive the contract names instead.
| Code | HTTP | Meaning |
|---|---|---|
| `invalid_query_params` | 400 | Legacy name of `invalid_parameter` (query parameter), or of `invalid_cursor` when the parameter is `cursor`, sent without the version header. |
| `invalid_path_params` | 400 | Legacy name of `invalid_parameter` (path parameter), sent without the version header. |
| `history_window_exceeded` | 403 | Legacy name of `historical_depth_exceeded`, sent without the version header. |
| `request_range_exceeded` | 403 | Legacy name of `historical_range_exceeded`, sent without the version header. |
Treat any value not listed here as a generic error of the HTTP status.'
enum:
- invalid_parameter
- invalid_symbol
- invalid_interval
- invalid_cursor
- invalid_time_range
- range_before_coverage
- historical_range_exceeded
- historical_depth_exceeded
- unsupported_for_venue
- route_not_found
- not_found
- unauthorized
- forbidden
- insufficient_credits
- rate_limited
- conflict
- upstream_unavailable
- internal_error
- endpoint_unsupported
- slow_consumer
- positions_unavailable
- reconstruction_unavailable
- snapshot_advanced
- pagination_unavailable
- api_key_limit_reached
- wallet_requires_plan
- wallet_account_required
- wallet_free_signup_retired
- account_disabled
- oauth_not_permitted
- insufficient_scope
- invalid_query_params
- invalid_path_params
- history_window_exceeded
- request_range_exceeded
example: invalid_parameter
WebhookWatchedAddressCreateRequest:
type: object
description: A wallet to add to your watched list.
required:
- address
properties:
address:
type: string
description: A 0x prefixed 40 hex character wallet address. Stored lowercase.
example: '0x6b9e773128f453f5c2c60935ee2de2cbc5390a24'
label:
type: string
description: Your own label for the wallet. At most 64 characters.
default: ''
example: Desk 1
ApiResponseWebhookWatchedAddressArray:
type: object
description: API response containing your watched wallet addresses.
properties:
success:
type: boolean
example: true
data:
type: array
items:
$ref: '#/components/schemas/WebhookWatchedAddress'
limit:
type: integer
format: int64
description: Watched wallets this plan allows.
example: 15
meta:
$ref: '#/components/schemas/ResponseMeta'
required:
- success
- data
- meta
ResponseMeta:
type: object
description: Response metadata. Every 2xx JSON response carries `meta.request_id`; list payloads add `count`; cursor-paged routes add `has_more` and, when another page follows, `next_cursor`; per-symbol routes add `symbol` and `venue`. Fields that do not apply to a route are omitted.
properties:
count:
type: integer
description: Number of records returned
has_more:
type: boolean
description: 'Cursor-paged routes: whether another page follows. `next_cursor` is present exactly when this is `true`. A final page can be empty when the previous page was exactly full; `has_more` is `false` on it.'
next_cursor:
type: string
description: Opaque cursor for the next page, present exactly when `has_more` is `true`. Pass it back unchanged as `cursor` with the same filters. Do not parse or construct it.
request_id:
type: string
format: uuid
description: Unique request ID for support
symbol:
type: string
description: 'Per-symbol routes: the canonical public symbol the response describes (for example `BTC`, `xyz:TSLA`, `HYPE-USDC`, `#0`).'
example: BTC
venue:
type: string
enum:
- hyperliquid
- hip3
- hip4
- spot
- lighter
- rh-lighter
description: 'Per-symbol routes: the venue the response describes.'
example: hyperliquid
coverage_from:
type: string
format: date-time
description: Earliest coverage for the requested symbol and data type. Present only when the requested window ends before coverage begins.
notice:
type: string
description: Human-readable advisory about the response. Used when the requested window ends before coverage begins for the symbol, and on CVD responses that are one page of several; may carry other advisories in future.
finalized_through:
type: string
format: date-time
description: 'Two-tier datasets (Lighter trades): data at or before this instant is final; later data is preliminary.'
requested_end:
type:
- string
- 'null'
format: date-time
description: The `end` the request asked for, echoed when it was clamped to `finalized_through`.
clamped_to:
type:
- string
- 'null'
format: date-time
description: The boundary the request's `end` was clamped to, when clamping occurred.
preliminary_row_count:
type:
- integer
- 'null'
description: Number of preliminary rows in this response, on routes that intentionally serve preliminary data (Lighter `/recent`).
required:
- request_id
ApiResponseWebhookAck:
type: object
description: API response for a webhook management call that returns nothing beyond confirmation.
properties:
success:
type: boolean
example: true
required:
- success
ApiResponseWebhookWatchedAddress:
type: object
description: API response containing one watched wallet address.
properties:
success:
type: boolean
example: true
data:
$ref: '#/components/schemas/WebhookWatchedAddress'
limit:
type: integer
format: int64
description: Watched wallets this plan allows.
example: 15
responses:
NotFound:
description: 'Not found. `not_found`: the resource id is unknown. `unsupported_for_venue`: the venue does not offer this datatype (`available_on` names where it is served). `route_not_found`: no route matches the path.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
not_found:
value:
success: false
code: 404
error_code: not_found
error: Resource not found
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
unsupported_for_venue:
value:
success: false
code: 404
error_code: unsupported_for_venue
error: Order flow is not offered on Hyperliquid spot. It is available on Hyperliquid (/v1/hyperliquid/orders/{symbol}/flow), HIP-3 (/v1/hyperliquid/hip3/orders/{symbol}/flow) and HIP-4 (/v1/hyperliquid/hip4/orders/{symbol}/flow).
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
venue: spot
datatype: order_flow
available_on:
- venue: hyperliquid
route: /v1/hyperliquid/orders/{symbol}/flow
- venue: hip3
route: /v1/hyperliquid/hip3/orders/{symbol}/flow
- venue: hip4
route: /v1/hyperliquid/hip4/orders/{symbol}/flow
route_not_found:
value:
success: false
code: 404
error_code: route_not_found
error: No route matches GET /v1/not-a-route. GET /v1/capabilities lists the routes each venue serves.
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
current_main:
value:
code: 404
error: No L4 checkpoint available before requested timestamp
error_code: not_found
request_id: ad7df471-eb8a-477c-bd9f-c685a9825f5b
success: false
headers:
0xArchive-Version:
$ref: '#/components/headers/ApiVersion'
Unauthorized:
description: 'Authentication required: the API key is missing or invalid.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
example:
success: false
code: 401
error_code: unauthorized
error: Missing authentication credentials. Provide X-API-Key header or Bearer token.
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
headers:
0xArchive-Version:
$ref: '#/components/headers/ApiVersion'
Error:
description: Any other error. The body is an `ErrorResponse`; branch on `error_code`. A 503 (`upstream_unavailable`) carries `Retry-After`.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
upstream_unavailable:
value:
success: false
code: 503
error_code: upstream_unavailable
error: The service is temporarily unavailable. Retry shortly.
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
internal_error:
value:
success: false
code: 500
error_code: internal_error
error: Internal server error
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
headers:
Retry-After:
$ref: '#/components/headers/RetryAfter'
0xArchive-Version:
$ref: '#/components/headers/ApiVersion'
RateLimited:
description: Rate limit, concurrency limit or monthly credits exceeded. See `error_code`.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
rate_limited:
value:
success: false
code: 429
error_code: rate_limited
error: Rate limit exceeded
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
insufficient_credits:
value:
success: false
code: 429
error_code: insufficient_credits
error: Monthly credit limit exceeded. Please upgrade your plan.
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
credits_used: 50000
credits_limit: 50000
headers:
X-RateLimit-Limit:
schema:
type: integer
description: Requests per second limit
X-RateLimit-Remaining:
schema:
type: integer
description: Remaining requests this second
X-RateLimit-Reset:
schema:
type: integer
description: Unix timestamp when limit resets
0xArchive-Version:
$ref: '#/components/headers/ApiVersion'
BadRequest:
description: 'Invalid request: a parameter, symbol, interval, cursor or time range failed validation. See `error_code`.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
examples:
invalid_parameter:
value:
success: false
code: 400
error_code: invalid_parameter
error: Invalid side 'up'. Use buy or sell.
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
param: side
valid_values:
- buy
- sell
invalid_symbol:
value:
success: false
code: 400
error_code: invalid_symbol
error: The symbol 'ZZZ' does not exist. Please see /v1/hyperliquid/instruments for available symbols.
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
param: symbol
invalid_time_range:
value:
success: false
code: 400
error_code: invalid_time_range
error: start must be <= end
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
legacy_invalid_query_params:
value:
success: false
code: 400
error_code: invalid_query_params
error: 'Failed to deserialize query string: limit: invalid digit found in string'
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
current_main:
value:
code: 400
error: 'Failed to deserialize query string: limit: invalid digit found in string'
error_code: invalid_query_params
param: limit
request_id: 3f2a9c71-5b0e-4d68-9a4c-7e1d2b6f8a05
success: false
headers:
0xArchive-Version:
$ref: '#/components/headers/ApiVersion'
headers:
ApiVersion:
description: The contract version the response was shaped with. Present only when the request sent `0xArchive-Version`.
schema:
type: string
enum:
- '2026-10-01'
example: '2026-10-01'
RetryAfter:
description: Seconds to wait before retrying.
schema:
type: integer
example: 2
parameters:
ApiVersion:
name: 0xArchive-Version
in: header
required: false
description: 'Selects the 2026-10 response contract. Send `2026-10-01`; any dated version on or after it selects the same shapes. Without the header every response keeps its existing shape. With it:
- The data quality routes, `/v1/status/coverage` and `/v1/symbols` answer the standard `{success, data, meta}` envelope.
- Record times that are integer milliseconds by default become RFC 3339 UTC strings with millisecond precision, and the integer moves to a `*_ms` field: L4 resting-order `timestamp` (`timestamp_ms`), CVD buckets, HIP-3 oracle reads, Lighter and Lighter on Robinhood Chain liquidations and liquidation volume. Levels and trigger-levels `snapshot_ts` become RFC 3339 with `snapshot_ts_ms`.
- Error bodies carry the contract `error_code` names: `invalid_parameter` instead of `invalid_query_params` and `invalid_path_params`, `historical_depth_exceeded` instead of `history_window_exceeded`, and `historical_range_exceeded` instead of `request_range_exceeded`; a malformed cursor that fails to parse answers 400 `invalid_cursor` instead of `invalid_query_params`. With `0xArchive-Version: 2026-10-01`, malformed cursors on trades, liquidations, L2 and L4 diffs, order history, TP/SL and order-flow routes answer 400 `invalid_cursor`. Without the header, the first six route families treat a malformed cursor as no cursor and return the first page; order flow answers 400 `invalid_query_params`. Malformed trade time inputs answer 400 `invalid_time_range` with the header and 400 `invalid_query_params` without it.
The response echoes the selected version in its own `0xArchive-Version` header.'
schema:
type: string
enum:
- '2026-10-01'
example: '2026-10-01'
securitySchemes:
ApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: API key for authentication. Get yours at https://0xarchive.io/dashboard
externalDocs:
description: 0xArchive Developer Docs
url: https://docs.0xarchive.io/
x-0xarchive-docs-language-overlay:
name: data-quality-supported-venue-language
reason: Public OpenAPI language must describe supported venue-family coverage instead of broad exchange coverage.
updated_at: '2026-05-24'
remove_when: Public source OpenAPI uses supported venue-family wording for data-quality coverage and latency descriptions.
x-0xarchive-docs-overlay:
name: hyperliquid-spot
reason: Hyperliquid Spot routes are included in the local REST contract.
source: live endpoint behavior and public CLI/MCP/Skill surface truth
updated_at: '2026-05-08'
remove_when: Public source contract includes the same Spot route family.