How to Get Polymarket Data: Public APIs, On-Chain Data and Ready Packages

How to get Polymarket data: the public APIs for markets, prices and trades, the on-chain route, and what it takes to answer a news question with them.

By
Whalidate Research
Published
Reading time
4 min read

There are three ways to get Polymarket data. You can read Polymarket's public APIs, you can read the Polygon chain, or you can ask for a package that someone has already pulled and checked. This guide covers all three, then shows what a real news question takes to answer.

If you only need the answer, skip to the ready package.

The three ways at a glance

Way You get You need
Public APIs Markets, prices, order books, trades, positions A script and time to page through results
The chain The settled trades themselves A way to read Polygon and decode the contracts
A ready package Charts, tables and a method note An e-mail to research@whalidate.com

What do Polymarket's public APIs give you?

Polymarket's documentation describes four sources. Three are plain web APIs and one is a set of subgraphs. For all three APIs, the documentation says reads need no key.

  • Gamma API (https://gamma-api.polymarket.com): events and markets, search, tags. You can list events, filter by active and closed, look one up by slug, and sort by volume. A page holds 1 to 500 results, and you move through the list with offset. An event holds its markets, so one call returns both.
  • CLOB API (https://clob.polymarket.com): the order book, prices, midpoint, spread and last trade price for an outcome token. Read endpoints need no authentication. Polymarket's client library has a price history call. It returns a time and a price for each point, over an interval from one hour to all available history, or between two timestamps you set.
  • Data API (https://data-api.polymarket.com): trades, positions and user data, with no key required.
  • Subgraphs (hosted on Goldsky, queried with GraphQL): user token balances, order and trade events, splits, merges and redemptions, open interest and profit and loss.

Each outcome of a market has its own token. Its token ID is what the CLOB endpoints ask for; the market's condition ID identifies the market itself. The market's record lists the token for each outcome.

These pages describe the interface as it stood when we read them. Check the live documentation for the exact paths and fields before you build on them.

What can you read from the chain?

Polymarket trades on Polygon, so every fill is a public record that anyone can read. The contract table in Polymarket's GitHub skill predates its newer exchange contracts, so it is not a complete list. Read the events of every exchange Polymarket uses today, or you will miss fills. The APIs are the faster way in. The chain is the way to confirm that what an API returned is what actually settled.

Reading the chain directly takes work. You need a Polygon node or a provider, the current contract addresses, and code to decode the events into trades. Most questions do not need it. A question about who traded when, and at what price, is answered by the trade records from the APIs, and you can spot-check a sample against the chain.

What does it take to answer a news question?

A recent example shows the steps. On 23 November 2026, the price of Jensen Huang returning to NVIDIA jumped on Polymarket. We pulled every public trade and position in the five markets on his return and asked who bought before the price moved.

These figures are Whalidate's data, published by The Cryptonomist in its article on the markets:

  • Before the news, Polymarket priced a return by 30 November at 3%.
  • The first buy of the run came at 13:55:50 UTC on 23 November.
  • After 71 seconds, "Yes" cost 90¢. After 221 seconds, it cost 99¢.
  • 1,999 wallets held "Yes" before the news.
  • In our snapshot of 25 November, 5,421 wallets had gained and 1,767 had lost.

Getting there took four jobs:

  1. Find the markets. One story had several markets with different deadlines, so we listed every market of the story and each one's tokens.
  2. Pull every trade. The price jump lasted minutes, so the trades had to be complete and timed to the second. A sample would have missed the first buyers.
  3. Pull the positions. The holders of "Yes" before the news come from positions, not from trades. We checked that the shares bought in the trades matched the positions.
  4. Check the price against a second source. We compared the price built from trades with Polymarket's own price history for the same minutes.

The data shows who bought and when. It does not show who knew what. A wallet is not a person.

When is a ready package faster?

Each of those jobs takes time the first time you do it. If you have a deadline, Whalidate Research prepares data packages on request: charts, tables in CSV and XLSX, and a method note that says how each figure was computed. The package is free for publications and researchers that credit "Data: Whalidate" with a link. Write to research@whalidate.com with the market, your question and your deadline.

Questions people ask

Do I need an API key to read Polymarket data?

Not for reads. Polymarket's documentation says its Gamma API (events and markets), its Data API (trades, positions, user data) and the read endpoints of its CLOB API need no authentication. Placing orders does.

Where can I get Polymarket data without writing code?

Whalidate Research prepares data packages on request for journalists and researchers. Write to research@whalidate.com with the market, your question and your deadline.

Sources

Keep reading