Polymarket MCP Server & API for AI Agents
Connect your own Polymarket account once in Duang's encrypted team vault to expose 120 operations to your AI agents via MCP, CLI, or HTTP with zero exposed credentials.
Read https://duang.ai/SKILL.md and use duang to run prediction.markets.search.
Data APIs powered by Polymarket (1)
What you can ask your agent
“What are the most traded prediction markets on Polymarket today?”
Top market from the response: - **Will there be no change in Fed interest rates after the December 2026 meeting?** — liquidity `$398,116.47`, ends December 9, 2026.
markets · recorded 2026-11-11T10:25:04.952Z“What chance does Polymarket give the outcome of this market?”
The current midpoint price for this outcome on Polymarket is **0.0395** (an implied probability of **3.95%**). Want me to check the order book spread or recent price history?
midpoint · recorded 2026-11-11T10:25:07.963ZOperations (120)
| Operation | Data API | Price |
|---|---|---|
GET gamma-api.polymarket.com/public-searchFind events, markets and traders on Polymarket by words. | prediction.markets.search | Own key |
GET gamma-api.polymarket.com/marketsMarkets on Polymarket: each a question with its outcomes and what they trade at. | — | Own key |
GET gamma-api.polymarket.com/markets/slug/{slug}One Polymarket market, by its slug. | — | Own key |
GET gamma-api.polymarket.com/eventsEvents on Polymarket: each groups the markets about one subject. | — | Own key |
GET gamma-api.polymarket.com/events/slug/{slug}One Polymarket event with all its markets, by its slug. | — | Own key |
GET clob.polymarket.com/bookThe order book of one outcome of a market: what buyers and sellers offer. | — | Own key |
GET clob.polymarket.com/priceThe best price to buy or to sell one outcome of a market at now. | — | Own key |
GET clob.polymarket.com/midpointThe middle of the best bid and the best ask of one outcome: its going price. | — | Own key |
GET clob.polymarket.com/prices-historyHow the price of one outcome of a market moved over time. | — | Own key |
GET gamma-api.polymarket.com/statusGamma API Health check | — | Own key |
GET gamma-api.polymarket.com/teamsList teams | — | Own key |
GET gamma-api.polymarket.com/teams/{id}Get team by id | — | Own key |
GET gamma-api.polymarket.com/tagsList tags | — | Own key |
GET gamma-api.polymarket.com/tags/{id}Get tag by id | — | Own key |
GET gamma-api.polymarket.com/tags/slug/{slug}Get tag by slug | — | Own key |
GET gamma-api.polymarket.com/tags/{id}/related-tagsGet related tags (relationships) by tag id | — | Own key |
GET gamma-api.polymarket.com/tags/slug/{slug}/related-tagsGet related tags (relationships) by tag slug | — | Own key |
GET gamma-api.polymarket.com/tags/{id}/related-tags/tagsGet tags related to a tag id | — | Own key |
GET gamma-api.polymarket.com/tags/slug/{slug}/related-tags/tagsGet tags related to a tag slug | — | Own key |
GET gamma-api.polymarket.com/events/paginationList events (paginated) | — | Own key |
GET gamma-api.polymarket.com/events/resultsList sport events results | — | Own key |
GET gamma-api.polymarket.com/events/{id}Get event by id | — | Own key |
GET gamma-api.polymarket.com/events/{id}/tweet-countGet event tweet count | — | Own key |
GET gamma-api.polymarket.com/events/{id}/comments/countGet event comment count | — | Own key |
GET gamma-api.polymarket.com/events/{id}/tagsGet event tags | — | Own key |
GET gamma-api.polymarket.com/events/creatorsList event creators | — | Own key |
GET gamma-api.polymarket.com/events/creators/{id}Get event creator by id | — | Own key |
GET gamma-api.polymarket.com/markets/{id}Get market by id | — | Own key |
GET gamma-api.polymarket.com/markets/{id}/descriptionGet market description by id | — | Own key |
GET gamma-api.polymarket.com/markets/{id}/tagsGet market tags by id | — | Own key |
POST gamma-api.polymarket.com/markets/informationQuery markets by information filters | — | Own key |
POST gamma-api.polymarket.com/markets/abridgedQuery abridged markets by information filters | — | Own key |
GET gamma-api.polymarket.com/markets/keysetList markets (keyset pagination) | — | Own key |
GET gamma-api.polymarket.com/events/keysetList events (keyset pagination) | — | Own key |
GET gamma-api.polymarket.com/seriesList series | — | Own key |
GET gamma-api.polymarket.com/series/{id}Get series by id | — | Own key |
GET gamma-api.polymarket.com/series/{id}/comments/countGet series comment count | — | Own key |
GET gamma-api.polymarket.com/series-summary/{id}Get series summary by id | — | Own key |
GET gamma-api.polymarket.com/series-summary/slug/{slug}Get series summary by slug | — | Own key |
GET gamma-api.polymarket.com/commentsList comments | — | Own key |
GET gamma-api.polymarket.com/comments/{id}Get comments by comment id | — | Own key |
GET gamma-api.polymarket.com/comments/user_address/{user_address}Get comments by user address | — | Own key |
GET gamma-api.polymarket.com/public-profileGet public profile by wallet address | — | Own key |
GET gamma-api.polymarket.com/profiles/user_address/{user_address}Get public profile by user address | — | Own key |
GET gamma-api.polymarket.com/sportsGet sports metadata information | — | Own key |
GET gamma-api.polymarket.com/sports/market-typesGet valid sports market types | — | Own key |
DELETE clob.polymarket.com/orderCancel single order | — | Own key |
DELETE clob.polymarket.com/ordersCancel multiple orders | — | Own key |
GET clob.polymarket.com/data/wallet-open-ordersGet wallet open orders | — | Own key |
DELETE clob.polymarket.com/cancel-wallet-ordersCancel wallet orders | — | Own key |
GET clob.polymarket.com/data/ordersGet user orders | — | Own key |
GET clob.polymarket.com/data/order/{orderID}Get single order by ID | — | Own key |
DELETE clob.polymarket.com/cancel-allCancel all orders | — | Own key |
DELETE clob.polymarket.com/cancel-market-ordersCancel orders for a market | — | Own key |
GET clob.polymarket.com/timeGet server time | — | Own key |
POST clob.polymarket.com/midpointsGet midpoint prices (request body) | — | Own key |
GET clob.polymarket.com/spreadGet spread | — | Own key |
POST clob.polymarket.com/spreadsGet spreads | — | Own key |
GET clob.polymarket.com/last-trade-priceGet last trade price | — | Own key |
POST clob.polymarket.com/last-trades-pricesGet last trade prices (request body) | — | Own key |
Frequently asked questions
Do I need my own Polymarket subscription or API key?
Yes. Connect your existing Polymarket API key in Duang's team vault so your agents can call all 120 operations without seeing the raw key.
How do I add Polymarket to Claude Code or Cursor via MCP?
Add Duang's single remote MCP endpoint (https://api.duang.ai/mcp) or follow https://duang.ai/SKILL.md. Your agent discovers and invokes Polymarket operations on demand without loading hundreds of unused schemas into context.
Am I charged if a Polymarket API call fails?
No. Upstream supplier failures and Duang platform errors cost $0 on managed calls. Every successful call returns a receipt listing the exact supplier and USD amount charged.
