# Flashscore search API

Search Flashscore teams, players and tournaments by text or sport via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, q, raw, and retrieve structured data including source entity identifier, returned source entity type, returned source sport label, and source entity detail link for sports display, and record linkage.

Documentation: https://openany.si/flashscore/flashscore-search-api/da56a06d-ad74-480e-a309-44b9e90347a5/
API ID: da56a06d-ad74-480e-a309-44b9e90347a5
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/flashscore/v1/search
Page update time: 2026-12-03T02:47:39.714Z
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.949Z. 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 Search API

Pass q, optionally type=all, teams, players or tournaments and sport. Request enum values and returned result type labels have different forms; keep each ID with its source type.

## 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 |
| --- | --- |
| `results[].id` | Source entity identifier |
| `results[].type` | Returned source entity type |
| `results[].sport` | Returned source sport label |
| `results[].url` | Source entity detail link |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Flashscore search 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": {
        "q": {
          "type": "string",
          "description": "Search text."
        },
        "type": {
          "type": "string",
          "description": "What to search (default all).",
          "enum": [
            "all",
            "teams",
            "players",
            "tournaments"
          ]
        },
        "sport": {
          "type": "string",
          "description": "Only this sport (e.g. football, tennis)."
        },
        "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": [
        "q"
      ]
    },
    "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"
    },
    "query": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string"
          },
          "gender": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "image": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "type": "string"
          },
          "sport": {
            "type": "string"
          },
          "sport_id": {
            "type": "integer"
          },
          "type": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "sport": {
      "type": "null"
    },
    "type": {
      "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/search?output=json&q=arsenal&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": 20,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:21:48.502Z",
  "query": "arsenal",
  "results": [
    {
      "country": "England",
      "gender": "Men",
      "id": "hA1Zm19f",
      "image": "https://static.flashscore.com/res/image/data/0n1ffK6k-vcNAdtF9.png",
      "name": "Arsenal",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal/hA1Zm19f/"
    },
    {
      "country": "England",
      "gender": "Women",
      "id": "8CKOoQdn",
      "image": "https://static.flashscore.com/res/image/data/8QWmNJR0-QmAvFdvS.png",
      "name": "Arsenal W",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal/8CKOoQdn/"
    },
    {
      "country": "England",
      "gender": "Men",
      "id": "hfGlpT1g",
      "image": "https://static.flashscore.com/res/image/data/nTA3yg96-0KPo4rhR.png",
      "name": "Arsenal U19",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal/hfGlpT1g/"
    },
    {
      "country": "England",
      "gender": "Men",
      "id": "ngXZTiDH",
      "image": "https://static.flashscore.com/res/image/data/ltDQhqkC-AoPf3VKt.png",
      "name": "Arsenal U21",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal/ngXZTiDH/"
    },
    {
      "country": "England",
      "gender": "Men",
      "id": "MDWFGZtm",
      "image": "https://static.flashscore.com/res/image/data/QVmXGJ96-tQVzpvmc.png",
      "name": "Arsenal U23",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal/MDWFGZtm/"
    },
    {
      "country": "Argentina",
      "gender": "Men",
      "id": "zoYzAZW6",
      "image": "https://static.flashscore.com/res/image/data/tMJMyf96-v5Re95K4.png",
      "name": "Arsenal Sarandi",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal-sarandi/zoYzAZW6/"
    },
    {
      "country": "Belarus",
      "gender": "Men",
      "id": "2TVOKuTs",
      "image": "https://static.flashscore.com/res/image/data/2oTJJ3Qq-OrlNM3Wu.png",
      "name": "Arsenal Dzerzhinsk",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal-dzerzhinsk/2TVOKuTs/"
    },
    {
      "country": "Ukraine",
      "gender": "Men",
      "id": "WvfLqYI6",
      "image": "https://static.flashscore.com/res/image/data/KI71zmQq-tneUjJf7.png",
      "name": "Arsenal Kiev",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal-kiev/WvfLqYI6/"
    },
    {
      "country": "Argentina",
      "gender": "Men",
      "id": "SULbStSO",
      "image": "https://static.flashscore.com/res/image/data/OYkVZtS0-buTLbsXo.png",
      "name": "Arsenal Sarandi 2",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal-sarandi/SULbStSO/"
    },
    {
      "country": "Russia",
      "gender": "Men",
      "id": "ATWL5eS9",
      "image": "https://static.flashscore.com/res/image/data/OfyKnYjT-04cZ6kQB.png",
      "name": "Arsenal Tula",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal-tula/ATWL5eS9/"
    },
    {
      "country": "Russia",
      "gender": "Men",
      "id": "ttlzJrzK",
      "image": "https://static.flashscore.com/res/image/data/Gt0QoEiT-MwSn15y0.png",
      "name": "Arsenal Tula U21",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal-tula/ttlzJrzK/"
    },
    {
      "country": "Russia",
      "gender": "Men",
      "id": "QXiRKk2P",
      "image": "https://static.flashscore.com/res/image/data/8rz74OS0-61jWC2zC.png",
      "name": "Arsenal Tula U19",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal-tula/QXiRKk2P/"
    },
    {
      "country": "Montenegro",
      "gender": "Men",
      "id": "Cfn4Di6G",
      "image": "https://static.flashscore.com/res/image/data/UcenlXRq-25w9qSfP.png",
      "name": "Arsenal Tivat",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal-tivat/Cfn4Di6G/"
    },
    {
      "country": "Uruguay",
      "gender": "Men",
      "id": "pdfO4Tfc",
      "image": "https://static.flashscore.com/res/image/data/tQsQaK86-UgdUJ7c2.png",
      "name": "Atletico Arsenal",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/atletico-arsenal/pdfO4Tfc/"
    },
    {
      "country": "Russia",
      "gender": "Men",
      "id": "C6Xac0g7",
      "image": "https://static.flashscore.com/res/image/data/bsEoKviT-nPVlteN2.png",
      "name": "Khimik-Arsenal",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/khimik-arsenal/C6Xac0g7/"
    },
    {
      "country": "Georgia",
      "gender": "Men",
      "id": "AcXEhx8N",
      "image": null,
      "name": "Arsenali Tbilisi",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/fc-arsenali-tbilisi/AcXEhx8N/"
    },
    {
      "country": "Belarus",
      "gender": "Men",
      "id": "GlzmTk7g",
      "image": "https://static.flashscore.com/res/image/data/8x3CX3T0-vLNbh91E.png",
      "name": "Arsenal Dzyarzhynsk 2",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal-dzyarzhynsk/GlzmTk7g/"
    },
    {
      "country": "Ukraine",
      "gender": "Men",
      "id": "IVdbFKN6",
      "image": "https://static.flashscore.com/res/image/data/CvLtY9ne-UJF196M9.png",
      "name": "Arsenal Kiev U21",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal-kiev/IVdbFKN6/"
    },
    {
      "country": "England",
      "gender": "Men",
      "id": "8OOTIGIE",
      "image": "https://static.flashscore.com/res/image/data/MZCNZlQq-AoPf3VKt.png",
      "name": "Arsenal U18",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/arsenal/8OOTIGIE/"
    },
    {
      "country": "Estonia",
      "gender": "Men",
      "id": "MgkAqSU0",
      "image": "https://static.flashscore.com/res/image/data/GfOlRFjT-lxQkIjVq.png",
      "name": "JK Arsenal",
      "sport": "Soccer",
      "sport_id": 1,
      "type": "Team",
      "url": "https://www.flashscore.com/team/jk-arsenal/MgkAqSU0/"
    }
  ],
  "sport": null,
  "type": "all"
}
```

## 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 type values can I send?
Use all, teams, players or tournaments; all is the default.

### Can a returned Team label be sent as type?
Use the documented lowercase request enum, such as teams, rather than a returned display label.

### Are IDs interchangeable across types?
No. Preserve entity type and sport with each source reference.

### Can I paginate this search?
No page or cursor input is exposed by this operation.

### 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-search-api/da56a06d-ad74-480e-a309-44b9e90347a5/

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