How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Lighter account API

The account API from Lighter — 26 operation(s) for account.

Lighter account API is one of 13 APIs that Lighter publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Account. The published artifact set on APIs.io includes an OpenAPI specification, an AsyncAPI specification, API documentation, and an API reference.

This API exposes 26 operations across 26 paths, and defines 64 schemas. It is described by OpenAPI 3.0.0, at version 1.0.

Requests are made against a single base URL, https://mainnet.zklighter.elliot.ai.

26 operations 26 paths 64 schemas 18 GET8 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
1.0
Base URL
https://mainnet.zklighter.elliot.ai
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Lighter account API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (apiKey).

  • apiKey — Enter JWT Bearer token only

Paths & Operations 26

Across 26 paths, the API surfaces 26 operations — 18 GET, 8 POST. Each is listed below with its method, path, parameters, and response codes.

account 26
GET
/api/v1/account
account
account 4 params → 200400
GET
/api/v1/accountLimits
accountLimits
accountLimits 2 params → 200400
GET
/api/v1/accountMetadata
accountMetadata
accountMetadata 4 params → 200400
GET
/api/v1/accountsByL1Address
accountsByL1Address
accountsByL1Address 2 params → 200400
GET
/api/v1/apikeys
apikeys
apikeys 2 params → 200400
POST
/api/v1/changeAccountTier
changeAccountTier
changeAccountTier 1 param body → 200400
GET
/api/v1/l1Metadata
l1Metadata
l1Metadata 2 params → 200400
GET
/api/v1/liquidations
liquidations
liquidations 5 params → 200400
GET
/api/v1/pnl
pnl
pnl 8 params → 200400
GET
/api/v1/positionFunding
positionFunding
positionFunding 8 params → 200400
GET
/api/v1/publicPoolsMetadata
publicPoolsMetadata
publicPoolsMetadata 5 params → 200400
GET
/api/v1/tokens
tokens
tokens 2 params → 200400
POST
/api/v1/tokens/create
tokenscreate
tokens_create 1 param body → 200400
POST
/api/v1/tokens/revoke
tokensrevoke
tokens_revoke 1 param body → 200400
GET
/api/v1/leaseOptions
leaseOptions
leaseOptions → 200400
GET
/api/v1/leases
leases
leases 5 params → 200400
POST
/api/v1/litLease
litLease
litLease 1 param body → 200400
GET
/api/v1/referral/userReferrals
userReferrals
referral_userReferrals 7 params → 200400
GET
/api/v1/getMakerOnlyApiKeys
getMakerOnlyApiKeys
getMakerOnlyApiKeys 2 params → 200400
POST
/api/v1/setMakerOnlyApiKeys
setMakerOnlyApiKeys
setMakerOnlyApiKeys 1 param body → 200400
GET
/api/v1/partnerStats
partnerStats
partnerStats 3 params → 200400
POST
/api/v1/rfq/respond
rfqrespond
rfq_respond 1 param body → 200400
GET
/api/v1/rfq/list
rfqlist
rfq_list 5 params → 200400
GET
/api/v1/rfq/get
rfqget
rfq_get 2 params → 200400
POST
/api/v1/rfq/create
rfqcreate
rfq_create 1 param body → 200400
POST
/api/v1/rfq/update
rfqupdate
rfq_update 1 param body → 200400

Schemas 64

The contract defines 64 schemas that model the data the API accepts and returns. The most detailed are DetailedAccount (32 properties), PublicPoolMetadata (18 properties), AccountPosition (17 properties), PnLEntry (16 properties). Each schema is shown below with its type and property counts.

ReqCreateRFQ
object
5 properties 2 required
AccountLimits
object
12 properties 10 required
AccountMetadata
object
8 properties 8 required
PublicPoolInfo
object
10 properties 10 required
RespListRFQs
object
4 properties 2 required
DailyReturn
object
2 properties 2 required
PartnerStats
object
12 properties 11 required
LiquidationInfo
object
6 properties 6 required
TradeStats
object
8 properties 8 required
RespRespondToRFQ
object
13 properties 12 required
PublicPoolShare
object
5 properties 5 required
Referral
object
5 properties 5 required
RiskInfo
object
2 properties 2 required
RespSetMakerOnlyApiKeys
object
2 properties 1 required
RespRevokeApiToken
object
4 properties 3 required
PendingUnlock
object
3 properties 3 required
LeaseOptionEntry
object
2 properties 2 required
SubAccounts
object
5 properties 3 required
RespGetLeaseOptions
object
4 properties 3 required
UserReferrals
object
5 properties 4 required
ApiKey
object
5 properties 5 required
RFQResponseEntry
object
4 properties 4 required
ReqChangeAccountTier
object
3 properties 2 required
SharePrice
object
2 properties 2 required
AccountApiKeys
object
3 properties 2 required
ReqSetMakerOnlyApiKeys
object
Send as form data, not JSON. The value replaces the full maker-only API key list; use [] to clear all restrictions.
3 properties 2 required
AccountPnL
object
4 properties 3 required
RiskParameters
object
9 properties 9 required
AccountPosition
object
17 properties 16 required
Strategy
object
1 property 1 required
ReqUpdateRFQ
object
2 properties 2 required
RespGetRFQ
object
13 properties 12 required
RespPublicPoolsMetadata
object
3 properties 2 required
DetailedAccount
object
32 properties 28 required
RespGetApiTokens
object
3 properties 2 required
RespUpdateRFQ
object
13 properties 12 required
AccountAsset
object
6 properties 6 required
RespGetLeases
object
4 properties 2 required
ResultCode
object
2 properties 1 required
RespGetMakerOnlyApiKeys
object
3 properties 2 required
ReqLITLease
object
3 properties 3 required
ApprovedIntegrator
object
7 properties 7 required
ReqPostApiToken
object
5 properties 4 required
DetailedAccounts
object
5 properties 4 required
PositionFundings
object
4 properties 2 required
PositionFunding
object
8 properties 8 required
PublicPoolMetadata
object
18 properties 16 required
RFQEntry
object
11 properties 11 required
ApiToken
object
8 properties 8 required
RespCreateRFQ
object
13 properties 12 required
LiquidationInfos
object
4 properties 2 required
RespPostApiToken
object
10 properties 9 required
L1Metadata
object
3 properties 3 required
ReqRevokeApiToken
object
2 properties 2 required
TxHash
object
3 properties 2 required
LeaseEntry
object
8 properties 8 required
RespChangeAccountTier
object
2 properties 1 required
PnLEntry
object
16 properties 16 required
RFQMetadata
object
4 properties 4 required
AccountMetadatas
object
4 properties 2 required
Account
object
14 properties 13 required
Liquidation
object
6 properties 6 required
ReqRespondToRFQ
object
2 properties 2 required
LiqTrade
object
5 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lighter-account-api-openapi.yml Raw ↑

Other APIs Lighter publishes across the network.

Lighter announcement API
Lighter block API
Lighter bridge API
Lighter candlestick API
Lighter funding API
Lighter info API
Lighter notification API
Lighter order API
Lighter referral API
Lighter root API
Lighter tokenlist API
Lighter transaction API
Where this information came from

This is an independent, third-party profile of Lighter account API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.