GMX
GMX is a decentralized perpetual and spot exchange deployed on Arbitrum, Avalanche, Botanix, and MegaETH, supporting trades with up to 100x leverage and low-price-impact token swaps powered by oracle-based pricing. The platform exposes four integration surfaces: a GMX REST API (primary, OpenAPI-documented) for account data, orders, analytics, and relayed workflows; an Oracle API (stable) for oracle prices, markets, liquidity snapshots, and APY; a GraphQL API via Subsquid for historical on-chain data; and an MCP server plus TypeScript SDK for AI-agent and programmatic access. Data coverage includes markets, tickers, tokens, positions, orders, rates, APY, performance, wallet balances, GLP/GM/GLV token analytics, OHLCV, buyback stats, and staking power.
GMX publishes 18 APIs on the APIs.io network, including Allowances API, APY API, Balances API, and 15 more. Tagged areas include DeFi, Perpetual Exchange, DEX, Trading, and Leverage.
The GMX catalog on APIs.io includes 2 JSON-LD contexts and 1 Spectral governance ruleset.
GMX’s developer surface includes documentation, GitHub presence, engineering blog, changelog, and 5 more developer resources.
Kin Score
APIs 22
Individual APIs this provider publishes, each with its own machine-readable definition.
GMX Oracle API
Stable, read-only REST API providing oracle prices, market information, liquidity snapshots, APY data, and GM/GLV token info for Arbitrum, Avalanche, Botanix, and MegaETH. Prima...
GMX GraphQL API
Historical on-chain data for GMX via Subsquid-powered GraphQL endpoints. Enables deep queries over trades, liquidity events, positions, and protocol metrics indexed from Arbitru...
GMX Integration API
CoinGecko-compatible trading pairs API for GMX markets on Arbitrum and Avalanche, returning ticker IDs, base and target currencies, product type (Spot or Perpetual), last price,...
GMX TypeScript SDK
Official @gmx-io/sdk package shipping two clients: GmxSdk (SDK v1) for full read/write access via RPC, and GmxApiSdk (SDK v2) for lightweight read-only HTTP access covering mark...
GMX Allowances API
The Allowances API from GMX — 1 operation(s) for allowances.
GMX APY API
The APY API from GMX — 1 operation(s) for apy.
GMX Balances API
The Balances API from GMX — 1 operation(s) for balances.
GMX Buyback API
The Buyback API from GMX — 1 operation(s) for buyback.
GMX GMX Account API
The GMX Account API from GMX — 4 operation(s) for gmx account.
GMX JIT API
The JIT API from GMX — 2 operation(s) for jit.
GMX Markets API
The Markets API from GMX — 5 operation(s) for markets.
GMX Order Transactions API
The Order Transactions API from GMX — 6 operation(s) for order transactions.
GMX Orders API
The Orders API from GMX — 2 operation(s) for orders.
GMX Pairs API
The Pairs API from GMX — 1 operation(s) for pairs.
GMX Performance API
The Performance API from GMX — 2 operation(s) for performance.
GMX Positions API
The Positions API from GMX — 2 operation(s) for positions.
GMX Prices API
The Prices API from GMX — 1 operation(s) for prices.
GMX Rates API
The Rates API from GMX — 1 operation(s) for rates.
GMX Staking API
The Staking API from GMX — 1 operation(s) for staking.
GMX Subaccounts API
The Subaccounts API from GMX — 2 operation(s) for subaccounts.
GMX Tokens API
The Tokens API from GMX — 2 operation(s) for tokens.
GMX Trades API
The Trades API from GMX — 2 operation(s) for trades.
Scroll for all 22
GraphQL 1
GraphQL schemas published by this provider.
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 capabil...
GRAPHQLPricing Plans 1
Published pricing tiers and plan structures.
Gmx Plans Pricing
PLANSRate Limits 1
Documented rate limits and quota policies.
Gmx Rate Limits
RATE LIMITSFinOps 1
Cost, billing, and metering signals for API financial operations.
Gmx Finops
FINOPSSemantic Vocabularies 2
JSON-LD contexts and semantic vocabularies used across these APIs.
Api Context
JSON-LDcontext Context
JSON-LDSpectral Rules 1
Spectral governance rulesets for linting and validating these APIs.
GMX API Rules
SPECTRALJSON Schema 72
Standalone JSON Schema definitions for this provider's data models.
ApiParameterPeriod
JSON SCHEMAApprovalPrepareRequest
JSON SCHEMAApprovalPrepareResponse
JSON SCHEMAApyEntry
JSON SCHEMAApyResponse
JSON SCHEMABigIntToString_BuybackWeeklyStatsData_
JSON SCHEMABigIntToString_StakingPowerData_
JSON SCHEMABridgeOutParamsDto
JSON SCHEMABuybackWeeklyStatsResponse
JSON SCHEMACancelPrepareRequest
JSON SCHEMACollateralOperation
JSON SCHEMACollateralPrepareRequest
JSON SCHEMACrossChainDepositPrepareRequest
JSON SCHEMACrossChainDepositPrepareResponse
JSON SCHEMACrossChainWithdrawPrepareRequest
JSON SCHEMACrossChainWithdrawPrepareResponse
JSON SCHEMACrossChainWithdrawSubmitRequest
JSON SCHEMACrossChainWithdrawSubmitResponse
JSON SCHEMAEditPrepareRequest
JSON SCHEMAGasPaymentParamsDto
JSON SCHEMAGlvShiftParamsResponse
JSON SCHEMAGmxAccountStatusRequest
JSON SCHEMAGmxAccountStatusResponse
JSON SCHEMAJitLiquidityHistoryPeriod
JSON SCHEMAJitLiquidityHistoryResponse
JSON SCHEMAJitLiquidityInfoItemResponse
JSON SCHEMAJitLiquidityInfoResponse
JSON SCHEMAJitLiquiditySnapshotResponse
JSON SCHEMALeverageTierResponse
JSON SCHEMAMarketConfigResponse
JSON SCHEMAMarketDirectionFilter
JSON SCHEMAMarketInfoResponse
JSON SCHEMAMarketRatesResponse
JSON SCHEMAMarketTickerResponse
JSON SCHEMAMarketValuesResponse
JSON SCHEMAMarketWithTiersResponse
JSON SCHEMAOhlcvCandle
JSON SCHEMAOrderEventCombination
JSON SCHEMAOrderKind
JSON SCHEMAOrderResponse
JSON SCHEMAOrderTransactionStatus
JSON SCHEMAPairResponse
JSON SCHEMAPositionResponse
JSON SCHEMAPrepareRequest
JSON SCHEMAPrepareResponse
JSON SCHEMARatesResponse
JSON SCHEMARatesSnapshotResponse
JSON SCHEMARecord_string.ApyEntry_
JSON SCHEMARecord_string.any_
JSON SCHEMARecord_string.unknown_
JSON SCHEMASimpleOrderType
JSON SCHEMAStakingPowerResponse
JSON SCHEMAStatusRequest
JSON SCHEMAStatusResponse
JSON SCHEMASubaccountStatusRequest
JSON SCHEMASubaccountStatusResponse
JSON SCHEMASubmitRequest
JSON SCHEMASubmitResponse
JSON SCHEMATokenAllowance
JSON SCHEMATokenInfoResponse
JSON SCHEMATokenResponse
JSON SCHEMATradeActionResponse
JSON SCHEMATradeDirection
JSON SCHEMATradeResponse
JSON SCHEMATradesListResponse
JSON SCHEMATradesSearchRequest
JSON SCHEMATransactionMode
JSON SCHEMAWalletBalance
JSON SCHEMAScroll for all 72
Examples 37
Example request and response payloads for these APIs.
Cancelprepare
EXAMPLECollateralprepare
EXAMPLEEditprepare
EXAMPLEFetchstatus
EXAMPLEGetallowances
EXAMPLEGetannualized
EXAMPLEGetapy
EXAMPLEGetliquidityhistory
EXAMPLEGetliquidityinfo
EXAMPLEGetmarkets
EXAMPLEGetmarketsconfig
EXAMPLEGetmarketsinfo
EXAMPLEGetmarketstickers
EXAMPLEGetmarketsvalues
EXAMPLEGetohlcv
EXAMPLEGetorderbykey
EXAMPLEGetordersbyaddress
EXAMPLEGetpairs
EXAMPLEGetpositionbykey
EXAMPLEGetpositionsinfo
EXAMPLEGetrates
EXAMPLEGetsnapshots
EXAMPLEGetstakingpower
EXAMPLEGettokens
EXAMPLEGettokensinfo
EXAMPLEGettrades
EXAMPLEGetwalletbalances
EXAMPLEGetweeklystats
EXAMPLEPrepare
EXAMPLEPrepareapproval
EXAMPLEPreparecrosschaindeposit
EXAMPLEPreparecrosschainwithdraw
EXAMPLESearchtrades
EXAMPLEStatus
EXAMPLEStatuscrosschainwithdraw
EXAMPLESubmit
EXAMPLESubmitcrosschainwithdraw
EXAMPLEScroll for all 37
Security Posture 1
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Agentic Access 1
Recommended x-agentic-access execution contracts for AI agents.
Resources
Documentation 1
Reference material describing how the API behaves
Agent Surfaces 1
MCP servers, agent skills, and machine-readable catalogs
Build 1
SDKs, sample code, and the tooling you integrate with
Access & Security 1
Authentication, authorization, and security posture
Operate 2
Status, limits, changes, and where to get help
Company 3
The organization behind the API