dizpers

Polymarket Tweet Count API — Examples

Community dizpers
Updated

Live Elon Musk & Ted Cruz tweet feed + real-time tweet counters for Polymarket's tweet-count markets. Hosted MCP server (free tier keyless), Python/TS clients, Claude Desktop config.

Polymarket Tweet Count API — Examples

Code examples for the Polystrike API: livetweet counters for Polymarket's Elon Musk and Ted Cruz tweet-count markets.

The free tier needs no key (100 requests/hour). One call gets you three counters peractive market — Polystrike's independent 60-second count, the official XTrackersettlement count, and the count shown on Polymarket's UI — plus the deltas between them:

curl https://polystrike.xyz/api/v1/meta/elon
{
  "timestamp": 1783363631650,
  "data": [
    {
      "event_id": 666466,
      "event_title": "Elon Musk # tweets July 6 - July 8, 2026?",
      "polymarket_xtracker_counter": 41,
      "real_counter": 44,
      "polymarket_ui_counter": 41,
      "settlement_delta": 3,
      "display_delta": 3,
      "internal_delta": 0
    }
  ]
}

Examples

Example What it does
python/poll_counters.py Poll both accounts, print counters + deltas (stdlib only)
typescript/pollCounters.ts Same in TypeScript / Node 18+
mcp/claude_desktop_config.json Connect Claude Desktop to the hosted MCP server

Endpoints used

  • GET /api/v1/meta/elon — Elon Musk markets (free)
  • GET /api/v1/meta/cruz — Ted Cruz markets (free)
  • GET /api/v1/meta/{account}/tweets — recent tweet stream (free: last 15)

Full reference: API docs ·OpenAPI spec ·MCP setup guide

Notes on the data

  • The XTracker oracle is the settlement authority — Polymarket pays out on itsnumber. Polystrike measures it faster (60s vs ~5min) but does not replace it.
  • Deleted tweets stay in Polystrike's count if captured before deletion; asettlement_delta driven by a deletion is not a real edge.
  • These are measurement tools, not a promise of profit.

MIT licensed.

MCP Server · Populars

MCP Server · New

    livecontext-ai

    LiveContext

    The AI automation platform, self-hosted. Describe the job in chat and LiveContext builds it: readable workflows, scoped AI agents, and small apps your team uses. Chat, Workflow, Agent and App on one canvas.

    Community livecontext-ai
    timescale

    rsigma

    A complete Sigma detection engineering toolkit: parser, linter, evaluator, correlation engine, conversion framework, streaming daemon, MCP and LSP servers :crab:

    Community timescale
    Agent360dk

    Browser MCP by Agent360

    Drive your real, logged-in Chrome from any AI agent (Claude Code, Cursor, VS Code) — works where headless dies. Reads emailed login codes from your Gmail, solves CAPTCHAs, 34 tools. MIT, local-only.

    Community Agent360dk
    devlint

    GitWand

    The Git client that actually resolves conflicts — 10 deterministic patterns auto-resolve the trivial 95%, full trace on the rest. Native (Tauri 2 + Rust), free, MIT.

    Community devlint
    BETAER-08

    amdb

    Turn your codebase into AI context — entirely on your machine. Single-binary MCP server with AST parsing, call graph, and local embeddings.

    Community BETAER-08