Skip to main content

@gmx-io/gmx-public-api

GMX API overview with Swagger/OpenAPI links and base URLs.

GMX API (Swagger)

Base URLs

The GMX API is deployed per chain across two independent peer base URLs (.io and .ai). Neither is primary; both receive the same data and accept the same requests. Integrations that hit the API directly should use either base URL, or rotate across both.

NetworkPeer A (.io)Peer B (.ai)
Arbitrumhttps://arbitrum.gmxapi.io/v1https://arbitrum.gmxapi.ai/v1
Avalanchehttps://avalanche.gmxapi.io/v1https://avalanche.gmxapi.ai/v1
Botanixhttps://botanix.gmxapi.io/v1https://botanix.gmxapi.ai/v1
MegaETHhttps://megaeth.gmxapi.io/v1https://megaeth.gmxapi.ai/v1