---
title: "Get All Markets"
method: POST
path: "/ob_getMarkets"
tags: ["Orderbook Data (ob_)"]
---

# Get All Markets

`POST /ob_getMarkets`

Retrieves a list of all available markets/orderbooks with their metadata
and statistics. Each market includes token information, current pricing,
24-hour statistics, and fee structure.

## Request body

- object
  - `jsonrpc` string, required
  - `method` string, required
  - `id` integer, required
  - `params` unknown[]
    - unknown

## Response `200`

Array of market objects with metadata and statistics

- object
  - `jsonrpc` string
  - `result` Market[]
    - `id` string — 32-byte value (hex-encoded with 0x prefix). Used for transaction hashes, orderbook IDs, etc.
    - `name` string — Market name in format `{base_token}/{quote_token}` (e.g. "NVDAx/USD")
    - `base_token_address` string — Ethereum address (20 bytes, hex-encoded with 0x prefix)
    - `quote_token_address` string — Ethereum address (20 bytes, hex-encoded with 0x prefix)
    - `base_token_symbol` string — Symbol of the base token (e.g., "NVDAx")
    - `quote_token_symbol` string — Symbol of the quote token (e.g., "USD")
    - `base_token_name` string — Full name of the base token
    - `quote_token_name` string — Full name of the quote token
    - `market_type` 'spot' | 'perpetual' — Type of market - spot trading or perpetual futures
    - `last_clearing_price` string — Unsigned 256-bit integer (hex-encoded with 0x prefix)
    - `auction_interval` integer — Length of a matching round, in microseconds.
    - `volume_24h` string — Unsigned 256-bit integer (hex-encoded with 0x prefix)
    - `high_24h` string — Unsigned 256-bit integer (hex-encoded with 0x prefix)
    - `low_24h` string — Unsigned 256-bit integer (hex-encoded with 0x prefix)
    - `price_change_24h` integer — 24-hour price change (signed integer)
    - `tick_precision` string — Unsigned 256-bit integer (hex-encoded with 0x prefix)
    - `lot_size` string — Unsigned 256-bit integer (hex-encoded with 0x prefix)
    - `maker_fee` string — Unsigned 256-bit integer (hex-encoded with 0x prefix)
    - `taker_fee` string — Unsigned 256-bit integer (hex-encoded with 0x prefix)
    - `max_leverage` integer — Maximum allowed leverage. Returned for both spot and perp markets, but only meaningful for perp.
    - `oracle_price` string, nullable — Perp markets only. Latest Pyth oracle price as a hex-encoded unsigned 256-bit integer (1e18-scaled), used as the mark for funding and liquidation. `null` for spot markets.
    - `mark_price` string, nullable — Perp markets only. True mark price (oracle-anchored) as a hex-encoded unsigned 256-bit integer (1e18-scaled). `null` for spot markets.
    - `funding_rate` string, nullable — Perp markets only. Per-`funding_window` funding rate as a signed decimal string (1e18-scaled, may be negative). `null` for spot markets.
    - `funding_index` string, nullable — Perp markets only. Cumulative per-unit-size funding accumulator as a signed decimal string (1e18-scaled, may be negative). `null` for spot markets.
    - `funding_last_updated` integer, nullable — Perp markets only. Microsecond Unix timestamp of the batch that produced the most recent funding update. `null` for spot markets.
    - `open_interest` string, nullable — Perp markets only. Open interest in 1e18-scaled USD notional as a hex-encoded unsigned 256-bit integer — `mark_price * Σ |position.size|` across every open cross-margin position on this market. `null` for spot markets.
  - `id` integer

---

[API](https://skmtc.dev/pod/apis/json-rpc-api.md) · [All operations](https://skmtc.dev/pod/apis/json-rpc-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pod/json-rpc-api/revisions/f78dc6cc4dfb/schema)
