Sofascore Scraper

ENDPOINTS
GET/matches/highlights

Match Highlights

Video highlights (YouTube or official) with title, thumbnail and link.

QUERY PARAMS

Sofascore match id or any sofascore.com match URL (the #id: fragment is the id).

Examples:

  • ID: 14023961
  • URL: https://www.sofascore.com/football/match/…#id:14023961
{
  "match_id": 14023961,
  "count": 2,
  "highlights": [
    {
      "title": "Man City 1 - 2 Aston Villa",
      "subtitle": "Full Highlights",
      "url": "https://www.youtube.com/watch?v=PxpTBnVEZrA&pp=0gcJCQMLAYcqIYzv",
      "thumbnail_url": "https://i.ytimg.com/vi/PxpTBnVEZrA/hqdefault.jpg",
      "media_type": 6,
      "for_countries": [
        "BA",
        "HR",
        "ME",
        "MK",
        "RS",
        "SI"
      ],
      "do_follow": false,
      "key_highlight": false,
      "livestream": false,
      "remove_on_finish": false,
      "id": 7449393,
      "created_at": "2026-05-24T17:15:09Z",
      "source_url": "https://www.youtube.com/watch?v=PxpTBnVEZrA&pp=0gcJCQMLAYcqIYzv"
    },
    {
      "title": "Manchester City 1-2 Aston Villa",
      "subtitle": "Full Highlights",
      "url": "https://www.youtube.com/watch?v=Li0vRgptxlQ",
      "thumbnail_url": "https://i.ytimg.com/vi/Li0vRgptxlQ/maxresdefault.jpg",
      "media_type": 6,
      "do_follow": false,
      "key_highlight": true,
      "livestream": false,
      "remove_on_finish": false,
      "id": 7449549,
      "created_at": "2026-05-24T21:00:13Z",
      "source_url": "https://www.youtube.com/watch?v=Li0vRgptxlQ"
    }
  ]
}