Polymarket

Watch Polymarket prices and order books from the chat

Connect Polymarket to the AI agent: events, markets, prices, order books and positions by wallet address. The agent compares quotes and reviews positions.

How the agent works with Polymarket

Polymarket has not one API but several, and the agent calls each for its own part: Gamma for events, markets, search and tags, CLOB for the order book, the spread and the quote history, Data API for positions, activity and leaderboards on the saved address. That is how the picture comes together: what the event is, at what price it trades, how deep the market is and how you are positioned in it.

A prediction market price is an estimate of probability, and the agent reads it together with the order book rather than on its own. In a thin market a single trade drags the last price far from anything you could actually enter at, so alongside the quote the agent shows the spread and the depth and separates a real market move from one drawn by a single order. Quote history is taken at the interval where the event is visible rather than smoothed away.

The agent cannot trade, by the way the connector is built: placing and cancelling orders requires a private key, which it neither stores nor accepts. All it does is read public data and break down your positions: which markets you are in, at what price you entered, what the portfolio is worth now. A recurring digest of markets about to close and of overnight price moves can be put on a schedule — that too is reading.

The connection is a single field with a wallet address: Polymarket neither issues nor requires an API key or a private key for reading, so there is nothing to revoke either — removing the address is enough. Positions are read against that address and matched with current market quotes, so the portfolio is valued as of the question, not as of the entry. Nothing behind a login is available to the agent at all: everything it sees is equally visible to anyone else. The connector keeps the request rate low, around one per second with a small allowance for bursts, and spreads calls across the three APIs so none of them hits its own limit.

Integration scenarios

Prices and depth on an event

The agent collects the current prices, spread and order book for the events you care about and shows where the market really moved and where one trade drew the move.

Reviewing your own positions

The agent breaks down open positions for the saved wallet address: which markets you are in, at what price you entered and what the portfolio is worth.

Market price history

The agent pulls the quote history of a market at the interval you need and shows which event turned the price around.

Digest of markets about to close

On a schedule the agent sends which of your markets moved notably in price overnight and which events close this week.

Markets on a topic you follow

Through Gamma the agent finds active markets by topic or tag, sorts them by volume and closing date and shows where the real trading is going on right now.

Your own trading history

The agent pulls activity for the saved address — what was bought and sold over the period and at what prices — groups the trades by market and finds the address on the leaderboard.

Polymarket examples

Polymarket
Frozen chats — click a question
Как там мой портфель?

5 открытых позиций на $2 140, плюс 11% к цене входа.

  • Самая крупная — «Ставка ФРС в сентябре», вход 0,41, сейчас 0,56
  • Один рынок закрывается в пятницу, спред там расширился до 4 центов

How to connect

Before you connect

  • A Polymarket account whose positions and activity you want to see
  • No API key and no private key — only public data is read
  1. 1

    Sign in to polymarket.com with your account

    Use the account whose positions and activity you want to see: the address itself is the filter. No API key and no private key are needed for reading.

  2. 2

    Copy the wallet address in the profile menu

    The profile menu shows your account wallet address, on desktop and mobile alike. This is the address your positions and balances are held under.

  3. 3

    Do not take the signer address

    Signing up with Google or email gives you a proxy smart wallet, and your MetaMask signer address is a different one; the signer address returns nothing.

FAQ

With a single field, the wallet address: polymarket.com, then the profile menu, then the account wallet address — 0x plus 40 hexadecimal characters. Polymarket neither issues nor requires an API key or a private key for reading.

Public Gamma, CLOB and Data API data: events, markets, search and tags, order books, spreads and price history, leaderboards, plus positions and activity for the saved address.

No. Placing and cancelling orders requires a private key, which the connector neither stores nor accepts, so only reading public data is available.

The account address, not the signer address in MetaMask: when you sign in with email or Google, Polymarket creates a smart wallet and the positions belong to it. The signer address returns an empty answer.

Related integrations

Category
Other
Connection
API key
Documentation
Polymarket

Connect Polymarket

Connecting takes a couple of minutes, and your data stays in your own systems.

Connect