Skip to main content
A market is a single tradable question on Polymarket, identified by its condition_id. Each market resolves into one or more outcome positions, and every position has its own position_id. The Market endpoints cover discovery, metadata, price and volume history, candlesticks, trades, top traders, and per-market analytics.

Discover

Price and volume

Activity and metrics

Analytics

Order book and holders

Example

import { StructClient } from "@structbuild/sdk";

const client = new StructClient({ apiKey: "YOUR_API_KEY" });

const { data: markets } = await client.markets.getMarkets({ limit: 10, tags: "politics" });

const { data: market } = await client.markets.getMarket({ conditionId: "0xabc..." });

const { data: candles } = await client.markets.getCandlestick({
  condition_id: "0xabc...",
  resolution: "1h",
});
Last modified on June 16, 2026