Markets

Returns available trading markets. For the list of supported markets, see Markets.

If called with authentication, some fields are updated to reflect account-specific values. Read result.spot.tradingPairs for Spot market identifiers, increments, fees, and disabled status. Use authenticated configuration before trading because account access and fee arrangements can differ.

get/v1/markets

Request

  • Base URL
    https://api.ondoperps.xyz
  • URL
    https://api.ondoperps.xyz/v1/markets
  • Auth
    none required

Response

Markets response

successboolean required

Whether the request was successful

errorstring

Error message, present only on failure

error_codestring

Semantic error code. See each endpoint's error responses for the specific codes it can return.

deprecatedstring

Deprecation notice, if applicable

Example response

{
  "success": true,
  "result": {
    "perps": {
      "tradingPairs": [
        {
          "market": "AAPL-USD.P",
          "baseIncrement": "0.01",
          "quoteIncrement": "0.01"
        }
      ]
    },
    "tokenConfig": [
      {
        "id": "USDC",
        "name": "USD Coin"
      }
    ]
  }
}

Changes