Lighter

Lighter is a decentralized perpetual futures exchange built on zkLighter, a zero-knowledge rollup that produces verifiable proofs of order matching and liquidations while targeting the latency of a centralized venue. Traders register a Lighter account by signing with an Ethereum wallet, then operate it through up to 256 API keys across master and sub-accounts. The public zkLighter REST API exposes 78 operations covering order books, trades, candles, funding rates, accounts, positions, public pools, referrals, deposits, transfers and withdrawals, alongside a WebSocket stream carrying order book, trade, candle, position and account-transaction channels. Writes are signed transactions rather than plain authenticated calls: clients sign an order, cancel, modify or transfer body with an API private key and submit it via sendTx or sendTxBatch. Lighter ships first-party Python and Go SDKs, runs a full testnet deployment, publishes a 239-entry numeric error registry, weighted per-tier rate limits, and a vulnerability disclosure policy.

Lighter publishes 1 API on the APIs.io network: zkLighter API. Tagged areas include Company, Trading, Cryptocurrency, Decentralized Finance, and Perpetual Futures.

The Lighter catalog on APIs.io includes 1 event-driven AsyncAPI specification.

Lighter’s developer surface includes documentation, API reference, getting-started guide, signup flow, pricing, support, authentication, and 24 more developer resources.

51.6/100 developing Agent 70/100 agent native Full breakdown ↓
scored 2026-07-20 · rubric v0.4
1 APIs 1 MCP Servers 0 Features
CompanyTradingCryptocurrencyDecentralized FinancePerpetual FuturesExchangeBlockchainZero KnowledgeMarket DataWebSockets

API Rating

API Evangelist API Evangelist Rating How this is scored →
scored 2026-07-20 · rubric v0.4
Composite quality — 51.6/100 · developing
Contract Quality 9.4 / 25
Developer Ergonomics 15.7 / 20
Commercial Clarity 13.2 / 20
Operational Transparency 4.1 / 13
Governance 0.0 / 12
Discoverability 9.3 / 10
Agent readiness — 70/100 · agent native
Machine-Readable Contract 18 / 18
Agentic Access Contract 0 / 15
MCP Server 12 / 12
Machine-Readable Auth 10 / 10
Idempotency 9 / 9
Stable Error Semantics 8 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 5 / 5
Well-Known Catalog 4 / 4
Consent & Bot Identity 0 / 3
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/lighter: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs

zkLighter API

The zkLighter REST API is the programmatic interface to the Lighter exchange. Read operations cover system configuration, order books and their resting orders, recent trades, ca...

MCP Servers

lighter-mcp.yml

MCP SERVER

Pricing Plans

Lighter Plans

4 plans

PLANS

Rate Limits

Lighter Rate Limits

0 limits

RATE LIMITS

Event Specifications

Lighter zkLighter WebSocket API

Real-time streaming surface for the zkLighter decentralized perpetuals exchange. Generated by the API Evangelist enrichment pipeline from Lighter's published WebSocket reference...

ASYNCAPI

Resources

Get Started 4

Portal, sign-up, and the first successful call

Documentation 2

Reference material describing how the API behaves

Agent Surfaces 4

MCP servers, agent skills, and machine-readable catalogs

Design & Contract 7

Pagination, idempotency, versioning, errors, and events

Scroll for all 7

Build 3

SDKs, sample code, and the tooling you integrate with

Access & Security 4

Authentication, authorization, and security posture

Operate 3

Status, limits, changes, and where to get help

Commercial 3

Pricing, plans, and the legal terms of use

Company 1

The organization behind the API

Source (apis.yml)

apis.yml Raw ↑
aid: lighter
name: Lighter
description: 'Lighter is a decentralized perpetual futures exchange built on zkLighter, a zero-knowledge rollup that produces
  verifiable proofs of order matching and liquidations while targeting the latency of a centralized venue. Traders register
  a Lighter account by signing with an Ethereum wallet, then operate it through up to 256 API keys across master and sub-accounts.
  The public zkLighter REST API exposes 78 operations covering order books, trades, candles, funding rates, accounts, positions,
  public pools, referrals, deposits, transfers and withdrawals, alongside a WebSocket stream carrying order book, trade, candle,
  position and account-transaction channels. Writes are signed transactions rather than plain authenticated calls: clients
  sign an order, cancel, modify or transfer body with an API private key and submit it via sendTx or sendTxBatch. Lighter
  ships first-party Python and Go SDKs, runs a full testnet deployment, publishes a 239-entry numeric error registry, weighted
  per-tier rate limits, and a vulnerability disclosure policy.'
