Polymarket research API
Ask in plain words and get every relevant Polymarket event: the topic is cleaned of its framing and fanned out into several searches, merged without duplicates.
GET /v1/polymarket/research3 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/polymarket/research?q=will%20the%20fed%20cut%20rates",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 3 credits{ "events": [ { "id": "901317", "slug": "will-the-fed-cut-rates-in-2023", "title": "Will the Fed cut rates in 2023?", "description": "This market will resolve to “Yes” if the upper bound of the target federal funds…", "startDate": "2023-02-21T18:29:15.639Z", "endDate": "2023-12-31T00:00:00Z", "active": true, "closed": true, "volume": 272977.91, "volume24hr": 0, "…": "35 more fields" }, "… 18 more" ], "tags": [ { "id": "106410", "label": "Word of the Year", "slug": "word-of-the-year", "event_count": 4 }, "… 6 more" ], "profiles": [ { "name": "not-the-fed", "pseudonym": "Pointless-Prizefight", "proxyWallet": "0x3bc6c5fc80ade2cc4367fef0373f58c25e06b6c9", "displayUsernamePublic": true }, "… 18 more" ], "queries": [ "the fed cut rates", "… 3 more" ]}Parameters
| Name | Type | Description |
|---|---|---|
qquery · required | string | A research topic in plain words. Example: will the fed cut rates. |
limitquery | integer | Results per type per search per page, 1 to 50. Defaults to 10. |
Response fields
200 with a PolymarketResearch, in Polymarket’s own JSON.
| Field | Type | Description |
|---|---|---|
events | PolymarketEvent[] | |
tags | PolymarketTag[] | |
profiles | PolymarketProfile[] | |
pagination | object | |
queries | string[] | The searches the topic was fanned out into. |
Status codes
| Status | Meaning |
|---|---|
200 | Merged events, tags and profiles, with the searches run. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | Nothing matched. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Polymarket is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
Which searches ran?
The queries field lists them.
Polymarket is a trademark of Polymarket. We are not affiliated with or endorsed by Polymarket.