A commercial REST API over BetMe's real prediction system: real ATP/WTA matches, the model's real win probability with a computed edge against the market, real player analytics, real history, and the model's real live track record. There is no separate "API version" of the model - it's the same engine behind the autobot on the stats page.
https://api.tennismatchmind.com/api/v1
Auth: X-API-Key header
JSON · RFC7807 errors
What this is
No separate ML model runs behind this API, and no logic is duplicated: every endpoint reuses or thinly reshapes data that BetMe.Application, BetMe.Infrastructure, and the Python ML service already produce - the same win probability, the same edge calculation (the exact rule the Telegram bot itself uses), the same player ratings.
It's a deliberately separate host from the free public site at tennismatchmind.com: different auth (an API key is required here), limits per key rather than per IP, and a versioned /api/v1 contract that won't shift under a paying client the way the site's internal /api/* routes are free to.
Authentication
Every /api/v1/* route requires a key by default (except /status and /health). Send it as a header:
X-API-Key: mm_live_...
To request an API key, contact us on Telegram with the email address for your account. The Free tier includes 1,000 requests per day and 30 requests per minute.
Telegram: https://t.me/GlebGolovushkin
Send your issued key in the X-API-Key header. Keep it on your server and out of public browser code.
GET /whoami confirms your key resolves and shows which tier it's on - a good first call when integrating.
curl -s https://api.tennismatchmind.com/api/v1/whoami \
-H "X-API-Key: mm_live_..."
# → {"apiClientId":"...", "name":"Client Name", "tier":"Developer"}
Quickstart
Fetch upcoming ATP hard-court matches, then the model's prediction for the first one:
# 1. upcoming ATP matches on hard courts curl -s "https://api.tennismatchmind.com/api/v1/matches/upcoming?tour=ATP&surface=Hard&pageSize=5" \ -H "X-API-Key: mm_live_..." # 2. the model's prediction for a specific match (matchId from above) curl -s https://api.tennismatchmind.com/api/v1/predictions/123456 \ -H "X-API-Key: mm_live_..." # 3. why the model thinks that - with each factor's real computed impact curl -s https://api.tennismatchmind.com/api/v1/predictions/123456/explanation \ -H "X-API-Key: mm_live_..."
Rate limits
Minute and daily quotas are enforced per API key. Daily quotas reset at 00:00 UTC. Exceeding either limit returns HTTP 429.
| Tier | Requests / minute | Requests / day |
|---|---|---|
| Free | 30 | 1,000 |
| Developer | 120 | 20,000 |
| Pro | 600 | 200,000 |
| Enterprise | 3,000 | custom |
A first, explicitly revisable cut - not yet calibrated against real traffic.
Endpoints
Everything below is GET, under /api/v1, and requires X-API-Key except /status. Full request/response schemas with "try it out" live in the interactive Scalar docs (button above).
/api/v1/matches/upcomingUpcoming ATP/WTA matches with tournament, players, and current best market odds.
/api/v1/predictions/{matchId}Model win probabilities, real market odds, computed edge.
/api/v1/predictions/{matchId}/explanationWhy the model favors one side - factors with a real, computed probability impact each (ablation, not a guess).
/api/v1/players/{playerId}Ranking, Elo-derived MatchMind ratings (overall + per surface), serve stats, recent form.
/api/v1/players/compareSide-by-side comparison of two players.
/api/v1/opportunitiesUpcoming matches where the model sees a real edge over the market - never called "betting signals".
/api/v1/history/matchesCompleted matches - with real point-in-time rank/rest features.
/api/v1/statisticsThe model's real, live track record (matches analyzed, tracked predictions, win rate, ROI, CLV).
/api/v1/rankingsMatchMind's own 0-100 player rating, overall and per surface.
/api/v1/statusHealth/version - no API key required.
/api/v1/whoamiConfirms which API client your key resolves to, and which tier it's on.
Errors
Every error (including a 401 for a missing/invalid key) comes back as RFC7807 application/problem+json - one shape across the whole API, not a different object per route.
HTTP/1.1 401 Unauthorized
Content-Type: application/problem+json
{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "Unauthorized",
"status": 401,
"detail": "Missing or invalid X-API-Key."
}
Honest gaps
A few fields were deliberately renamed or left out rather than shipped with a fabricated number behind a familiar-looking name:
API questions, access: @GlebGolovushkin