StatsHub Docs
Endpoint referenceMatches

/matches/recent

`league` is a unique tournament id despite the name.

GET
/api/v2/matches/recent

league is a unique tournament id despite the name.

Query Parameters

days_back?string
league?string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/matches/recent"
{  "$schema": "https://example.com/schemas/MatchesRecentOKBody.json",  "matches": [    {      "away_goals": 0,      "away_odds": 0,      "away_shots": 0,      "away_shots_on_target": 0,      "away_team": "string",      "date": "string",      "draw_odds": 0,      "home_goals": 0,      "home_odds": 0,      "home_shots": 0,      "home_shots_on_target": 0,      "home_team": "string"    }  ]}