# Flashscore match summary (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.

Documentation: https://openany.si/flashscore/flashscore-match-summary-incidents-api/2bb2d228-ec7a-4034-8fc0-dde35e2be013/
API ID: 2bb2d228-ec7a-4034-8fc0-dde35e2be013
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/flashscore/v1/match/summary
Page update time: 2026-12-03T02:47:39.692Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.002 / billing credit
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:47:35.541Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "rules",
  "parameters": [],
  "policy_version": 2,
  "sale": {
    "addons": [],
    "base_price_micro_usd": "0",
    "max_cost_micro_usd": "2000",
    "quantities": [
      {
        "id": "upstream_credits",
        "label": "Actual API.SH credits consumed",
        "max_quantity": "1",
        "measure": "value",
        "pointer": "/credits_used",
        "price_micro_usd": "2000",
        "quantity_scale": 0,
        "source": "response",
        "unit": "credit",
        "unit_quantity": "1"
      }
    ],
    "rounding": "ceil",
    "variants": []
  }
}
```

## Usage and limits
## 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.

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

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Flashscore match summary (incidents) API request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "match_id": {
          "type": "string",
          "description": "Flashscore match id or a match link (flashscore.com/match/YceoIxQh/ or .../?mid=YceoIxQh). YceoIxQh = Newcastle v Everton, Premier League, 2 Nov 2026."
        },
        "raw": {
          "type": "string",
          "description": "0 leaves out the bulky `raw` source blocks (often 10-30x smaller).",
          "enum": [
            "0",
            "1"
          ]
        },
        "fields": {
          "type": "string",
          "description": "Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included."
        },
        "fresh": {
          "type": "string",
          "description": "1 skips the 24-hour cache and fetches live.",
          "enum": [
            "1"
          ]
        },
        "output": {
          "type": "string",
          "description": "JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.",
          "enum": [
            "json"
          ]
        },
        "records": {
          "type": "string",
          "description": "With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row."
        }
      },
      "required": [
        "match_id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cached": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "match_id": {
      "type": "string"
    },
    "periods": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "away_score": {
            "type": "integer"
          },
          "home_score": {
            "type": "integer"
          },
          "incidents": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "player": {
                        "type": "string"
                      },
                      "player_id": {
                        "type": "string"
                      },
                      "player_url": {
                        "type": "string"
                      },
                      "reason": {
                        "type": "string"
                      },
                      "text": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "type": {
                        "type": "string"
                      },
                      "type_code": {
                        "type": "integer"
                      },
                      "away_score": {
                        "type": "integer"
                      },
                      "home_score": {
                        "type": "integer"
                      }
                    }
                  }
                },
                "minute": {
                  "type": "string"
                },
                "side": {
                  "type": "string"
                }
              }
            }
          },
          "name": {
            "type": "string"
          }
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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"
    }
  ]
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

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

## Available implementations
- apish: https://openany.si/flashscore/flashscore-match-summary-incidents-api/2bb2d228-ec7a-4034-8fc0-dde35e2be013/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
