Markets
Oracle API endpoints for trading market information.
Use this page when you need public market reads from the Oracle API. For exact “which surface should I use” guidance, start with the API integration guide.
Trading markets and GM tokens
To retrieve a list of tradable markets and their associated tokens (for example, GM tokens for liquidity pools):
| Network | URL |
|---|---|
| Arbitrum | https://arbitrum-api.gmxinfra.io/markets |
| Avalanche | https://avalanche-api.gmxinfra.io/markets |
| Botanix | https://botanix-api.gmxinfra.io/markets |
This endpoint caches responses for 60 seconds.
Trading markets and GM info
To retrieve detailed information about tradable markets and their tokens — including liquidity, open interest, token amounts, funding/borrowing/net rates, isDisabled status, and listing date:
| Network | URL |
|---|---|
| Arbitrum | https://arbitrum-api.gmxinfra.io/markets/info |
| Avalanche | https://avalanche-api.gmxinfra.io/markets/info |
| Botanix | https://botanix-api.gmxinfra.io/markets/info |
The /markets/info endpoint refreshes market values on a 5000 ms pull interval and caches responses with a 1 second TTL. Treat it as a near-live snapshot, not as same-block state.
Oracle API /markets/info exposes GM market state such as liquidity, open interest, token amounts, rates, isDisabled status, listing date, and the GM market token address. It does not expose GM token prices as first-class fields, and GM market tokens are not exposed as GM [...] tickers in /prices/tickers. Use Chainlink Data Feeds where available, or call Reader.getMarketTokenPrice for direct GMX valuation. See Getting GM and GLV token prices.
Operational notes
- Use
/marketsfor a market catalog or configuration view. The current implementation caches this route for60seconds. - Use
/markets/infofor near-live liquidity, open interest, funding, borrowing, token amounts, andisDisabledstate. The current implementation caches this route for1second. - Use
/markets/tickerswhen you need filtered ticker reads. Invalidaddressesorsymbolsquery values return400. - If you need fallback behavior, use the alternate public URLs documented on Fallback URLs.
Funding rate data freshness
The /rates endpoint returns hourly snapshots produced by the Squid indexer — it is not realtime data. Each snapshot is timestamped at the start of the hour. Use /rates for historical rate analysis, averages, and trend charts.
For near-live funding rates, use /markets/info instead. It refreshes market values on a 5000 ms pull interval and includes current funding and borrowing rates alongside liquidity and open interest.