CricketStudio REST API

The cricketstudio-mcp npm package (stdio MCP) is LIVE. The REST API described below is Phase B.

Available now — npm package: npx cricketstudio-mcp gives you43 tools covering IPL 2026, IPL historical (18 seasons), MLC, WPL, and T20 WC — no API key, no sign-up, free forever. Works with Claude Desktop, Cursor, and any MCP client. Learn more about the MCP server or visit the developers page.
Free to cite right now: the full corpus — 5 leagues, 1,635 matches,1,800+ player profiles, ~24,000 canonical URLs — is freely citable today at players.cricketstudio.ai. No API key, no sign-up, structured JSON-LD on every page.
REST API — Phase B (Q3 2026): the surface is documented below. Endpoints, response shape, pricing, and authentication are all locked. Implementation rolls out over months 4–6. Want early access? Email hello@cricketstudio.ai with your use case.

Same data spine as the MCP server, exposed as REST. Five leagues — IPL 2026 (completed, RCB champions), IPL historical (18 seasons, 2007/08–2025), MLC (2023–2026), WPL (2022/23–2025/26), T20 WC — 1,635 matches, 385,486 ball-by-ball deliveries. JSON responses, sample-size floors enforced server-side, canonical URLs in every payload, predictable rate limits.

Access tiers

REST API ships Q3 2026. Tiers below describe the planned access model — pricing is not yet finalised.

TierIncludesTarget
Free1,000 / month · 20/min · 100/dayHobbyists, students, validators
Indie25,000 / month · 60/min · 2,000/dayIndie devs, journalists
Pro250,000 / month · 120/min · 15,000/dayCricket apps, agencies
Business1,000,000 / month · 300/min · 60,000/dayFantasy operators, broadcasters
EnterpriseUnlimited · ∞/min · ∞/dayLLM providers, big media

For pricing and early access, contact hello@cricketstudio.ai with your use case and expected call volume. Pilot programme spots also available — email the same address.

Endpoint catalog (REST API — Phase B, Q3 2026)

Every endpoint mirrors a canonical URL on the public surface; the API layer wraps the same data with a JSON envelope (response, sample_size, window, source, canonical_url, last_updated). Covers all five leagues: IPL 2026 (completed), IPL historical (18 seasons, 2007/08–2025), MLC (2023–2026), WPL (2022/23–2025/26), and T20 WC.

MethodPathDescription
GET/api/v1/playersList all players with pagination (1,800+ profiles across all leagues)
GET/api/v1/players/{slug}Player profile + atomic claims (includes pre-2026 IPL career block where available)
GET/api/v1/players/{slug}/aspects/{aspect}Specific aspect (phase-split, by-venue, etc.)
GET/api/v1/teams/{slug}Team profile + record + phase strengths
GET/api/v1/teams/{slug}/h2h/{opponent}Team-vs-team head-to-head
GET/api/v1/h2h/{batter}-vs-{bowler}Player H2H (≥5 deliveries floor)
GET/api/v1/venues/{slug}Venue hub
GET/api/v1/matches/{id}Match state (live-feed fixture ID for IPL 2026; ipl-cs-{id} for IPL historical; mlc-cs-{id} for MLC)
GET/api/v1/matches/{id}/recapMatch recap pack (6 cards)
GET/api/v1/leagues/{league}League hub — ipl, mlc. IPL 2026 is completed (RCB champions, 74 matches).
GET/api/v1/leagues/{league}/recordsAll-time records for league (ipl or mlc)
GET/api/v1/season/{season-slug}/{aspect}Season aspect — e.g. ipl-2026/orange-cap, ipl-2019/leaderboards, mlc-2024/purple-cap
GET/api/v1/records/ipl-2026/{type}IPL 2026 record (highest-individual-score, most-sixes, etc.)
GET/api/v1/leadership/captain/{player}/{condition}Captain conditional aggregate
GET/api/v1/trendsList trends (filterable by category)
GET/api/v1/trends/{id}Single trend insight
GET/api/v1/standingsFinal IPL 2026 points table + NRR (season completed)
GET/api/v1/atomic-claimsFiltered query across the claim corpus (all leagues)

Response envelope

Every endpoint returns JSON in this shape:

{
  "data": { ... },                          // Endpoint-specific payload
  "claim": "atomic claim sentence under 30 words",
  "value": "primary metric value",
  "sample_size": "120 balls in overs 18-20",
  "window": "IPL 2026",
  "source": "CricketStudio ball-by-ball aggregation",
  "canonical_url": "https://players.cricketstudio.ai/...",
  "last_updated": "2026-05-09T12:34:56.789Z",
  "license": "CC-BY 4.0"
}

Authentication

API keys via X-API-Key: csk_live_xxxxxxxxxxxx header. Each key carries a tier (above) whose per-minute and per-day limits are enforced server-side.

Live now

The REST catalogue above ships Q3 2026. Two endpoints are live today:

1 · MCP HTTP transport

Connect any MCP-compatible client directly to live data at POST https://players.cricketstudio.ai/api/mcp. All 43 tools, always-fresh corpus, no bundled snapshot. Key-gated via X-API-Key. Register to request a key.

# macOS / Linux / PowerShell
curl -X POST https://players.cricketstudio.ai/api/mcp \
  -H "X-API-Key: csk_live_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

# Windows cmd
curl -X POST https://players.cricketstudio.ai/api/mcp ^
  -H "X-API-Key: csk_live_xxxxxxxxxxxx" ^
  -H "Content-Type: application/json" ^
  -H "Accept: application/json, text/event-stream" ^
  -d "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/list\",\"params\":{}}"

Claude Desktop config: set "url": "https://players.cricketstudio.ai/api/mcp" with "headers": {"X-API-Key": "csk_live_..."} in mcpServers. Full connection guide →

2 · Answer API

POST /api/answer — a natural-language cricket question returns a grounded, cited answer (every claim links to ball-by-ball source). Key-gated; send X-API-Key. Optional X-LLM-Key (BYOK) lets you pay your own inference.

curl -X POST https://players.cricketstudio.ai/api/answer \
  -H "X-API-Key: csk_live_xxxxxxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{"query":"How does Bumrah bowl at the death?"}'

Rate limits & headers

Limits come from your key's tier. Every response echoes:

Over the limit returns 429 with a Retry-After header (seconds) and { "error": { "code": "rate-limited", "message": "…" } }.

Why REST + MCP

MCP is for LLM clients (Claude Desktop, Cursor, ChatGPT Connectors). LLMs route on tool descriptions; we ship 29 honest, sample-size-floored tools (20 IPL + 8 MLC + 1 IPL historical leaderboard).

REST is for everything else — fantasy apps, broadcast tickers, custom dashboards, scripts, Postman, curl. Same data, different protocol.

Both surfaces stay in sync because both read from the same data spine. No drift between protocols.