Baseball.Players
Get player statistics by player id
Refresh interval: Once a day
Retrieve detailed player statistics for specified playerId.
Detailed player statistics are aggregated on a perSeason level. Each season has the following available coverage:
| Type | Description |
|---|---|
| Entire | Combines both regular season and post-season statistics. Pre-season data is not included. |
| Season | Includes only regular season statistics. |
Recorded stats are dependant on the player position. In total, the following stats are available:
| Type | Description |
|---|---|
| Pitching | Statistics that measure a pitcher's performance in preventing runs and controlling opposing hitters (innings pitched, strikeouts, walks, earned runs). |
| Batting | Statistics that measure a player's offensive performance at the plate, including hitting ability, power and on-base success (hits, batting average, home runs, RBIs). |
Note: As mentioned earlier, statistics are associated with specific player positions. This means the results you receive will vary depending on the player's position.

get/baseball/players/{id}/statistics
Request
- Base URLhttps://sports.highlightly.net
- Authnone declared. Required headers: x-rapidapi-host, x-rapidapi-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idnumber required
Requested player id.
Headers
x-rapidapi-hoststring required
sport-highlights-api.p.rapidapi.com
x-rapidapi-keystring required
Rapid API Token
Response
Example response
[
{
"id": 342182,
"fullName": "Reese Albert",
"perSeason": [
{
"stats": [
{
"name": "Player Hit By Pitch",
"value": 7,
"category": "Batting"
}
],
"teams": [
{
"id": 10291561,
"logo": "https://highlightly.net/baseball/images/teams/10291561.png",
"name": "Seminoles",
"league": "MLB",
"displayName": "Florida State",
"abbreviation": "FSU"
}
],
"league": "MLB",
"season": 2022,
"seasonBreakdown": "Entire"
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.