Skip to main content

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):

NetworkURL
Arbitrumhttps://arbitrum-api.gmxinfra.io/markets
Avalanchehttps://avalanche-api.gmxinfra.io/markets
Botanixhttps://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:

NetworkURL
Arbitrumhttps://arbitrum-api.gmxinfra.io/markets/info
Avalanchehttps://avalanche-api.gmxinfra.io/markets/info
Botanixhttps://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.

GM token prices

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 /markets for a market catalog or configuration view. The current implementation caches this route for 60 seconds.
  • Use /markets/info for near-live liquidity, open interest, funding, borrowing, token amounts, and isDisabled state. The current implementation caches this route for 1 second.
  • Use /markets/tickers when you need filtered ticker reads. Invalid addresses or symbols query values return 400.
  • 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.