Skip to main content
Glama
dizpers

polystrike

Polymarket Tweet Count API — Examples

Code examples for the Polystrike API: live tweet 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 per active market — Polystrike's independent 60-second count, the official XTracker settlement 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

mcp-server/server.js

Local MCP server over the public REST API (Node 20+)

Related MCP server: x-search-plugin

Local MCP server

mcp-server/server.js is a stdio MCP server that wraps the public REST API — the same tools as the hosted server, runnable locally:

npm install && node mcp-server/server.js

Free-tier tools need no key. Set POLYSTRIKE_API_KEY to unlock the PRO tools (trading signals, portfolio analysis).

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 its number. Polystrike measures it faster (60s vs ~5min) but does not replace it.

  • Deleted tweets stay in Polystrike's count if captured before deletion; a settlement_delta driven by a deletion is not a real edge.

  • These are measurement tools, not a promise of profit.

MIT licensed.

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Related MCP Servers

  • A
    license
    -
    quality
    C
    maintenance
    Remote MCP / x402 / USDC / Base / Solana / OpenAPI / Google ADK / Gemini Xcatcher is an agent-first Remote MCP server (Streamable HTTP) for high-throughput crawling of fresh/latest posts across large sets of X (Twitter) usernames. It supports x402 pay-as-you-go top-ups using USDC on Base and Solana.
    9
    MIT
  • A
    license
    B
    quality
    B
    maintenance
    Read-only X/Twitter research MCP server using xAI's Responses API. Supports OAuth login for X Premium users and falls back to API key authentication.
    5
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP server to read X (Twitter) posts, threads, replies, quotes, and search using your own logged-in session, no API key required.
    8
    3
    MIT
  • A
    license
    -
    quality
    C
    maintenance
    Twitter/X MCP server for the API v2, enabling users to manage profiles, posts, likes, retweets, and follows through natural language using a stateless Streamable HTTP transport with OAuth user access token authentication.
    16
    ISC

View all related MCP servers

Related MCP Connectors

  • Read-only MCP server for live Polymarket, Kalshi, Limitless odds; Manifold sentiment.

  • FastMCP server for posting formatted content to X (Twitter) — Tollbooth-monetized, DPYC-native

  • Polymarket MCP — prediction-market data via Gamma + CLOB public APIs.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dizpers/polystrike-examples'

If you have feedback or need assistance with the MCP directory API, please join our Discord server