MatchMind MATCHMIND AI VS MARKET
← MatchMind

🔌 MatchMind AI Tennis Intelligence API

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.

Base URL: https://api.tennismatchmind.com/api/v1 Auth: X-API-Key header JSON · RFC7807 errors
🔑 Get an API key 📖 Interactive docs (Scalar) → How to check a key ↓

What this is

One layer over a system that already runs

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

API key in a header

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.

Checking a key

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

Your first request in 30 seconds

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

Per API key, not per IP

Minute and daily quotas are enforced per API key. Daily quotas reset at 00:00 UTC. Exceeding either limit returns HTTP 429.

TierRequests / minuteRequests / day
Free301,000
Developer12020,000
Pro600200,000
Enterprise3,000custom

A first, explicitly revisable cut - not yet calibrated against real traffic.

Endpoints

Route reference

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).

GET/api/v1/matches/upcoming

Upcoming ATP/WTA matches with tournament, players, and current best market odds.

GET/api/v1/predictions/{matchId}

Model win probabilities, real market odds, computed edge.

GET/api/v1/predictions/{matchId}/explanation

Why the model favors one side - factors with a real, computed probability impact each (ablation, not a guess).

GET/api/v1/players/{playerId}

Ranking, Elo-derived MatchMind ratings (overall + per surface), serve stats, recent form.

GET/api/v1/players/compare

Side-by-side comparison of two players.

GET/api/v1/opportunities

Upcoming matches where the model sees a real edge over the market - never called "betting signals".

GET/api/v1/history/matches

Completed matches - with real point-in-time rank/rest features.

GET/api/v1/statistics

The model's real, live track record (matches analyzed, tracked predictions, win rate, ROI, CLV).

GET/api/v1/rankings

MatchMind's own 0-100 player rating, overall and per surface.

GET/api/v1/status

Health/version - no API key required.

GET/api/v1/whoami

Confirms which API client your key resolves to, and which tier it's on.

Errors

Error format

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

What was renamed or omitted - and why

A few fields were deliberately renamed or left out rather than shipped with a fabricated number behind a familiar-looking name:

FAQ

Is this the same model as the Telegram bot?
Yes. No separate model instance runs for the API - it's the same prediction engine and the same edge-finding rule (BettingAdviceCalculator), just exposed as a versioned REST contract for paying clients instead of only the internal bot/site.
Can I get betting signals through the API?
The API returns the model's probability, the real market price, and a computed edge - what you do with that is your call. /opportunities is deliberately never called "betting signals" anywhere - it's just that same data, filtered and sorted by edge.
Is there a trial tier?
A Free tier exists (30 requests/min, 1,000/day) - message the Telegram contact at the bottom of the page to get a key.
Why no self-serve signup?
The API is Phase 1 of 5 on the roadmap; self-serve key provisioning isn't built yet. Keys are issued manually but still quickly - usually same-day.
Is WTA/doubles coverage as complete as ATP?
Historical data and predictions cover ATP and WTA, singles and doubles - but the "sharp market" (Pinnacle) validation only exists for singles tennis; see the methodology page for details.

API questions, access: @GlebGolovushkin