American Football.Teams

Get team statistics

Refresh interval: Immediately once a match is finished.

Retrieve team stats for each league and season by specifying the team's id path parameter. Requires fromDate query parameter to be specified in the YYYY-MM-DD format. Additionally, the timezone query parameter can be specified to futher narrow down the search results based on your location.

get/american-football/teams/statistics/{id}

Request

Path parameters

idnumber required

Requested team id.

Query parameters

fromDatestring required
Example:2023-08-06

Date that follows the YYYY-MM-DD format.

timezonestring
Example:Europe/London

Valid timezone identifier.

Headers

x-rapidapi-hoststring required

sport-highlights-api.p.rapidapi.com

x-rapidapi-keystring required

Rapid API Token

Response

leagueNamestring required

League name to which team statistics are associated.

roundstring required

Round to which team statistics are associated.

Example response

[
  {
    "total": {
      "games": {
        "played": 67,
        "wins": 24,
        "loses": 43
      },
      "points": {
        "scored": 1369,
        "received": 1619
      }
    },
    "home": {
      "games": {
        "played": 33,
        "wins": 13,
        "loses": 20
      },
      "points": {
        "scored": 694,
        "received": 713
      }
    },
    "away": {
      "games": {
        "played": 34,
        "wins": 11,
        "loses": 23
      },
      "points": {
        "scored": 675,
        "received": 906
      }
    },
    "leagueName": "NFL",
    "round": "regular-season"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.