Fetch Polymarket prediction markets as structured JSON with one SocialCrawl API key. One advanced research composite expands your topic, fans out queries, and ranks on-topic events. Reads are priced in credits.
One live read endpoint for public Polymarket data. Pass a research topic and get a curated set of prediction markets: event titles, market questions, outcome prices, volume, and end dates. Data API only. No trading or wallet actions.
Server-side multi-query fan-out over public Polymarket markets. Expands the topic into parallel searches, dedupes events, drops off-topic matches, and ranks by topic-to-title similarity. Returns event title, market questions, outcome prices, volume, and end date.
Returns Polymarket prediction markets about a topic, ranked by how well they match: event title, market questions, outcome prices, volume, and end date.
Use it to get a focused feed of markets on a subject. It runs several searches for you and drops results that are not about the topic.
query · The research topic — free-text natural language (e.g. 'last 30 days bitcoin halving', 'kanye west tour'). Framing prefixes like 'last N days' and 'what are people saying about' are stripped automatically before expansion.
// Running this live needs your own API key — hit "Try it" to see an example response
How the Polymarket API works
Polymarket is a normal SocialCrawl surface. You call GET /v1/polymarket/research with an API key, spend credits on live misses, and get a single JSON envelope back. No Polymarket wallet. No second SDK.
Authenticate every call
Send your key in the x-api-key header. The same key works across the SocialCrawl catalog. No Polymarket account or trading credentials.
GET with query params
The live route is GET. Pass query as free-text topic text. Optional limit bounds results per fan-out leg. Framing phrases are stripped before expansion.
Pay in credits, not seats
Research costs 5 credits per live miss because it hits upstream several times. Cache hits cost 0. Empty or hard failures refund. Bad params never charge.
Read one JSON envelope
Every response is the same shape: success, data, credits_used, credits_remaining, request_id, cached. Market rows sit under data with the shared SocialCrawl envelope fields.
The usual integration chain
Most products research a topic once, keep the ranked markets, then re-run when the narrative shifts. There is no multi-endpoint drill-down chain on Polymarket today.
01Topic
GET /v1/polymarket/research?query=…&limit=10
A free-text research query (entity, election, event, or market theme)
One string drives the whole fan-out. Framing prefixes are stripped automatically.
02Research
# expand topic into multi-query fan-out
Ranked events with markets, outcome prices, volume, and end dates
Server expands queries, filters off-topic hits, and ranks on-topic markets.
03Select
# dedupe, filter, rank markets
The subset of markets you care about for alerts or dashboards
Downstream products usually watch a short list, not every returned event.
04Refresh
# return ranked research payload
A newer ranked set when prices or volume matter again
Cache hits keep repeats cheap. Live misses re-run the multi-query composite.
request
GET /v1/polymarket/research
?query=us+election+odds
&limit=10
Host: www.socialcrawl.dev
x-api-key: sc_your_api_key_here
Polymarket is an Analytics-style search surface. Field names stay under the shared SocialCrawl envelope so your client code does not grow a second response parser.
ranked events: title, slug, markets[], volume, liquidity, end date, price changes when present
Market rowranking fields
market questions, outcome prices, related event linkage, volume signals
Research metaenvelope fields
topic-derived fan-out ranking after dedupe and off-topic filter (server-side composite)
Inside the gateway
Same request lifecycle as every other /v1 platform endpoint. Polymarket is not a sidecar.
01
Edge receives the call
Next.js catch-all routes into the Hono social API. We mint a request_id, authenticate the key, then enforce rate limit and concurrency per key.
02
Validate, then debit
Registry lookup finds polymarket/research. Required query checks run first. Invalid input returns 400 with no charge. Valid calls debit 5 credits before upstream work.
03
Cache or fan out
A deterministic cache key is built from platform, resource, and params. Hit: return immediately, credits_used = 0. Miss: expand the topic into up to six searches, call the public Gamma API in parallel, dedupe and filter, then rank.
04
Normalize and return
Upstream market JSON is shaped into the SearchResult payload, wrapped in the success envelope, and logged for billing audit.
Billing rules that matter in production
Research live miss: 5 credits
Cache hit: 0 credits
Empty / hard fail: auto-refund
Bad params: 400, never charged
No credits: 402, never charged
Soft-disabled search: registered, not live
No trading or write routes
Same key as the rest of the catalog
Rate limit and concurrency apply per key
How we get the data
Polymarket research reads public prediction market data and returns a ranked topic feed. Your code does not talk to Gamma or run multi-query fan-out itself.
What Polymarket is for this API
Public prediction markets and events. Read-only research surface for topic monitoring, narrative tracking, and product jobs. No order placement or wallet access.
How SocialCrawl reaches it
A dedicated Polymarket fetcher calls the public Gamma API. Research expands one topic into parallel searches, dedupes by event id, filters unrelated matches, and ranks the rest.
What leaves our edge
A unified JSON envelope: success, data, credits_used, request_id, cached. Event and market rows carry titles, questions, prices, volume, and end dates.
What we do not ship live
No write endpoints. No trading. polymarket/search stays registered but soft-disabled after upstream instability; use research for live topic work.
field map sketch
topic query→ expanded search legsevent title, slug, end date, volume
rank scores→ research rollupserver multi-query fan-out; ranked on-topic set
What this API is used for
The jobs this API is most often used for.
1active Polymarket endpoints in the registry
5 credits5-credit advanced composite
Topic-level prediction market research
Callers concentrate on research with a free-text topic when they need on-topic markets without running several searches by hand. One advanced composite expands queries, filters noise, and ranks markets at a flat 5 credits. Same SocialCrawl key and envelope as social platforms.
Research fans out several upstream searches, so live misses take longer than a single-query social read. Cache hits return immediately.
Use case examples
Common ways teams put this data to work, and the stack each one tends to run.
Narrative monitors
Python, cron, Slack bots
Poll research for elections, crypto, or news topics. Alert when volume or prices on ranked markets move.
Research notebooks
Node, notebooks, BI loads
Pull a curated market set for a thesis, then join prices and titles into tables without hand-writing multi-query logic.
Backend product jobs
Go, workers, Explorer
Wire topic research into dashboards and agent tools. Same API key as the rest of SocialCrawl. Cache hits keep recurring runs cheap.
Call it in two lines
Research is 5 credits per live call. Cache hits are free. Pass query as the research topic.
Every endpoint returns structured JSON in a unified envelope. Computed fields such as engagement rate and content category are included only where the endpoint supports them and the required source inputs are present.
Polymarket's own gamma API is public, but it returns raw market objects you still have to normalize, and it gives you nothing outside Polymarket. SocialCrawl returns Polymarket markets in the same schema as its social and finance endpoints, so you can line a prediction market up against what people are actually posting about it.
What is the SocialCrawl Polymarket API?
It is a unified wrapper over Polymarket's public Gamma API. Send a GET request with x-api-key and SocialCrawl returns structured prediction-market data: the market question, outcomes, odds and prices, volume, and end date, in the same data.items schema as every other platform, with one credit system.
What Polymarket endpoints does SocialCrawl offer?
One endpoint. /v1/polymarket/research takes a topic, fans out several keyword searches across Polymarket's prediction markets, and returns an aggregated multi-market view: each market with its question, outcomes, odds and prices, volume, and end date.
Does Polymarket have an API, and is it free?
Yes. Polymarket exposes a public Gamma API for free, plus the CLOB API for trading. SocialCrawl wraps Gamma so you get one x-api-key, a unified schema, and credit-based billing alongside your other data sources. New accounts get 100 free credits with no card required.
How much does the Polymarket API cost?
The research endpoint costs 5 credits on the advanced tier because it runs several searches per call. New accounts get 100 free credits with no credit card, enough to run 20 multi-market research calls before paying anything.
What data fields come back for each market?
Each market includes the question, every outcome with its current odds and price, total volume, end date, and resolution status (active, closed, or resolved). Fields are normalised into the SocialCrawl schema so the same parser works across all 48 platforms.
What does the research endpoint add over a single keyword search?
The research endpoint fans out several keyword searches for one topic and aggregates the results into a single prediction-market view. It is built for traders, quant researchers, and journalists who want event-probability coverage on a topic rather than one query's matches.
What is the best way to access Polymarket data via API?
Polymarket's own Gamma API is free and a good fit if you only need raw market objects. SocialCrawl's /v1/polymarket/research adds topic-level aggregation: it fans out several keyword searches and returns one multi-market view with odds, prices, and volume for 5 credits. New accounts get 100 free credits, no card required.
Is there a Polymarket data API?
Yes, and it is open: Polymarket publishes a free public Gamma API, plus the CLOB API for trading. SocialCrawl does not gate that data; it wraps Gamma so GET /v1/polymarket/research returns an aggregated multi-market view of odds, prices, and volume in the same schema and credits as your other sources, at 5 credits per call. Use Gamma directly for raw market objects, SocialCrawl when you want topic-level aggregation on one key.
Is scraping Polymarket data legal?
SocialCrawl returns publicly available Polymarket data and does not access private or login-gated content. Whether scraping fits your project depends on your use case and jurisdiction — you are responsible for complying with Polymarket's terms of service and applicable data-protection laws such as GDPR and CCPA. This is general information, not legal advice.
Polymarket scraping API vs the official Polymarket API — what's the difference?
With SocialCrawl there is no app review or approval queue — sign up and call Polymarket endpoints immediately with a single x-api-key. Responses share one unified schema with every other SocialCrawl platform, and credit-based pricing replaces per-platform quotas. Official APIs are still the right choice for posting and other write actions: SocialCrawl is read-only data.