# Flashscore match detail API

Get Flashscore match details by ID or link 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 identifier, source match status, and source competition-stage identifier for sports display, and record linkage, ready for production pipelines and AI agent automation.

Documentation: https://openany.si/flashscore/flashscore-match-detail-api/6e9fd868-e3ef-4d4f-a67e-de7fb8b88495/
API ID: 6e9fd868-e3ef-4d4f-a67e-de7fb8b88495
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/flashscore/v1/match
Page update time: 2026-12-03T02:47:29.786Z
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:29.443Z. 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 Details API

Pass match\_id or a supported match link, including a mid query reference. Match id, tournament\_id and stage\_id identify different source entities; retain status and start\_time with scores.

## 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 |
| --- | --- |
| `id` | Source match identifier |
| `status` | Source match status |
| `venue` | Source venue name when present |
| `tournament.stage_id` | Source competition-stage identifier |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Flashscore match detail 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": {
    "attendance": {
      "type": "integer"
    },
    "away_score": {
      "type": "integer"
    },
    "away_team": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "logo": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "short_name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "cached": {
      "type": "boolean"
    },
    "capacity": {
      "type": "integer"
    },
    "city": {
      "type": "string"
    },
    "credits_used": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "home_score": {
      "type": "integer"
    },
    "home_team": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "logo": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "short_name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "id": {
      "type": "string"
    },
    "info": {
      "type": "object",
      "properties": {
        "ATT": {
          "type": "string"
        },
        "CAP": {
          "type": "string"
        },
        "RCC": {
          "type": "string"
        },
        "RCO": {
          "type": "string"
        },
        "REF": {
          "type": "string"
        },
        "RTY": {
          "type": "string"
        },
        "TWN": {
          "type": "string"
        },
        "VEN": {
          "type": "string"
        }
      }
    },
    "parts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "away": {
            "type": "integer"
          },
          "home": {
            "type": "integer"
          }
        }
      }
    },
    "referee": {
      "type": "string"
    },
    "sport": {
      "type": "string"
    },
    "stage": {
      "type": "string"
    },
    "start_time": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "tabs": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "tournament": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string"
        },
        "country_id": {
          "type": "integer"
        },
        "name": {
          "type": "string"
        },
        "stage_id": {
          "type": "string"
        },
        "tournament_id": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "url": {
      "type": "string"
    },
    "venue": {
      "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?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
{
  "attendance": 52279,
  "away_score": 1,
  "away_team": {
    "id": "KluSTr9s",
    "logo": "https://static.flashscore.com/res/image/data/EwJqZUZA-bRmKmISE.png",
    "name": "Everton",
    "short_name": "Everton",
    "slug": "everton",
    "url": "https://www.flashscore.com/team/everton/KluSTr9s/"
  },
  "cached": false,
  "capacity": 52305,
  "city": "Newcastle",
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:21:41.260Z",
  "home_score": 0,
  "home_team": {
    "id": "p6ahwuwJ",
    "logo": "https://static.flashscore.com/res/image/data/rgS2eBYg-2yb2tbAr.png",
    "name": "Newcastle",
    "short_name": "Newcastle",
    "slug": "newcastle",
    "url": "https://www.flashscore.com/team/newcastle/p6ahwuwJ/"
  },
  "id": "YceoIxQh",
  "info": {
    "ATT": "52 279",
    "CAP": "52 305",
    "RCC": "Eng",
    "RCO": "198",
    "REF": "Brooks J.",
    "RTY": "23",
    "TWN": "Newcastle",
    "VEN": "St. James' Park"
  },
  "parts": [
    {
      "away": 0,
      "home": 0
    },
    {
      "away": 1,
      "home": 0
    }
  ],
  "referee": "Brooks J.",
  "sport": "Football",
  "stage": "Finished",
  "start_time": "2026-11-02T20:00:00.000Z",
  "status": "finished",
  "tabs": [
    "MR",
    "ST",
    "PS",
    "LI",
    "PMS",
    "LC",
    "MC",
    "MMT",
    "OD",
    "HH",
    "TTS",
    "SCR",
    "LT",
    "TA",
    "NF",
    "HITO"
  ],
  "tournament": {
    "country": "England",
    "country_id": 198,
    "name": "Premier League - Round 9",
    "stage_id": "CfoA8Dmm",
    "tournament_id": "SY30SsKF",
    "url": "https://www.flashscore.com/football/england/premier-league/"
  },
  "url": "https://www.flashscore.com/match/YceoIxQh/",
  "venue": "St. James' Park"
}
```

## 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
### Which links are accepted?
Use a Flashscore match link or its match ID; the contract also documents links carrying the mid query reference.

### Can a tournament ID replace match_id?
No. Keep match, tournament and stage identities separate.

### Are attendance and capacity interchangeable?
No. They are separate source match and venue values.

### Does every detail response include commentary or line-ups?
Use their dedicated operations. Keep the returned tabs and coverage as source metadata.

### 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-detail-api/6e9fd868-e3ef-4d4f-a67e-de7fb8b88495/

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