Skip to main content
Source OpenAPI: 0xArchive API 1.13.0; 242 paths; 243 component schemas. Position aggregates of one account at the latest live snapshot: totals, long and short value, and the number of open positions. Lighter returns position aggregates only, not balances. Billed at 1 credit per request.

Route Metadata

Human endpoint reference

Open GET /v1/lighter/accounts/{account_index}/account for authentication, parameters, responses, and examples.

Request Parameters

Path Parameters

Header Parameters

Response Contracts

Status 200

Get Lighter account summary

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 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