Skip to main content
Example code snippets to query the indexer for spot market module related data.

Using gRPC

Fetch markets

Fetch market based on market id

Fetch market’s orders

Fetch market’s order history

Fetch market’s trades

Fetch list of subaccount orders

Fetch list of subaccount trades

Fetch orderbooks for multiple markets

Fetch orderbook for a market

Using HTTP REST

Fetch market summary, such as a history of prices and 24 hr volume

Fetch all markets summaries, such as a history of prices and 24 hr volume

Last modified on March 30, 2026