# SofaScore best players of an event API

Get SofaScore Best Players data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by Apish, pass parameters such as event_id, output, raw, and retrieve structured data including requested SofaScore event identifier and value to automate post-match highlights, track standout performers, and enrich player scouting views.

Documentation: https://openany.si/sofascore/sofascore-best-players-of-an-event-api/c4984670-3053-4533-b6fe-ba9b1643f826/
API ID: c4984670-3053-4533-b6fe-ba9b1643f826
Provider: apish
Contract revision: 3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/apish/sofascore/v1/event/best-players
Page update time: 2026-12-03T02:55:26.070Z
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:55:24.088Z. 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
## SofaScore Best Players API

Supply event\_id as a SofaScore event ID or match link to fetch post-match standout selections. The JSON response returns player\_of\_the\_match plus best\_home\_players\[\] and best\_away\_players\[\] with player identity, position, team info and rating values.

## What You Can Build

- **Automate post-match highlights**: Display player\_of\_the\_match and top home and away ratings in match summary cards.
- **Track standout performers**: Store best\_home\_players\[\] and best\_away\_players\[\] IDs to follow high-rated players across rounds.
- **Enrich player scouting views**: Pass returned player IDs into the SofaScore Player API or Player Season Stats API for deeper profiles.

## Returned Data

