> ## 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.

# Perpetuals APIs

> Trade and track perpetual futures across decentralized exchanges.

## Overview

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

<CardGroup cols={3}>
  <Card title="Data" icon="database" color="#5C7DF9">
    Wallet positions, unfilled orders, and funding rates across CeFi and DeFi.
  </Card>

  <Card title="Execution" icon="bolt" color="#5C7DF9">
    Get quotes and execute perp trades on Gains Network and Lighter.
  </Card>

  <Card title="Streams" icon="signal-stream" color="#5C7DF9">
    Real-time funding rates, [perp positions](/streams/wss-perp-positions), and [perp trade events](/streams/wss-perp-events).
  </Card>
</CardGroup>

<Note>
  **Perp endpoints are currently served from `https://api.mobula.io`** (demo gateway). The production gateway does not yet expose `/2/perp/*`; calls there return `404 Not Found`. A migration note will be published when the routes are promoted.
</Note>

## Supported Exchanges

| Exchange          | Chain      | Type               |
| ----------------- | ---------- | ------------------ |
| **Lighter**       | Lighter L2 | On-chain orderbook |
| **Gains Network** | Arbitrum   | Synthetic perps    |

## Fees

Each integrated DEX has its own fee model. See the [Perp Fees](/perps-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](/data/perps/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](/indexing-stream/stream/data-model/perps-data-model) reference.