image: https://files.readme.io/2bd11e7-lighter_logo.svg
url: https://raw.githubusercontent.com/api-evangelist/lighter/refs/heads/main/apis.yml
x-type: company
x-source: vc-portfolio
x-backed-by:
- a16z
- founders-fund
- ribbit-capital
specificationVersion: '0.20'
created: '2026-07-17'
modified: '2026-07-19'
tags:
- Company
- Trading
- Cryptocurrency
- Decentralized Finance
- Perpetual Futures
- Exchange
- Blockchain
- Zero Knowledge
- Market Data
- WebSockets
apis:
- aid: lighter:zklighter
  name: zkLighter API
  description: The zkLighter REST API is the programmatic interface to the Lighter exchange. Read operations cover system
    configuration, order books and their resting orders, recent trades, candles and mark-price candles, funding rates, exchange
    statistics, accounts and account limits, positions and PnL, public pools, API keys, referrals, and deposit, transfer and
    withdrawal history. Write operations are signed L2 transactions submitted through sendTx and sendTxBatch, covering order
    creation, cancellation and modification, transfers, withdrawals, public pool share mint and burn, leverage and margin
    updates, and account tier changes. A parallel WebSocket stream at wss://mainnet.zklighter.elliot.ai/stream delivers the
    same domain as real-time channels.
  humanURL: https://apidocs.lighter.xyz/
  baseURL: https://mainnet.zklighter.elliot.ai
  tags:
  - Trading
  - Market Data
  - Perpetual Futures
  - Order Book
  - Blockchain
  properties:
  - type: OpenAPI
    url: openapi/lighter-zklighter-openapi-original.json
  - type: Overlay
    url: overlays/lighter-zklighter-overlay.yaml
  - type: AsyncAPI
    url: asyncapi/lighter-zklighter-asyncapi.yml
  - type: Documentation
    url: https://apidocs.lighter.xyz/docs/get-started
  - type: APIReference
    url: https://apidocs.lighter.xyz/reference/systemconfig
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
- FN: APIs.json
  email: info@apis.io
common:
- type: Website
  url: https://lighter.xyz
- type: DeveloperPortal
  url: https://apidocs.lighter.xyz/
- type: Documentation
  url: https://docs.lighter.xyz/
- type: APIReference
  url: https://apidocs.lighter.xyz/reference/systemconfig
- type: GettingStarted
  url: https://apidocs.lighter.xyz/docs/get-started
- type: SignUp
  url: https://app.lighter.xyz/
- type: Pricing
  url: https://docs.lighter.xyz/trading/trading-fees
- type: TermsOfService
  url: https://lighter.xyz/terms
- type: Support
  url: https://discord.gg/lighterxyz
- type: GitHubOrganization
  url: https://github.com/elliottech
- type: StatusPage
  url: https://status.lighter.xyz/
- type: Security
  url: https://docs.lighter.xyz/security/security-vulnerability-disclosure-policy
- type: VulnerabilityDisclosure
  url: security/lighter-vulnerability-disclosure.yml
- type: DomainSecurity
  url: security/lighter-domain-security.yml
- type: Authentication
  url: authentication/lighter-authentication.yml
- type: Conventions
  url: conventions/lighter-conventions.yml
- type: Idempotency
  url: conventions/lighter-conventions.yml
- type: Lifecycle
  url: lifecycle/lighter-lifecycle.yml
- type: Conformance
  url: conformance/lighter-conformance.yml
- type: ErrorCatalog
  url: errors/lighter-error-codes.yml
- type: ErrorCodes
  url: errors/lighter-problem-types.yml
- type: Packages
  url: packages/lighter-packages.yml
- type: SDKs
  url: packages/lighter-packages.yml
- type: MCPServer
  url: mcp/lighter-mcp.yml
- type: AgentSkill
  url: skills/_index.yml
- type: LLMsTxt
  url: llms/lighter-llms.txt
- type: WellKnown
  url: well-known/lighter-well-known.yml
- type: DataModel
  url: data-model/lighter-data-model.yml
- type: Sandbox
  url: sandbox/lighter-sandbox.yml
- type: RateLimits
  url: rate-limits/lighter-rate-limits.yml
- type: Plans
  url: plans/lighter-plans.yml
x-enrichment:
  date: '2026-07-19'
  status: backfilled
  pass: local-v1
  note: backfilled from .gitignore signal + verified work evidence