| Field | Meaning |
| --- | --- |
| `event_id` | Requested SofaScore event identifier |
| `player_of_the_match.value` | Rating score for the overall player of the match |
| `player_of_the_match.player.name` | Full name of the player of the match |
| `best_home_players[].value` | Rating score for each top home player |
| `best_home_players[].player.name` | Name of each top-rated home player |
| `best_home_players[].player.position` | Playing position code for the home player |
| `best_away_players[].value` | Rating score for each top away player |
| `best_away_players[].player.name` | Name of each top-rated away player |
| `best_away_players[].team.name` | Team name for each top away player |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SofaScore best players of an event 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": {
        "event_id": {
          "type": "string",
          "description": "SofaScore event id or a match link (sofascore.com/football/match/liverpool-arsenal/HQfh#id:16363907). 16363907 = Liverpool v Arsenal, Premier League 26/27."
        },
        "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": [
        "event_id"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "best_away_players": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "player": {
            "type": "object",
            "properties": {
              "dateOfBirthTimestamp": {
                "type": "integer"
              },
              "firstName": {
                "type": "string"
              },
              "gender": {
                "type": "string"
              },
              "height": {
                "type": "integer"
              },
              "id": {
                "type": "integer"
              },
              "jerseyNumber": {
                "type": "string"
              },
              "lastName": {
                "type": "string"
              },
              "marketValueCurrency": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "position": {
                "type": "string"
              },
              "proposedMarketValueRaw": {
                "type": "object",
                "properties": {
                  "currency": {
                    "type": "string"
                  },
                  "value": {
                    "type": "integer"
                  }
                }
              },
              "shortName": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "sofascoreId": {
                "type": "string"
              },
              "userCount": {
                "type": "integer"
              }
            }
          },
          "team": {
            "type": "object",
            "properties": {
              "disabled": {
                "type": "boolean"
              },
              "gender": {
                "type": "string"
              },
              "id": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "nameCode": {
                "type": "string"
              },
              "national": {
                "type": "boolean"
              },
              "shortName": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "sport": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "slug": {
                    "type": "string"
                  }
                }
              },
              "type": {
                "type": "integer"
              },
              "userCount": {
                "type": "integer"
              }
            }
          },
          "value": {
            "type": "string"
          }
        }
      }
    },
    "best_home_players": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "player": {
            "type": "object",
            "properties": {
              "dateOfBirthTimestamp": {
                "type": "integer"
              },
              "firstName": {
                "type": "string"
              },
              "gender": {
                "type": "string"
              },
              "height": {
                "type": "integer"
              },
              "id": {
                "type": "integer"
              },
              "jerseyNumber": {
                "type": "string"
              },
              "lastName": {
                "type": "string"
              },
              "marketValueCurrency": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "position": {
                "type": "string"
              },
              "proposedMarketValueRaw": {
                "type": "object",
                "properties": {
                  "currency": {
                    "type": "string"
                  },
                  "value": {
                    "type": "integer"
                  }
                }
              },
              "shortName": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "sofascoreId": {
                "type": "string"
              },
              "userCount": {
                "type": "integer"
              }
            }
          },
          "team": {
            "type": "object",
            "properties": {
              "disabled": {
                "type": "boolean"
              },
              "gender": {
                "type": "string"
              },
              "id": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "nameCode": {
                "type": "string"
              },
              "national": {
                "type": "boolean"
              },
              "shortName": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "sport": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  },
                  "slug": {
                    "type": "string"
                  }
                }
              },
              "type": {
                "type": "integer"
              },
              "userCount": {
                "type": "integer"
              }
            }
          },
          "value": {
            "type": "string"
          }
        }
      }
    },
    "cached": {
      "type": "boolean"
    },
    "credits_used": {
      "type": "integer"
    },
    "event_id": {
      "type": "integer"
    },
    "fetched_at": {
      "type": "string"
    },
    "player_of_the_match": {
      "type": "object",
      "properties": {
        "label": {
          "type": "string"
        },
        "player": {
          "type": "object",
          "properties": {
            "dateOfBirthTimestamp": {
              "type": "integer"
            },
            "firstName": {
              "type": "string"
            },
            "gender": {
              "type": "string"
            },
            "height": {
              "type": "integer"
            },
            "id": {
              "type": "integer"
            },
            "jerseyNumber": {
              "type": "string"
            },
            "lastName": {
              "type": "string"
            },
            "marketValueCurrency": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "position": {
              "type": "string"
            },
            "proposedMarketValueRaw": {
              "type": "object",
              "properties": {
                "currency": {
                  "type": "string"
                },
                "value": {
                  "type": "integer"
                }
              }
            },
            "shortName": {
              "type": "string"
            },
            "slug": {
              "type": "string"
            },
            "sofascoreId": {
              "type": "string"
            },
            "userCount": {
              "type": "integer"
            }
          }
        },
        "team": {
          "type": "object",
          "properties": {
            "disabled": {
              "type": "boolean"
            },
            "gender": {
              "type": "string"
            },
            "id": {
              "type": "integer"
            },
            "name": {
              "type": "string"
            },
            "nameCode": {
              "type": "string"
            },
            "national": {
              "type": "boolean"
            },
            "shortName": {
              "type": "string"
            },
            "slug": {
              "type": "string"
            },
            "sport": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "slug": {
                  "type": "string"
                }
              }
            },
            "type": {
              "type": "integer"
            },
            "userCount": {
              "type": "integer"
            }
          }
        },
        "value": {
          "type": "string"
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example · Live API.SH response · Minimal request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/apish/sofascore/v1/event/best-players?event_id=16363907&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
{
  "best_away_players": [
    {
      "label": "rating",
      "player": {
        "dateOfBirthTimestamp": 877564800,
        "firstName": "",
        "gender": "M",
        "height": 183,
        "id": 827679,
        "jerseyNumber": "15",
        "lastName": "",
        "marketValueCurrency": "EUR",
        "name": "Ezri Konsa",
        "position": "D",
        "proposedMarketValueRaw": {
          "currency": "EUR",
          "value": 53000000
        },
        "shortName": "E. Konsa",
        "slug": "ezri-konsa",
        "sofascoreId": "h24-msc",
        "userCount": 13477
      },
      "team": {
        "disabled": false,
        "gender": "M",
        "id": 42,
        "name": "Arsenal",
        "nameCode": "ARS",
        "national": false,
        "shortName": "Arsenal",
        "slug": "arsenal",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "type": 0,
        "userCount": 3703303
      },
      "value": "8.7"
    },
    {
      "label": "rating",
      "player": {
        "dateOfBirthTimestamp": 882489600,
        "firstName": "Gabriel",
        "gender": "M",
        "height": 190,
        "id": 869792,
        "jerseyNumber": "6",
        "lastName": "Magalhães",
        "marketValueCurrency": "EUR",
        "name": "Gabriel Magalhães",
        "position": "D",
        "proposedMarketValueRaw": {
          "currency": "EUR",
          "value": 70000000
        },
        "shortName": "G. Magalhães",
        "slug": "gabriel-magalhaes",
        "sofascoreId": "8e3-rhw",
        "userCount": 69031
      },
      "team": {
        "disabled": false,
        "gender": "M",
        "id": 42,
        "name": "Arsenal",
        "nameCode": "ARS",
        "national": false,
        "shortName": "Arsenal",
        "slug": "arsenal",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "type": 0,
        "userCount": 3703303
      },
      "value": "7.5"
    },
    {
      "label": "rating",
      "player": {
        "dateOfBirthTimestamp": 1015718400,
        "gender": "M",
        "height": 182,
        "id": 966547,
        "jerseyNumber": "20",
        "marketValueCurrency": "EUR",
        "name": "Noni Madueke",
        "position": "F",
        "proposedMarketValueRaw": {
          "currency": "EUR",
          "value": 48000000
        },
        "shortName": "N. Madueke",
        "slug": "noni-madueke",
        "sofascoreId": "utt-2k3",
        "userCount": 37933
      },
      "team": {
        "disabled": false,
        "gender": "M",
        "id": 42,
        "name": "Arsenal",
        "nameCode": "ARS",
        "national": false,
        "shortName": "Arsenal",
        "slug": "arsenal",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "type": 0,
        "userCount": 3703303
      },
      "value": "7.5"
    }
  ],
  "best_home_players": [
    {
      "label": "rating",
      "player": {
        "dateOfBirthTimestamp": 678931200,
        "firstName": "Virgil",
        "gender": "M",
        "height": 195,
        "id": 151545,
        "jerseyNumber": "4",
        "lastName": "van Dijk",
        "marketValueCurrency": "EUR",
        "name": "Virgil van Dijk",
        "position": "D",
        "proposedMarketValueRaw": {
          "currency": "EUR",
          "value": 15500000
        },
        "shortName": "V. van Dijk",
        "slug": "virgil-van-dijk",
        "sofascoreId": "b24-3rq",
        "userCount": 81964
      },
      "team": {
        "disabled": false,
        "gender": "M",
        "id": 44,
        "name": "Liverpool FC",
        "nameCode": "LIV",
        "national": false,
        "shortName": "Liverpool",
        "slug": "liverpool",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "type": 0,
        "userCount": 3727635
      },
      "value": "7.3"
    },
    {
      "label": "rating",
      "player": {
        "dateOfBirthTimestamp": 914457600,
        "gender": "M",
        "height": 176,
        "id": 895324,
        "jerseyNumber": "10",
        "marketValueCurrency": "EUR",
        "name": "Alexis Mac Allister",
        "position": "M",
        "proposedMarketValueRaw": {
          "currency": "EUR",
          "value": 77000000
        },
        "shortName": "A. Mac Allister",
        "slug": "alexis-mac-allister",
        "sofascoreId": "hhi-bnc",
        "userCount": 71827
      },
      "team": {
        "disabled": false,
        "gender": "M",
        "id": 44,
        "name": "Liverpool FC",
        "nameCode": "LIV",
        "national": false,
        "shortName": "Liverpool",
        "slug": "liverpool",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "type": 0,
        "userCount": 3727635
      },
      "value": "7.3"
    },
    {
      "label": "rating",
      "player": {
        "dateOfBirthTimestamp": 1068163200,
        "firstName": "Milos",
        "gender": "M",
        "height": 180,
        "id": 1097425,
        "jerseyNumber": "6",
        "lastName": "Kerkez",
        "marketValueCurrency": "EUR",
        "name": "Miloš Kerkez",
        "position": "D",
        "proposedMarketValueRaw": {
          "currency": "EUR",
          "value": 36000000
        },
        "shortName": "M. Kerkez",
        "slug": "milos-kerkez",
        "sofascoreId": "kmu-gwg",
        "userCount": 25503
      },
      "team": {
        "disabled": false,
        "gender": "M",
        "id": 44,
        "name": "Liverpool FC",
        "nameCode": "LIV",
        "national": false,
        "shortName": "Liverpool",
        "slug": "liverpool",
        "sport": {
          "id": 1,
          "name": "Football",
          "slug": "football"
        },
        "type": 0,
        "userCount": 3727635
      },
      "value": "7.2"
    }
  ],
  "cached": false,
  "credits_used": 1,
  "event_id": 16363907,
  "fetched_at": "2026-11-19T12:22:57.455Z",
  "player_of_the_match": {
    "label": "rating",
    "player": {
      "dateOfBirthTimestamp": 877564800,
      "firstName": "",
      "gender": "M",
      "height": 183,
      "id": 827679,
      "jerseyNumber": "15",
      "lastName": "",
      "marketValueCurrency": "EUR",
      "name": "Ezri Konsa",
      "position": "D",
      "proposedMarketValueRaw": {
        "currency": "EUR",
        "value": 53000000
      },
      "shortName": "E. Konsa",
      "slug": "ezri-konsa",
      "sofascoreId": "h24-msc",
      "userCount": 13477
    },
    "team": {
      "disabled": false,
      "gender": "M",
      "id": 42,
      "name": "Arsenal",
      "nameCode": "ARS",
      "national": false,
      "shortName": "Arsenal",
      "slug": "arsenal",
      "sport": {
        "id": 1,
        "name": "Football",
        "slug": "football"
      },
      "type": 0,
      "userCount": 3703303
    },
    "value": "8.7"
  }
}
```

## 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 I pass a SofaScore match URL instead of a numeric ID?
Yes. event_id accepts either a numeric event ID such as 16363907 or a SofaScore match link.

### How many top players are included per team?
The live sample returns three entries each in best_home_players[] and best_away_players[], plus a single player_of_the_match object.

### Does this endpoint include full squad line-ups and bench players?
No. Use the SofaScore Event Line-ups API for complete starting elevens, substitutes and formations.

### Are player IDs included for follow-up lookups?
Yes. Each entry includes player.id and team.id so you can query player profiles or team squads directly.

### How do I fetch uncached ratings right after full time?
Pass fresh=1 in the query string to bypass the 24-hour cache.

### What output formats are supported?
Output is JSON only. Pass raw=0 to omit raw source blocks or use fields to select specific keys.

## Available implementations
- apish: https://openany.si/sofascore/sofascore-best-players-of-an-event-api/c4984670-3053-4533-b6fe-ba9b1643f826/

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