Skip to main content
Source OpenAPI: 0xArchive API 1.13.0; 242 paths; 243 component schemas. List the Lighter mainnet account indices owned by an L1 address, with total_accounts. Lighter position routes take account indices. Not available on Lighter on Robinhood Chain. Billed at 1 credit per request.

Route Metadata

Human endpoint reference

Open GET /v1/lighter/accounts for authentication, parameters, responses, and examples.

Request Parameters

Query Parameters

Header Parameters

Response Contracts

Status 200

Resolve Lighter accounts by L1 address

application/json

Status 400

Invalid request: a parameter, symbol, interval, cursor or time range failed validation. See error_code.

application/json

OpenAPI example: current_main
OpenAPI example: invalid_parameter
OpenAPI example: invalid_symbol
OpenAPI example: invalid_time_range
OpenAPI example: legacy_invalid_query_params

Status 401

Authentication required: the API key is missing or invalid.

application/json

OpenAPI example

Status 403

The request is outside the plan’s history window or per-request span, or the key is not allowed to make it.

application/json

OpenAPI example: historical_depth_exceeded
OpenAPI example: historical_range_exceeded

Status 429

Rate limit, concurrency limit or monthly credits exceeded. See error_code.

application/json

OpenAPI example: insufficient_credits
OpenAPI example: rate_limited

Status 503

Positions, pagination, or an as-of reconstruction are temporarily unavailable (error_code positions_unavailable, pagination_unavailable, or reconstruction_unavailable). Retry shortly.

application/json

OpenAPI example

Status default

Any other error. The body is an ErrorResponse; branch on error_code. A 503 (upstream_unavailable) carries Retry-After.

application/json

OpenAPI example: internal_error
OpenAPI example: upstream_unavailable
Last modified on November 10, 2026