Skip to main content
POST
Connect Extended

Authorizations

Authorization
string
header
required

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

Body

application/json
accountId
integer
required

Extended account ID

Required range: x <= 9007199254740991
apiKey
string
required

Extended API key

Minimum string length: 1
l2PrivateKey
string
required

Stark L2 private key (hex)

Example:

"0xabcdef..."

l2PublicKey
string
required

Stark L2 public key (hex)

Example:

"0xabcdef..."

vaultId
string
required

Extended vault ID

Pattern: ^[1-9]\d*$

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