Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mobula.io/llms.txt

Use this file to discover all available pages before exploring further.

Overview

Mobula’s Perpetuals APIs provide access to on-chain perpetual trading across decentralized exchanges:

Data

Wallet positions, unfilled orders, and funding rates across CeFi and DeFi.

Execution

Get quotes and execute perp trades on Gains Network and Lighter.

Streams

Real-time funding rate streams and perp trade event feeds.

Supported Exchanges

ExchangeChainType
LighterLighter L2On-chain orderbook
Gains NetworkArbitrumSynthetic perps

Fees

Each integrated DEX has its own fee model. See the Perp Fees page for a side-by-side breakdown of Lighter and Gains Network with worked numerical examples.

DEX Status

Before executing or building a UI on top of these DEXes, you can poll the Perp DEX Status endpoint to get an operational / degraded / maintenance / down rollup per DEX, individual HTTP/WS probe results, and any active or upcoming Lighter maintenance windows.

Perps Data Model

For the full data model of perpetual trading events (order types, field reference, examples), see the Perps Data Model reference.