---
title: "SofaScore event baseball top performers"
method: GET
path: "/sofascore/event-baseball-top-performers"
tags: ["SofaScore"]
---

# SofaScore event baseball top performers

`GET /sofascore/event-baseball-top-performers`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/sofascore/event-baseball-top-performers`
- Auth: API key in header `x-api-key`

Returns a baseball match's top performers from SofaScore: each pitcher or batter (`role`) with a rating, their team and a snake_case map of the statistics that earned the mention (for example pitching strike outs, batting home runs and runs batted in). Returns 404 when SofaScore has no top performers for the match, which includes matches that have not started and sports other than baseball.

## Query parameters

- `id` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascoreEventBaseballTopPerformersResponseDoc
  - `code` integer
  - `data` SofascoreEventBaseballTopPerformersResponse
    - `event_id` integer
    - `fetched_at` string
    - `performers` SofascoreBaseballPerformer[]
      - `player` SofascorePlayerBrief
        - `id` integer
        - `jersey_number` string
        - `name` string
        - `position` string
        - `short_name` string
        - `slug` string
      - `rating` number
      - `role` string: Role is `pitcher` or `batter`.
      - `statistics` object: Statistics is a snake_case metric map; its keys depend on the role.
      - `team` SofascoreTeamRef
        - `country` string: Country the team belongs to.
        - `id` integer: SofaScore team id. Use it with the team endpoints.
        - `name` string: Full team name.
        - `national` boolean: True for a national team.
        - `short_name` string: Shortened team name.
        - `slug` string: URL slug of the team on SofaScore.
    - `source_url` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
