toolzerhub API 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

id*integer

Event id from any event list.

Range1 <= value
curl -X GET "https://example.com/v1/sofascore/event/incidents?id=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"  }}