Polymarket Tweet Count API
Live tweet-count data for Polymarket's Elon Musk and Ted Cruz markets — one free JSON endpoint, no key, no signup:
curl https://polystrike.xyz/api/v1/meta/elon {
"timestamp": 1783363631650,
"data": [
{
"event_id": 666466,
"event_title": "Elon Musk # tweets July 6 - July 8, 2026?",
"slug": "elon-musk-of-tweets-july-6-july-8",
"start_ts": 1783353600000,
"end_ts": 1783526400000,
"polymarket_xtracker_counter": 41, // settlement oracle
"real_counter": 44, // Polystrike, 60s refresh
"polymarket_ui_counter": 41, // Polymarket's page
"settlement_delta": 3, // real - oracle
"display_delta": 3, // real - UI
"internal_delta": 0 // UI - oracle
}
]
} Sample response (comments added). Field values are live — see the Elon Musk tweet counter for the same data rendered as a page.
Endpoints: Elon Musk and Ted Cruz tweet counters
| Endpoint | Tier | Returns |
|---|---|---|
| GET /api/v1/meta/elon | Free | Live counters + deltas, all active Elon markets |
| GET /api/v1/meta/cruz | Free | Live counters + deltas, all active Cruz markets |
| GET /api/v1/meta/elon/tweets | Free (last 15) / Pro (full) | Raw tweet stream with type flags |
| GET /api/v1/prediction/elon | Free (limited) / Pro (full) | Counters + prices; forecasts and signals with a key |
| GET /api/v1/signals/elon | Pro | EV-ranked signals with Kelly sizing |
The three counters in every metadata response: real_counter (Polystrike's independent count, refreshed every 60 seconds), polymarket_xtracker_counter (the settlement oracle),
and polymarket_ui_counter (what Polymarket's page
shows). The deltas between them are precomputed. Full field-by-field reference: Elon endpoints · Cruz endpoints.
Free tier vs Pro
| Feature | Free | Pro ($79/mo) |
|---|---|---|
| Live counters & deltas | Yes | Yes |
| Recent tweets | Last 15 | Full history + pagination |
| is_counted classification | Masked | Yes |
| Monte Carlo forecasts & EV signals | No | Yes |
| Rate limit | 100 req/hour | 10,000 req/hour |
Upgrade via Telegram or X @dizpers. Autonomous agents can also pay per request via the x402 header — contact us for details.
OpenAPI spec and client generation
The full machine-readable spec lives at polystrike.xyz/openapi.json — point any OpenAPI code generator at it to get a typed client in your language.
MCP server for AI agents
Claude and other MCP-capable assistants can query Polystrike in natural language — the server runs on our infrastructure, nothing to install. Claude Desktop config:
{
"mcpServers": {
"polystrike": {
"command": "npx",
"args": [
"-y", "mcp-remote",
"https://polystrike.xyz/mcp/sse",
"--header", "x-api-key:${POLYSTRIKE_API_KEY}"
],
"env": { "POLYSTRIKE_API_KEY": "your_api_key_here" }
}
}
} Step-by-step instructions: MCP server setup. Agents can also bootstrap from llms.txt or SKILL.md.
Python and TypeScript examples
Python (stdlib only):
import urllib.request, json
# An explicit User-Agent is required — the default
# Python-urllib UA is rejected by the CDN with a 403.
req = urllib.request.Request(
"https://polystrike.xyz/api/v1/meta/elon",
headers={"User-Agent": "my-bot/1.0"},
)
with urllib.request.urlopen(req) as resp:
payload = json.load(resp)
for event in payload["data"]:
print(
event["event_title"],
"real:", event["real_counter"],
"oracle:", event["polymarket_xtracker_counter"],
"delta:", event["settlement_delta"],
) TypeScript / Node:
const res = await fetch("https://polystrike.xyz/api/v1/meta/elon");
const { data } = await res.json();
for (const event of data) {
console.log(
event.event_title,
"real:", event.real_counter,
"oracle:", event.polymarket_xtracker_counter,
"delta:", event.settlement_delta,
);
}How this compares to XTracker
XTracker is Polymarket's settlement oracle — the number it publishes decides payouts, and there is no documented public API for it. Polystrike is an independent counter that updates every 60 seconds instead of every ~5 minutes, exposes everything as JSON, and always reports the oracle's own number alongside — so you can see exactly where the two stand at any moment. For settlement, XTracker is the authority; for watching it move, this API is the faster window.
FAQ
Is the Polymarket tweet count API really free?
Yes. The metadata endpoints — live counters and deltas for Elon Musk and Ted Cruz markets — are public with no key at 100 requests/hour per IP. The Pro tier ($79/mo) adds forecasts, signals, full tweet history, and 10,000 requests/hour.
Where does the data come from?
Polystrike queries X directly every 60 seconds and classifies each post against the Polymarket settlement rules, alongside the values Polymarket itself publishes (the XTracker oracle count and the UI counter). The API returns all three plus the deltas between them.
Does XTracker have a public API?
Not a documented one. XTracker is Polymarket's settlement oracle and publishes a counter on its site, updating roughly every 5 minutes. Polystrike is an independent tracker with a documented JSON API, an OpenAPI spec, and an MCP server — and it reports the oracle's number next to its own.