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

The order API from Lighter — 12 operation(s) for order.

Lighter order 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 Order. The published artifact set on APIs.io includes an OpenAPI specification, an AsyncAPI specification, API documentation, and an API reference.

This API exposes 12 operations across 12 paths, and defines 23 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.

12 operations 12 paths 23 schemas 12 GET

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

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

order 12
GET
/api/v1/accountActiveOrders
accountActiveOrders
accountActiveOrders 4 params → 200400
GET
/api/v1/accountInactiveOrders
accountInactiveOrders
accountInactiveOrders 8 params → 200400
GET
/api/v1/assetDetails
assetDetails
assetDetails 1 param → 200400
GET
/api/v1/exchangeStats
exchangeStats
exchangeStats → 200400
GET
/api/v1/export
export
export 9 params → 200400
GET
/api/v1/orderBookDetails
orderBookDetails
orderBookDetails 2 params → 200400
GET
/api/v1/orderBookOrders
orderBookOrders
orderBookOrders 2 params → 200400
GET
/api/v1/orderBooks
orderBooks
orderBooks 2 params → 200400
GET
/api/v1/recentTrades
recentTrades
recentTrades 2 params → 200400
GET
/api/v1/trades
trades
trades 16 params → 200400
GET
/api/v1/exchangeMetrics
exchangeMetrics
exchangeMetrics 4 params → 200400
GET
/api/v1/executeStats
executeStats
executeStats 1 param → 200400

Schemas 23

The contract defines 23 schemas that model the data the API accepts and returns. The most detailed are Trade (42 properties), PerpsOrderBookDetail (38 properties), Order (37 properties), SpotOrderBookDetail (27 properties). Each schema is shown below with its type and property counts.

Trade
object
42 properties 38 required
OrderBook
object
17 properties 17 required
OrderBookOrders
object
6 properties 5 required
AssetDetails
object
3 properties 2 required
RespGetExecuteStats
object
2 properties 2 required
SlippageResult
object
5 properties 5 required
SimpleOrder
object
8 properties 8 required
Trades
object
4 properties 2 required
ExchangeMetric
object
2 properties 2 required
MarketConfig
object
8 properties 7 required
OrderBookDetails
object
4 properties 3 required
PerpsOrderBookDetail
object
38 properties 38 required
SpotOrderBookDetail
object
27 properties 27 required
ExportData
object
3 properties 2 required
Asset
object
17 properties 17 required
ResultCode
object
2 properties 1 required
ExchangeStats
object
6 properties 5 required
Order
object
37 properties 37 required
Orders
object
4 properties 2 required
OrderBooks
object
3 properties 2 required
RespGetExchangeMetrics
object
3 properties 2 required
ExecuteStat
object
2 properties 2 required
OrderBookStats
object
6 properties 6 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lighter-order-api-openapi.yml Raw ↑

Other APIs Lighter publishes across the network.

Lighter account API
Lighter announcement API
Lighter block API
Lighter bridge API
Lighter candlestick API
Lighter funding API
Lighter info API
Lighter notification 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 order 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.