SofaScore
SofaScore team previous and next match
Returns a team's last played match and its next scheduled match with teams, competition, status, score and start time. Either side can be missing (a team with no upcoming fixture returns only previous_event). Returns 404 when SofaScore has neither. For full fixture lists use team-events.
get/sofascore/team-near-events
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/sofascore/team-near-events
- Auth: API key in header x-api-key
Query parameters
idstring required
Numeric SofaScore team id
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"next_event": {
"away_team": {
"country": "Spain",
"id": 2817,
"name": "FC Barcelona",
"short_name": "Barcelona",
"slug": "barcelona"
},
"home_team": {
"country": "Spain",
"id": 2817,
"name": "FC Barcelona",
"short_name": "Barcelona",
"slug": "barcelona"
},
"id": 14025013,
"start_time": "2025-08-15T19:00:00Z",
"status": {
"description": "Ended",
"type": "finished"
},
"tournament": {
"category": "England",
"name": "Premier League",
"slug": "premier-league",
"unique_tournament_id": 17,
"unique_tournament_name": "Premier League"
}
},
"previous_event": {
"away_team": {
"country": "Spain",
"id": 2817,
"name": "FC Barcelona",
"short_name": "Barcelona",
"slug": "barcelona"
},
"home_team": {
"country": "Spain",
"id": 2817,
"name": "FC Barcelona",
"short_name": "Barcelona",
"slug": "barcelona"
},
"id": 14025013,
"start_time": "2025-08-15T19:00:00Z",
"status": {
"description": "Ended",
"type": "finished"
},
"tournament": {
"category": "England",
"name": "Premier League",
"slug": "premier-league",
"unique_tournament_id": 17,
"unique_tournament_name": "Premier League"
}
},
"team_id": 17
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.