Skip to main content

REST

REST endpoints for protocol information.

Oracle Information

Ping

To check the endpoint status:

Tickers

To retrieve the latest price information for pricing display:

Signed Prices

To retrieve the latest signed price information for sending transactions:

Candlesticks

To retrieve candlesticks data:

Required query parameters:

  • tokenSymbol
  • period: 1m, 5m, 15m, 1h, 4h, or 1d

Optional query parameters:

  • limit: The maximum number of candles to return. Defaults to 1000 if not specified.
    • Minimum: 1
    • Maximum: 10000

Response format:

{
"period": "1d",
"candles": [
[1701388800, 2150.25, 2180.5, 2145.0, 2175.3],
[1701302400, 2120.1, 2155.0, 2110.0, 2150.25]
]
}

Each candle is an array with 5 values:

  1. timestamp - Unix timestamp (seconds) of the candle period start
  2. open - Opening price
  3. high - Highest price during the period
  4. low - Lowest price during the period
  5. close - Closing price

Candles are returned in descending order (most recent first).

Tokens

To retrieve a list of supported tokens:

Markets Information

Trading Markets and GM Tokens

To retrieve a list of tradable markets and their tokens (e.g., GM tokens for V2 pools):

Trading Markets and GM Info

To retrieve a list of detailed information about tradable markets and their tokens, including liquidity, open interest, token amounts, funding/borrowing/net rates, isDisabled status, and listing date:

Fee APYs

To retrieve GM and GLV fee APYs:

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:

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.

GLV Tokens

To retrieve a list of GMX Liquidity Vault (GLV) tokens:

GLV Info

To retrieve extended GLV information, including market exposure, balance in GMs and USD, isDisabled status, and listing date:

Alternative URLs

If the primary host is unavailable, use the following fallback endpoints: