Skip to main content

GMX

GMX is a decentralized spot and perpetual exchange on Arbitrum, Avalanche, and Botanix. It supports perpetual trades with up to 100x leverage and token swaps with low price impact. The GMX Account lets you trade on GMX from any supported chain, including Ethereum, Base, and BNB. GMX uses Chainlink Data Stream oracles for accurate pricing, so liquidations occur only at fair market prices — not at momentary spread spikes.

Trading is powered by GM and GLV liquidity pools. GMX routes every order against these pools and quotes the oracle index price rather than relying on an order book or external market makers. Liquidity providers earn 63% of the fees generated from trading, liquidations, borrowing fees, and swaps on Arbitrum and Avalanche, and 50% on Botanix.

This documentation is structured for both humans and AI agents. Oracle-based pricing, deterministic execution, and comprehensive APIs support a range of use cases — whether you are a trader using the app, a developer building an integration, or an AI agent executing autonomous strategies.

Get started

Choose your role to find the right starting point.

  • Traders: Trading on GMX — Open leveraged positions, place limit orders, and swap tokens.
  • Liquidity providers: Providing liquidity — Earn yield by depositing into GM or GLV pools.
  • Token holders: GMX token — Stake GMX to earn rewards. See also Rewards.
  • Governance: Voting power — Participate in protocol governance.
  • Developers: API — Integrate with GMX contracts, REST endpoints, and the TypeScript SDK.
  • AI agents: AI Agents — Agent plugins, skills, and LLM-optimized documentation for building on GMX.