Skip to main content
GET
Get Lighter account position history
API key required. Send X-API-Key with this request. See REST authentication.
Open the generated operation schema for machine-readable request and response details.

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours at https://0xarchive.io/dashboard

Path Parameters

account_index
string
required

Lighter account index (an integer). Resolve an L1 address on Lighter mainnet with GET /v1/lighter/accounts?l1_address=0x...

Pattern: ^[0-9]+$
Example:

"513030"

Query Parameters

start
integer<int64>

Inclusive start in Unix milliseconds. Defaults to 24 hours before end.

end
integer<int64>

Exclusive end in Unix milliseconds. Defaults to now.

symbol
string

Only this perpetual (e.g. BTC). Pass it exactly as the instruments route lists it, in uppercase.

limit
integer
default:500

Maximum rows per page (default 500, max 5000).

Required range: 1 <= x <= 5000
cursor
string

Cursor from the previous response meta.next_cursor. Keep every other parameter unchanged.

Response

Get Lighter account position history

Hourly position rows.

success
boolean
required
Example:

true

data
object[]
required
meta
object
required

Response metadata of the account positions routes. Every instant is RFC 3339 UTC with milliseconds and comes from the data, never the request time.

Last modified on September 28, 2026