OpenAny
Get API keyAPI Key
APIData

flashscore logo
Flashscore Match Incidents API

Get Flashscore match incidents by period via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as match_id, output, raw, and retrieve structured data including source match-period label, source incident minute label, source incident side, and source incident-item type for sports display, and record linkage.

Selected price
$0.002 / billing creditPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Flashscore Match Incidents API

Prepare your request, then continue with your agent.

Pricing

$0.002 / billing credit

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Flashscore Match Incidents API

Flashscore Match Incidents API

Pass match_id. Each period contains incidents, which can contain several items; preserve minute, side, source player references and event type rather than flattening them into one player action.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required: match_id. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.
Selected implementation apish · Flashscore match summary (incidents) API
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Sports display: Keep source identities and status labels attached.
  • Record linkage: Use the exact source reference for a focused detail request.

Returned Data

Field Meaning
periods[].name Source match-period label
periods[].incidents[].minute Source incident minute label
periods[].incidents[].side Source incident side
periods[].incidents[].items[].type Source incident-item type

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/apish/flashscore/v1/match/summary \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --data-urlencode match_id=YceoIxQh \
  --data-urlencode output=json \
  --data-urlencode raw=0

Request and Response Examples

The response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.

Published Flashscore Match Incidents API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Flashscore match id or a match link (flashscore.com/match/YceoIxQh/ or .../?mid=YceoIxQh). YceoIxQh = Newcastle v Everton, Premier League, 2 Nov 2026.
Optional parameters (5)
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
apishCurrent
Flashscore match summary (incidents) API · GET · View API reference
$0.002 / billing credit0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · apishUSD / billing credit
Pricing
$0.002

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/apish/flashscore/v1/match/summary
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
match_idURL query parametersquerystringYes

Flashscore match id or a match link (flashscore.com/match/YceoIxQh/ or .../?mid=YceoIxQh). YceoIxQh = Newcastle v Everton, Premier League, 2 Nov 2026.

rawURL query parametersquerystringNo

0 leaves out the bulky `raw` source blocks (often 10-30x smaller).

enum: "0", "1"

fieldsURL query parametersquerystringNo

Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.

freshURL query parametersquerystringNo

1 skips the 24-hour cache and fetches live.

enum: "1"

outputURL query parametersquerystringNo

JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.

enum: "json"

recordsURL query parametersquerystringNo

