Enterprise API
Get player news
Available for: Enterprise API.
Get player news for a league, including headlines, notes, status, and available injury details. Filter by personId or teamId, choose the sort order, and use the returned pagination cursor to continue through pages of 25 items.
Path Parameters
- Type: stringleaguerequired
League identifier (e.g., "nfl", "nba")
Query Parameters
- Type: stringcursor
Cursor for pagination
- Type: stringorder
Sort order: "desc" (default, newest first) or "asc" (oldest first)
- Type: integerFormat: int64person
Id Filter by specific player ID
- Type: integerFormat: int32team
Id Filter by specific team ID
- Type: stringapi
-version
Headers
- Type: stringX
- A P I - Version
Responses
- 401
Authentication is missing, invalid, expired, or revoked.
- application/json
Request Example for get/player/{league}/news
curl 'https://data.unabated.com/player/{league}/news?order=desc' \
--header 'X-Api-Key: YOUR_SECRET_TOKEN'
{
"data": [
{
"id": 1,
"leagueId": 1,
"person": {
"id": 1,
"firstName": null,
"lastName": null
},
"team": {
"id": 1,
"name": null
},
"headline": null,
"notes": null,
"status": null,
"injury": {
"id": 1,
"name": null
},
"meta": {
"createdAt": null,
"updatedAt": null
}
}
],
"success": true,
"messages": [
"string"
],
"pagination": {
"nextCursor": null,
"previousCursor": null
}
}