Skip to main content
Sign each request with a fresh HMAC signature. The cURL and HTTP header values in these pages are placeholders, not reusable credentials. For runnable signing code, use request signing examples.
The /v2/polymarket surface serves Polymarket wallet and market analytics under a single Data API credential (analytics.read). Every route is fixed to the Polymarket venue — there is no venue parameter to pass. Route and field names follow Predexon’s API, so an integration can switch base URLs; fields we add are extra keys. Exchange scope. Positions, volumes and trade statistics come from the CTF Exchange V1 and V2 contracts. Markets created on ExchangeV3 (combo markets, live since about 2026-11-02) are not covered yet. Routes that report it say so in exchange_scope: "ctf_v1_v2".

Response conventions

These hold across every endpoint on this surface:
  • Numbers are exact. USD amounts, prices and PnL are plain JSON numbers written from exact integers (micro-USD), never computed in floating point; ratios (ROI, win rate) are 0–1 decimals. Parse them with a decimal type if you need every digit.
  • Timestamps are unix seconds (computed_at, first_trade_at, last_trade_at, …).
  • Unknown is null, never a fake 0. A metric the source cannot compute is null, and where it matters a provenance field says why (fees_paid_source, cost_source, mark_source, profile_source, buy_sell_split_source). The wallet profile serves fees_paid on every window; the leaderboard serves it on all_time only. Fees cover the CLOB V2 exchanges (fees_paid_exchange_scope: "ctf_v2"); a wallet that also paid V1 fees gets null with fees_paid_source: "v1_fee_unvalued". fees_refunded is null on every window. A null fee means unknown, not zero.
  • Strict parameters on the leaderboard, wallet profile, profiles batch, wallet identity, top-holders and volume-chart routes: a query parameter the route does not accept is refused with 400 unknown_param, and a malformed value with 400 invalid_param. Value rules owned by the analytics service (an unknown sort key, a min_ above its max_) answer 400 BAD_REQUEST. On those routes a parameter is never silently ignored.
  • Two error envelopes. The API edge answers {"error": "<message>", "code": "unknown_param" | "invalid_param", "param": "<name>"}. The analytics service answers {"error": "BAD_REQUEST" | "NOT_FOUND" | "UNAVAILABLE", "message": "<message>"}. Read the typed code from code when it is present, otherwise from error.
  • Cursor pagination. List endpoints return pagination.pagination_key; pass it back as the pagination_key query parameter to get the next page. pagination.has_more tells you when to stop.

Endpoints