> ## 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.

# Scrape Flashscore fixtures and results for a sport or competition

> Reads a Flashscore sport, competition, results or fixtures page and returns its `matches`: `id`, `url`, `competition`, `round`, `startTime`, `status` (`state` is `scheduled`, `live` or `finished`, `stage` names it), `home` and `away` with name, logo, country and `score`, `winner`, and period `periods` once played. A competition's overview page returns the recent results and the upcoming fixtures Flashscore loads with it; use its `/results/` or `/fixtures/` address for one of them. A sport's front page (e.g. 'football') lists today's matches, where a row shows `displayTime` instead of a timestamp. A page without matches, such as `/fixtures/` of a finished season, returns an empty `matches` array with a `message`.



## OpenAPI

````yaml /api-reference/openapi.json post /sports/flashscore-matches
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/flashscore-matches:
    post:
      tags:
        - Plugins
      summary: Scrape Flashscore fixtures and results for a sport or competition
      description: >-
        Reads a Flashscore sport, competition, results or fixtures page and
        returns its `matches`: `id`, `url`, `competition`, `round`, `startTime`,
        `status` (`state` is `scheduled`, `live` or `finished`, `stage` names
        it), `home` and `away` with name, logo, country and `score`, `winner`,
        and period `periods` once played. A competition's overview page returns
        the recent results and the upcoming fixtures Flashscore loads with it;
        use its `/results/` or `/fixtures/` address for one of them. A sport's
        front page (e.g. 'football') lists today's matches, where a row shows
        `displayTime` instead of a timestamp. A page without matches, such as
        `/fixtures/` of a finished season, returns an empty `matches` array with
        a `message`.
      operationId: flashscore_matches_sports_flashscore_matches_post
      parameters:
        - name: url
          in: query
          required: true
          schema:
            type: string
            description: >-
              A Flashscore page, as a link or path, e.g.
              'football/england/premier-league', 'basketball/usa/nba/results',
              'tennis/atp-singles/stockholm' or 'football' for today's matches.
            title: Url
          description: >-
            A Flashscore page, as a link or path, e.g.
            'football/england/premier-league', 'basketball/usa/nba/results',
            'tennis/atp-singles/stockholm' or 'football' for today's matches.
        - name: proxy_country
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Proxy country the request is sent from (ISO-2, e.g. 'GB', 'DE').
              Leave blank to let the API pick.
            title: Proxy Country
          description: >-
            Proxy country the request is sent from (ISO-2, e.g. 'GB', 'DE').
            Leave blank to let the API pick.
      responses:
        '200':
          description: JSON with `matches`.
          content:
            application/json:
              schema: {}
        '400':
          description: >-
            `url` is not a Flashscore sport, competition or results page, or the
            proxy country is invalid.
        '404':
          description: Flashscore has no page at this address.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: >-
            Blocked, no match table on that page, or the call did not finish 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
      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.