Skip to main content
POST
Connect Lighter

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
accountIndex
integer
required
Required range: 0 <= x <= 9007199254740991
apiKeyIndex
integer
required
Required range: 0 <= x <= 255
privateKey
string
required

Response

200 - application/json
exchange
enum<string>
required

Perpetual exchange

Available options:
aster,
binance,
bybit,
extended,
gate,
hyperliquid,
lighter,
mexc,
ondo,
robinhood
valid
boolean
required

True if credentials are valid