SofaScore

SofaScore event incidents

Returns one match's goal, card, substitution, and period timeline from SofaScore. An empty incidents list is a valid response before kickoff.

get/sofascore/event-incidents

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/event-incidents
  • Auth: API key in header x-api-key

Query parameters

idstring required

Numeric SofaScore event (match) id

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "incidents": [
      {
        "card_color": "yellow",
        "text": "FT",
        "type": "goal"
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.