> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrapeunblocker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# One SofaScore match with stats, lineups and incidents

> Fetches one match from sofascore.com: `event` (teams, score by period, status, start time, tournament, season, round, venue, referee) plus the `include` sections: `statistics` (per period and group, e.g. possession, expected goals, shots, with home / away text and numbers), `lineups` (formation, every player with position, shirt number, rating and match statistics, missing players), `incidents` (goals, cards, substitutions, VAR, periods, oldest first), `h2h` (team and manager records plus the last 10 meetings), `odds` (markets with decimal and fractional odds), `momentum`, `pregame_form`, `votes`, `managers`, `best_players` (player of the match and best rated per side), `shotmap` (every shot with xG, xGOT, body part and coordinates), `commentary` and `highlights`. Sections the site does not have for the match (e.g. statistics before kick-off) are named in `unavailable`.



## OpenAPI

````yaml /api-reference/openapi.json post /sports/sofascore-match
openapi: 3.1.0
info:
  title: ScrapeUnblocker API
  description: >-
    Public API for the ScrapeUnblocker proxy/anti-bot service. Authenticate
    every request with the `x-scrapeunblocker-key` header. Documented here:
    page-source extraction, Google SERP scraping, image fetch, and the dedicated
    plugin endpoints (search engines, marketplaces, reviews, travel, social and
    more). All other paths exist for internal operations and are intentionally
    hidden from this spec.
  version: 3.0.0
servers:
  - url: https://api.scrapeunblocker.com
    description: Production
security: []
paths:
  /sports/sofascore-match:
    post:
      tags:
        - Plugins
      summary: One SofaScore match with stats, lineups and incidents
      description: >-
        Fetches one match from sofascore.com: `event` (teams, score by period,
        status, start time, tournament, season, round, venue, referee) plus the
        `include` sections: `statistics` (per period and group, e.g. possession,
        expected goals, shots, with home / away text and numbers), `lineups`
        (formation, every player with position, shirt number, rating and match
        statistics, missing players), `incidents` (goals, cards, substitutions,
        VAR, periods, oldest first), `h2h` (team and manager records plus the
        last 10 meetings), `odds` (markets with decimal and fractional odds),
        `momentum`, `pregame_form`, `votes`, `managers`, `best_players` (player
        of the match and best rated per side), `shotmap` (every shot with xG,
        xGOT, body part and coordinates), `commentary` and `highlights`.
        Sections the site does not have for the match (e.g. statistics before
        kick-off) are named in `unavailable`.
      operationId: sofascore_match_sports_sofascore_match_post
      parameters:
        - name: match
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              The match: its id (e.g. 16363904, from the search or events
              endpoints) or a sofascore.com match link. A link without '#id:'
              names the pairing; the match in progress, else the next, else the
              latest is used.
            title: Match
          description: >-
            The match: its id (e.g. 16363904, from the search or events
            endpoints) or a sofascore.com match link. A link without '#id:'
            names the pairing; the match in progress, else the next, else the
            latest is used.
        - name: include
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Sections to add, comma separated: statistics, lineups, incidents,
              h2h, odds, momentum, pregame_form, votes, managers, best_players,
              shotmap, commentary, highlights (or all / none). Default
              statistics,lineups,incidents.
            title: Include
          description: >-
            Sections to add, comma separated: statistics, lineups, incidents,
            h2h, odds, momentum, pregame_form, votes, managers, best_players,
            shotmap, commentary, highlights (or all / none). Default
            statistics,lineups,incidents.
      responses:
        '200':
          description: JSON with the `event` and the asked-for sections.
          content:
            application/json:
              schema: {}
        '400':
          description: Invalid parameters.
        '404':
          description: No such match.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: SofaScore refused every attempt or did not answer in time.
      security:
        - ScrapeUnblockerKey: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ScrapeUnblockerKey:
      type: apiKey
      in: header
      name: x-scrapeunblocker-key
      description: Your ScrapeUnblocker API key. Apply on every request.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.