GMX GraphQL API
GMX exposes historical on-chain data through a Subsquid-powered GraphQL API. The primary endpoint indexes the GMX Synthetics protocol on Arbitrum and provides deep query capabilities over trades, positions, liquidity events, fees, referrals, funding rates, and protocol-level metrics. A legacy The Graph subgraph also covers GMX v1 stats on Arbitrum and Avalanche.
Overview
GMX GraphQL API is a GraphQL API specification published by GMX on the APIs.io network.
GMX exposes historical on-chain data through a Subsquid-powered GraphQL API. The primary endpoint indexes the GMX Synthetics protocol on Arbitrum and provides deep query capabilities over trades, positions, liquidity events, fees, referrals, funding rates, and protocol-level metrics. A legacy The Graph subgraph also covers GMX v1 stats on Arbitrum and Avalanche.
Tagged areas include DeFi, Perpetual Exchange, DEX, Trading, and Leverage.
Endpoint
Related API Specs
Work with this as data
Every GraphQL schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for graphql
4 MCP tools reach this
find_graphqlBrowse and filter every GraphQL schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/graphql/gmx-graphql"
curl "https://apis.io/api/v1/graphql?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.