With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • fetched_atstring
  • match_idstring
  • periodsobject[]
    • away_scoreinteger
    • home_scoreinteger
    • incidentsobject[]
      • idstring
      • itemsobject[]
        • playerstring
        • player_idstring
        • player_urlstring
        • reasonstring
        • textstring | null
        • typestring
        • type_codeinteger
        • away_scoreinteger
        • home_scoreinteger
      • minutestring
      • sidestring
    • namestring

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.000000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
Actual API.SH credits consumed$0.002000 / billing creditResponse · /credits_used · Numeric valueAlways1 billing credit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.002000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example · Live API.SH response · Minimal request

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 6

    Review these request fields before running. Keep the published provider and request method unchanged.

    match_id
    Flashscore match id or a match link (flashscore.com/match/YceoIxQh/ or .../?mid=YceoIxQh). YceoIxQh = Newcastle v Everton, Premier League, 2 Nov 2026.
    raw
    0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
    fields
    Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
    fresh
    1 skips the 24-hour cache and fetches live.
    output
    JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
    records
    With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/apish/flashscore/v1/match/summary?match_id=YceoIxQh&output=json&raw=0' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "cached": false,
      "count": 16,
      "credits_used": 1,
      "fetched_at": "2026-11-19T12:21:46.346Z",
      "match_id": "YceoIxQh",
      "periods": [
        {
          "away_score": 0,
          "home_score": 0,
          "incidents": [
            {
              "id": "0pt4ogSP",
              "items": [
                {
                  "player": "Burn D.",
                  "player_id": "fyP3wtr0",
                  "player_url": "https://www.flashscore.com/player/burn-dan/fyP3wtr0/",
                  "reason": "Roughing",
                  "text": "Dan Burn (Newcastle Utd) can't expect anything else than a yellow card for his hard tackle. And a yellow it is. John Brooks didn't think twice about pulling it out of his pocket.",
                  "type": "Yellow Card",
                  "type_code": 1
                }
              ],
              "minute": "32'",
              "side": "home"
            }
          ],
          "name": "1st Half"
        },
        {
          "away_score": 1,
          "home_score": 0,
          "incidents": [
            {
              "id": "z72JdMz3",
              "items": [
                {
                  "away_score": 1,
                  "home_score": 0,
                  "player": "Barry T.",
                  "player_id": "KYQuxWEL",
                  "player_url": "https://www.flashscore.com/player/barry-thierno/KYQuxWEL/",
                  "text": "Goal 0:1! Thierno Barry (Everton) taps home from close range after the rebound fell kindly into his path.",
                  "type": "Goal",
                  "type_code": 3
                }
              ],
              "minute": "49'",
              "side": "away"
            },
            {
              "id": "fqqNxy3D",
              "items": [
                {
                  "player": "George T.",
                  "player_id": "QPjr5Otn",
                  "player_url": "https://www.flashscore.com/player/george-tyrique/QPjr5Otn/",
                  "reason": "Unsportsmanlike conduct",
                  "text": "The booking goes to Tyrique George (Everton).",
                  "type": "Yellow Card",
                  "type_code": 1
                }
              ],
              "minute": "52'",
              "side": "away"
            },
            {
              "id": "Aclmdo3d",
              "items": [
                {
                  "player": "Willock J.",
                  "player_id": "j3oBtT40",
                  "player_url": "https://www.flashscore.com/player/willock-joseph/j3oBtT40/",
                  "text": null,
                  "type": "Substitution - Out",
                  "type_code": 6
                },
                {
                  "player": "Wissa Y.",
                  "player_id": "b35gWzB2",
                  "player_url": "https://www.flashscore.com/player/wissa-yoane/b35gWzB2/",
                  "text": "A substitution has been made. Joe Willock goes off and Yoane Wissa (Newcastle Utd) comes on.",
                  "type": "Substitution - In",
                  "type_code": 7
                }
              ],
              "minute": "64'",
              "side": "home"
            },
            {
              "id": "8Gt0NN1e",
              "items": [
                {
                  "player": "Nico",
                  "player_id": "ID3evg0L",
                  "player_url": "https://www.flashscore.com/player/gonzalez-nicolas/ID3evg0L/",
                  "text": null,
                  "type": "Substitution - Out",
                  "type_code": 6
                },
                {
                  "player": "Steur S.",
                  "player_id": "M7pUtmE7",
                  "player_url": "https://www.flashscore.com/player/steur-sean/M7pUtmE7/",
                  "text": "Matthias Jaissle has decided to make a change. Sean Steur (Newcastle Utd) replaces Nico.",
                  "type": "Substitution - In",
                  "type_code": 7
                }
              ],
              "minute": "64'",
              "side": "home"
            },
            {
              "id": "nPIjixSj",
              "items": [
                {
                  "player": "Moyes D.",
                  "player_id": "hUGEt9yf",
                  "player_url": "https://www.flashscore.com/player/moyes-david/hUGEt9yf/",
                  "text": "David Moyes is stunned as referee John Brooks shows him a yellow card. What was that for?",
                  "type": "Yellow Card",
                  "type_code": 1
                },
                {
                  "player": "Moyes D.",
                  "player_id": "hUGEt9yf",
                  "player_url": "https://www.flashscore.com/player/moyes-david/hUGEt9yf/",
                  "text": null,
                  "type": "Not on pitch",
                  "type_code": 47
                }
              ],
              "minute": "73'",
              "side": "away"
            },
            {
              "id": "0p4peF35",
              "items": [
                {
                  "player": "Joelinton",
                  "player_id": "EBZ36WE4",
                  "player_url": "https://www.flashscore.com/player/joelinton/EBZ36WE4/",
                  "text": null,
                  "type": "Substitution - Out",
                  "type_code": 6
                },
                {
                  "player": "Ramsey J.",
                  "player_id": "URZH6b4K",
                  "player_url": "https://www.flashscore.com/player/ramsey-jacob/URZH6b4K/",
                  "text": "The substitution is prepared. Jacob Ramsey (Newcastle Utd) joins the action as a substitute, replacing Joelinton.",
                  "type": "Substitution - In",
                  "type_code": 7
                }
              ],
              "minute": "75'",
              "side": "home"
            },
            {
              "id": "Yc2hggYH",
              "items": [
                {
                  "player": "Elanga A.",
                  "player_id": "dOlRWlZ6",
                  "player_url": "https://www.flashscore.com/player/elanga-anthony/dOlRWlZ6/",
                  "text": null,
                  "type": "Substitution - Out",
                  "type_code": 6
                },
                {
                  "player": "Murphy J.",
                  "player_id": "b5WYEjtm",
                  "player_url": "https://www.flashscore.com/player/murphy-jacob/b5WYEjtm/",
                  "text": "Matthias Jaissle prepares a substitution. Anthony Elanga is replaced by Jacob Murphy (Newcastle Utd).",
                  "type": "Substitution - In",
                  "type_code": 7
                }
              ],
              "minute": "76'",
              "side": "home"
            },
            {
              "id": "fHQskBCl",
              "items": [
                {
                  "player": "Barry T.",
                  "player_id": "KYQuxWEL",
                  "player_url": "https://www.flashscore.com/player/barry-thierno/KYQuxWEL/",
                  "text": null,
                  "type": "Substitution - Out",
                  "type_code": 6
                },
                {
                  "player": "Johnson B.",
                  "player_id": "6XhWIWPP",
                  "player_url": "https://www.flashscore.com/player/johnson-brennan/6XhWIWPP/",
                  "text": "Here comes a substitution. Thierno Barry is given a rest as he is replaced by Brennan Johnson (Everton).",
                  "type": "Substitution - In",
                  "type_code": 7
                }
              ],
              "minute": "80'",
              "side": "away"
            },
            {
              "id": "GhCcOxqC",
              "items": [
                {
                  "player": "Branthwaite J.",
                  "player_id": "QNEAuZc1",
                  "player_url": "https://www.flashscore.com/player/branthwaite-jarrad/QNEAuZc1/",
                  "text": null,
                  "type": "Substitution - Out",
                  "type_code": 6
                },
                {
                  "player": "Keane M.",
                  "player_id": "88V6O2X4",
                  "player_url": "https://www.flashscore.com/player/keane-michael/88V6O2X4/",
                  "text": "David Moyes decides to make a substitution. Jarrad Branthwaite will be replaced by Michael Keane (Everton).",
                  "type": "Substitution - In",
                  "type_code": 7
                }
              ],
              "minute": "82'",
              "side": "away"
            },
            {
              "id": "jTq1a5TP",
              "items": [
                {
                  "player": "Dedic A.",
                  "player_id": "Q1ROYFRs",
                  "player_url": "https://www.flashscore.com/player/dedic-amar/Q1ROYFRs/",
                  "text": null,
                  "type": "Substitution - Out",
                  "type_code": 6
                },
                {
                  "player": "Toure B.",
                  "player_id": "jqfhZBWt",
                  "player_url": "https://www.flashscore.com/player/toure-bazoumana/jqfhZBWt/",
                  "text": "Substitution. Bazoumana Toure (Newcastle Utd) in, Amar Dedic out.",
                  "type": "Substitution - In",
                  "type_code": 7
                }
              ],
              "minute": "87'",
              "side": "home"
            },
            {
              "id": "UDadKOAj",
              "items": [
                {
                  "player": "George T.",
                  "player_id": "QPjr5Otn",
                  "player_url": "https://www.flashscore.com/player/george-tyrique/QPjr5Otn/",
                  "text": null,
                  "type": "Substitution - Out",
                  "type_code": 6
                },
                {
                  "player": "Hackney H.",
                  "player_id": "rFk11Hin",
                  "player_url": "https://www.flashscore.com/player/hackney-hayden/rFk11Hin/",
                  "text": "Here is a change. Tyrique George is going off and David Moyes gives the last tactical orders to Hayden Hackney (Everton).",
                  "type": "Substitution - In",
                  "type_code": 7
                }
              ],
              "minute": "90+2'",
              "side": "away"
            },
            {
              "id": "pncguu56",
              "items": [
                {
                  "player": "Ramsey J.",
                  "player_id": "URZH6b4K",
                  "player_url": "https://www.flashscore.com/player/ramsey-jacob/URZH6b4K/",
                  "reason": "Tripping",
                  "text": "Jacob Ramsey (Newcastle Utd) is awarded a yellow card for his behaviour.",
                  "type": "Yellow Card",
                  "type_code": 1
                }
              ],
              "minute": "90+6'",
              "side": "home"
            },
            {
              "id": "AL0ptFjg",
              "items": [
                {
                  "player": "Ramsey J.",
                  "player_id": "URZH6b4K",
                  "player_url": "https://www.flashscore.com/player/ramsey-jacob/URZH6b4K/",
                  "reason": "Roughing",
                  "text": "This was really stupid from Jacob Ramsey (Newcastle Utd)! He is booked for the second time today and is forced to leave the pitch after seeing a red card in the hand of John Brooks.",
                  "type": "Yellow Card",
                  "type_code": 1
                },
                {
                  "player": "Ramsey J.",
                  "player_id": "URZH6b4K",
                  "player_url": "https://www.flashscore.com/player/ramsey-jacob/URZH6b4K/",
                  "text": null,
                  "type": "Red Card",
                  "type_code": 2
                }
              ],
              "minute": "90+8'",
              "side": "home"
            },
            {
              "id": "fN7MyFHc",
              "items": [
                {
                  "player": "Johnson B.",
                  "player_id": "6XhWIWPP",
                  "player_url": "https://www.flashscore.com/player/johnson-brennan/6XhWIWPP/",
                  "reason": "Unsportsmanlike conduct",
                  "text": "Brennan Johnson (Everton) is cautioned by the referee.",
                  "type": "Yellow Card",
                  "type_code": 1
                }
              ],
              "minute": "90+9'",
              "side": "away"
            },
            {
              "id": "0l4xYWGM",
              "items": [
                {
                  "player": "Schar F.",
                  "player_id": "0SebIVqC",
                  "player_url": "https://www.flashscore.com/player/schar-fabian/0SebIVqC/",
                  "reason": "Unsportsmanlike conduct",
                  "text": "That will be a yellow card for one of the players. The one who gets booked is Fabian Schar (Newcastle Utd).",
                  "type": "Yellow Card",
                  "type_code": 1
                }
              ],
              "minute": "90+9'",
              "side": "home"
            }
          ],
          "name": "2nd Half"
        }
      ]
    }

Common questions

Can an incident contain several items?

Yes. Keep its nested items with the source incident identity and side.

Is minute always a plain number?

Preserve the source display label, including added-time notation when present.

Can every event be treated as a goal?

No. Keep the item type and reason; incidents can describe cards or other actions.

How do I connect a player reference?

Retain player_id and player_url separately from the match ID and team side.

How do I bypass cached results?

Pass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.

Can I request CSV or NDJSON?

This OpenAny implementation serves JSON only. Omit output or set output=json.

Use Flashscore Match Incidents API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.