📄️ 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 GMX API 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.
📄️ Getting GM and GLV token prices
Use this page when you need a GM or GLV token price and need to choose the right integration surface. The best method depends on whether you need a standard oracle feed, direct GMX valuation for a specific block and price context, or off-chain display data.
🗃️ GMX API OpenAPI Reference
30 items
🗃️ Oracle API
4 items
🗃️ Contracts
13 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.