Reference
Get splits
Group a person's numeric statistics by side, result or season. Each metric reports its mean and the number of games that recorded it.
GET
/v1/persons/{id}/splits1 creditParameters
| Name | Location | Type | Description |
|---|---|---|---|
id * | path | string | Person ID returned by a box score, roster or search. |
season | query | string | Season label or ID, such as 2025-26. |
by | query | string | Grouping dimension. Defaults to side. |
Example response
JSON · illustrative fixture
{
"data": {
"person_id": "per_example_001",
"by": "side",
"groups": [
{
"value": "away",
"games": 24,
"stats": {
"game": {
"points": {
"mean": 24.6,
"samples": 24
},
"assists": {
"mean": 6.1,
"samples": 24
}
}
}
},
{
"value": "home",
"games": 26,
"stats": {
"game": {
"points": {
"mean": 27.3,
"samples": 26
},
"assists": {
"mean": 6.8,
"samples": 26
}
}
}
}
]
}
}Try this endpoint
curl --request GET "https://api.precisedata.io/v1/persons/per_example_001/splits" \
--header "Authorization: Bearer $PRECISEDATA_KEY"Error responses
400Invalid request parameters401Missing, unknown or disabled API key402Credit limit reached404Record unavailable409Identifier matches more than one record429Request limit reached500Service error