ToolzerHub Docs

Get an event's timeline (v1)

Returns goals, cards, substitutions and period breaks in order, with minute, player, assist and running score. An event with no incidents yet returns data: null.

1 credit / requestBilled only on success
GET
/v1/sofascore/event/incidents

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

event_id_or_url*string

Event id from any event list or Search Events. Or the match page's link, such as https://www.sofascore.com/football/match/arsenal-chelsea/RsU#id:12437786.

Length1 <= length <= 500
curl -X GET "https://example.com/v1/sofascore/event/incidents?event_id_or_url=16363890" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "event_id": 0,    "count": 0,    "incidents": [      {        "type": "string",        "class": "string",        "time": 0,        "added_time": 0,        "side": "home",        "player": {          "name": "string",          "property1": null,          "property2": null        },        "assist": {          "id": 0,          "name": "string",          "short_name": "string",          "slug": "string",          "position": "string",          "jersey_number": "string",          "country": {            "code": "string",            "name": "string"          }        },        "player_in": {          "id": 0,          "name": "string",          "short_name": "string",          "slug": "string",          "position": "string",          "jersey_number": "string",          "country": {            "code": "string",            "name": "string"          }        },        "player_out": {          "id": 0,          "name": "string",          "short_name": "string",          "slug": "string",          "position": "string",          "jersey_number": "string",          "country": {            "code": "string",            "name": "string"          }        },        "reason": "string",        "text": "string",        "home_score": 0,        "away_score": 0      }    ]  },  "details": {    "reason": "string",    "message": "string"  }}