Skip to main content
The Analytics endpoints return global, platform-wide aggregates across all of Polymarket: snapshot counts, percentage changes over a lookback window, per-bucket deltas (candles), and cumulative timeseries. For analytics scoped to a single market, event, trader, tag, or builder, use the analytics endpoints inside those groups.

Global aggregates

Example

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

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

const { data: counts } = await client.analytics.getCounts();
Need analytics for a single entity? Use the per-entity analytics endpoints: market analytics, event analytics, trader analytics, tag analytics, and builder analytics.
Last modified on June 16, 2026