SofaScore

SofaScore event point-by-point

Returns a racket-sport match's point-by-point timeline, with sets and games in play order. Tennis sets list games and each game lists every point with the running score (0, 15, 30, 40, A, or a plain count in a tie-break), the server, the game winner, a description of ace or double_fault where SofaScore flags it, and break point (break_point) or set or match point (set_or_match_point) markers per player. Table tennis and badminton sets list their points directly. The ace flag is a lower bound of the match's real ace count. Darts matches are not covered. Returns 404 when SofaScore has no point-by-point data for the match, which includes matches that have not started and sports without it.

get/sofascore/event-point-by-point

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/event-point-by-point
  • 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": {
    "event_id": 17257382,
    "set_count": 3,
    "sets": [
      {
        "games": [
          {
            "game": 10,
            "points": [
              {
                "away_marker": "set_or_match_point",
                "away_point": "40",
                "away_point_type": 2,
                "description": "ace",
                "home_marker": "break_point",
                "home_point": "30",
                "home_point_type": 5
              }
            ],
            "score": {
              "away_score": 4,
              "home_score": 6,
              "server": "away",
              "winner": "away"
            }
          }
        ],
        "points": [
          {
            "away_marker": "set_or_match_point",
            "away_point": "40",
            "away_point_type": 2,
            "description": "ace",
            "home_marker": "break_point",
            "home_point": "30",
            "home_point_type": 5
          }
        ],
        "score": {
          "away_score": 4,
          "home_score": 6,
          "server": "away",
          "winner": "away"
        },
        "set": 1
      }
    ]
  },
  "msg": "OK"
}

Changes

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