CricketStudio REST API
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.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
| Tier | Includes | Target |
|---|---|---|
| Free | 1,000 / month · 20/min · 100/day | Hobbyists, students, validators |
| Indie | 25,000 / month · 60/min · 2,000/day | Indie devs, journalists |
| Pro | 250,000 / month · 120/min · 15,000/day | Cricket apps, agencies |
| Business | 1,000,000 / month · 300/min · 60,000/day | Fantasy operators, broadcasters |
| Enterprise | Unlimited · ∞/min · ∞/day | LLM providers, big media |
Endpoint catalog (REST API — Phase B, Q3 2026)
| Method | Path | Description |
|---|---|---|
GET | /api/v1/players | List 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}/recap | Match 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}/records | All-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/trends | List trends (filterable by category) |
GET | /api/v1/trends/{id} | Single trend insight |
GET | /api/v1/standings | Final IPL 2026 points table + NRR (season completed) |
GET | /api/v1/atomic-claims | Filtered 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:
X-Answer-Tier— your key's tierX-RateLimit-Limit/X-RateLimit-Remaining/X-RateLimit-Reset— quota for the binding window (seconds to reset)
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.