GMX · GraphQL Specification

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.

Documentation Endpoint View on GitHub DeFiPerpetual ExchangeDEXTradingLeverageLiquidity PoolsGLPGM TokensGLVArbitrumAvalancheWeb3GraphQL

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

GMX Allowances API (OpenAPI) GMX APY API (OpenAPI) GMX Balances API (OpenAPI) GMX Buyback API (OpenAPI) GMX GMX Account API (OpenAPI) GMX JIT API (OpenAPI) GMX Markets API (OpenAPI) GMX Order Transactions API (OpenAPI) GMX Orders API (OpenAPI) GMX Pairs API (OpenAPI) GMX Performance API (OpenAPI) GMX Positions API (OpenAPI) GMX Prices API (OpenAPI) GMX Rates API (OpenAPI) GMX Staking API (OpenAPI) GMX Subaccounts API (OpenAPI) GMX Tokens API (OpenAPI) GMX Trades API (OpenAPI)
Back to GMX · All GraphQL Specs · GitHub

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.
All 92 tools

Call it yourself

curl for this page
This GraphQL schema
curl "https://apis.io/api/v1/graphql/gmx-graphql"
All graphql
curl "https://apis.io/api/v1/graphql?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.