REST V2
REST endpoints for V2 protocol information.
Oracle Information
Ping
To check the endpoint status:
- Arbitrum URL: https://arbitrum-api.gmxinfra.io/ping
- Avalanche URL: https://avalanche-api.gmxinfra.io/ping
- Botanix URL: https://botanix-api.gmxinfra.io/ping
Tickers
To retrieve the latest price information for pricing display:
- Arbitrum URL: https://arbitrum-api.gmxinfra.io/prices/tickers
- Avalanche URL: https://avalanche-api.gmxinfra.io/prices/tickers
- Botanix URL: https://botanix-api.gmxinfra.io/prices/tickers
Signed Prices
To retrieve the latest signed price information for sending transactions:
- Arbitrum URL: https://arbitrum-api.gmxinfra.io/signed_prices/latest
- Avalanche URL: https://avalanche-api.gmxinfra.io/signed_prices/latest
- Botanix URL: https://botanix-api.gmxinfra.io/signed_prices/latest
Candlesticks
To retrieve candlesticks data:
- Arbitrum URL: https://arbitrum-api.gmxinfra.io/prices/candles?tokenSymbol=ETH&period=1d
- Avalanche URL: https://avalanche-api.gmxinfra.io/prices/candles?tokenSymbol=AVAX&period=1d
- Botanix URL: https://botanix-api.gmxinfra.io/prices/candles?tokenSymbol=BTC&period=1d
Required query parameters:
tokenSymbol
period
: 1m, 5m, 15m, 1h, 4h, or 1d
Tokens
To retrieve a list of supported tokens:
- Arbitrum URL: https://arbitrum-api.gmxinfra.io/tokens
- Avalanche URL: https://avalanche-api.gmxinfra.io/tokens
- Botanix URL: https://botanix-api.gmxinfra.io/tokens
Markets Information
Fee APYs
To retrieve GM and GLV fee APYs:
- Arbitrum URL: https://arbitrum-api.gmxinfra.io/apy?period=total
- Avalanche URL: https://avalanche-api.gmxinfra.io/apy?period=total
- Botanix URL: https://botanix-api.gmxinfra.io/apy?period=total
Accepted query parameters:
period
: 1d, 7d, 30d, 90d, 180d, 1y, total. If no period is set, 30d is returned by default.
Performance
To retrieve GM and GLV annualized performance:
- Arbitrum URL: https://arbitrum-api.gmxinfra.io/performance/annualized?period=total
- Avalanche URL: https://avalanche-api.gmxinfra.io/performance/annualized?period=total
- Botanix URL: https://botanix-api.gmxinfra.io/performance/annualized?period=total
Accepted query parameters:
period
: 7d, 30d, 90d, 180d, 1y, total. If no period is set, 90d is returned by default.address
: The address of a specific GM or GLV if data for only one entity is required.
GM Tokens
To retrieve a list of market tokens (e.g., GM tokens for V2 pools):
- Arbitrum URL: https://arbitrum-api.gmxinfra.io/markets
- Avalanche URL: https://avalanche-api.gmxinfra.io/markets
- Botanix URL: https://botanix-api.gmxinfra.io/markets
GM Info
To retrieve detailed market information, including liquidity, open interest, token amounts, funding/borrowing/net rates, isDisabled status, and listing date:
- Arbitrum URL: https://arbitrum-api.gmxinfra.io/markets/info
- Avalanche URL: https://avalanche-api.gmxinfra.io/markets/info
- Botanix URL: https://botanix-api.gmxinfra.io/markets/info
GLV Tokens
To retrieve a list of GMX Liquidity Vault (GLV) tokens:
- Arbitrum URL: https://arbitrum-api.gmxinfra.io/glvs/
- Avalanche URL: https://avalanche-api.gmxinfra.io/glvs/
- Botanix URL: https://botanix-api.gmxinfra.io/glvs/
GLV Info
To retrieve extended GLV information, including market exposure, balance in GMs and USD, isDisabled status, and listing date:
- Arbitrum URL: https://arbitrum-api.gmxinfra.io/glvs/info
- Avalanche URL: https://avalanche-api.gmxinfra.io/glvs/info
- Botanix URL: https://botanix-api.gmxinfra.io/glvs/info
Alternative URLs
If the primary host is unavailable, use the following fallback endpoints: