Quick Start
Fetch Gains Network Perp Markets
Fetch Lighter Perp Markets
Fetch All Perp Markets (Both Exchanges)
Understanding Perp Market Pool Types
| Pool Type | Exchange | Chain | Description |
|---|---|---|---|
gains-perp | Gains Network | Arbitrum (evm:42161) | Decentralized leveraged trading with synthetic assets |
lighter-perp | Lighter | Lighter L2 (lighter:301, lighter:304) | High-performance perpetual DEX with orderbook |
Code Examples
JavaScript/TypeScript with Mobula SDK
JavaScript with Fetch API
Python
Response Structure
The Pulse API returns perp market data in the following structure:Key Response Fields
| Field | Type | Description |
|---|---|---|
address | string | Market/pool contract address |
chainId | string | Blockchain identifier (e.g., evm:42161, lighter:301) |
symbol | string | Market trading pair symbol (e.g., ETH-USD, BTC-USD) |
name | string | Full market name |
poolType | string | Pool type (gains-perp or lighter-perp) |
exchange | string | Exchange identifier (gains or lighter) |
priceUSD | number | Current price in USD |
volume24h | number | 24-hour trading volume |
liquidity | number | Available liquidity |
trades24h | number | Number of trades in last 24 hours |
Filtering and Sorting
Filter by Chain
To get perp markets on a specific chain:Pagination
Uselimit and offset parameters for paginated results:
Advanced: Using POST Method with Filters
For more complex queries, use the POST method with custom filters:TypeScript Example with Filters
Real-Time Perp Market Updates
For real-time updates on perp markets, use the Pulse V2 WebSocket stream:Use Cases
1. Trading Bot Market Discovery
2. Market Analytics Dashboard
3. Building a Market Selector UI
Related Resources
Perps Data Model
Learn about perpetual trading events and order types
Perp Quote API
Get quotes for opening perpetual positions
Perp Execute API
Execute perpetual trades on supported DEXs
Pulse API Reference
Full Pulse API documentation