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

  • League identifier (e.g., "nfl", "nba")

Query Parameters

  • Cursor for pagination

  • Sort order: "desc" (default, newest first) or "asc" (oldest first)

  • Filter by specific player ID

  • Filter by specific team ID

Headers

Responses

  • 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
  }
}