Endpoint Playground
Returns the historical head-to-head win/draw record between a match's two teams (and managers, when available) from SofaScore.
14 Oct 2026: Single record response; 7 fields had a value in every checked item.
Sample value profiles: team_duel.home_wins: 8; team_duel.away_wins: 2; team_duel.draws: 0.
curl 'https://api.crawlora.net/api/v1/sofascore/event-h2h?id=14025013' \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| id | string | Yes | 14025013 | Numeric SofaScore event (match) id |
{
"code": 200,
"msg": "OK",
"data": {
"event_id": 14025013,
"source_url": "https://api.sofascore.com/api/v1/event/14025013/h2h",
"fetched_at": "2026-07-08T16:45:00Z",
"team_duel": {
"home_wins": 8,
"away_wins": 2,
"draws": 0
},
"manager_duel": {
"home_wins": 3,
"away_wins": 1,
"draws": 0
}
}
}The sample response, schema and code snippets below work without an account. Sending a live request needs an API key.