SofaScore

SofaScore team of the week

Returns one team of the week: the formation and the selected players with their SofaScore rating, team and, for round and weekly selections, the match the rating was earned in. Get the period id from sofascore-team-of-the-week-periods; a period that does not belong to the given competition season is rejected with 400.

get/sofascore/team-of-the-week

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/team-of-the-week
  • Auth: API key in header x-api-key

Query parameters

idstring required

Numeric SofaScore unique-tournament (competition) id

seasonstring required

Numeric SofaScore season id

periodstring required

Numeric period id from sofascore-team-of-the-week-periods

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "formation": "3-2-4-1",
    "period": {
      "id": 29321,
      "name": "round",
      "type": "round"
    },
    "players": [
      {
        "event": {
          "away_team": {
            "country": "Spain",
            "id": 2817,
            "name": "FC Barcelona",
            "short_name": "Barcelona",
            "slug": "barcelona"
          },
          "home_team": {
            "country": "Spain",
            "id": 2817,
            "name": "FC Barcelona",
            "short_name": "Barcelona",
            "slug": "barcelona"
          },
          "id": 14025013,
          "start_time": "2025-08-15T19:00:00Z",
          "status": {
            "description": "Ended",
            "type": "finished"
          },
          "tournament": {
            "category": "England",
            "name": "Premier League",
            "slug": "premier-league",
            "unique_tournament_id": 17,
            "unique_tournament_name": "Premier League"
          }
        },
        "order": 1,
        "player": {
          "country": "Spain",
          "id": 855833,
          "name": "Ferran Torres",
          "position": "F",
          "short_name": "F. Torres",
          "slug": "ferran-torres"
        },
        "rating": 8.6,
        "team": {
          "country": "Spain",
          "id": 2817,
          "name": "FC Barcelona",
          "short_name": "Barcelona",
          "slug": "barcelona"
        }
      }
    ]
  },
  "msg": "OK"
}

Changes

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