📄️ API Overview
GMX exposes several integration points for developers, integrators, and AI agents building on the protocol. Start with the integration surface that matches your task instead of trying to use one API for everything.
📄️ Integration guide
Use this page when you want exact integration steps. The hand-written API pages explain which surfaces exist and how they behave operationally. The API v2 OpenAPI reference is generated and is best used for endpoint schemas and response fields, not for workflow guidance. Use Troubleshooting when reads do not match expected state.
🗃️ API v1 (REST API)
4 items
🗃️ API v2 (OpenAPI Reference)
15 items
🗃️ Contracts
12 items
📄️ Troubleshooting
Use this page when API reads do not match what you expect. Most issues fall into one of four buckets: invalid request parameters, stale snapshots, using the wrong surface for the job, or expecting immediate read-after-write consistency.
📄️ GraphQL
GMX provides GraphQL endpoints powered by Subsquid for querying indexed on-chain data.
📄️ Frontend Integration
The GMX protocol consists of smart contracts deployed on blockchains.
📄️ Updates and Support
For contract and API updates, subscribe to the @GMXTechnicalAnnouncements Telegram channel.