Matches

GET https://american-football.highlightly.net/matches NFL & NCAAF API
GET https://sports.highlightly.net/american-football/matches All Sports API

Retrieve a list of matches.

Refresh interval
Once a minute
Pagination
limit and offset
Detail
General information only

Querying

At least one primary query parameter must be specified before you can retrieve data. timezone, limit and offset are secondary and do not count on their own.

Combine timezone with date to get matches relevant to your own location. timezone defaults to Etc/UTC.

Teams can be filtered by id, name, abbreviation or display name, so homeTeamAbbreviation works without resolving an id first. league separates professional from college.

limit sets how many matches come back. When the number of matching games exceeds it, request the next page by increasing offset. See Pagination and limits.

Match states

Every match carries a state, and that object is where the live detail sits. It holds the state itself as description, the period currently being played, clock as the current minute of that period, the score, and a report giving a short summary such as Final.

So a single call to this endpoint gives you a scoreboard. You do not need the detail route to show the score, the quarter and the current minute.

State Meaning
Scheduled Match has not been started yet.
In progress Game is currently in progress.
End period Break time between periods.
Half time Half time pause between second and third quarter.
Finished Match has been concluded.
Postponed Prevented from being played. The start time moves to a future moment.
Suspended Was in play and was halted. Will resume from the exact point it stopped.
Cancelled Game will not be played.
Abandoned Ended prematurely by the officials and cannot be resumed or completed, though it may be resumed later from the point it stopped.
Unknown Unknown coverage or state.

American football matches rendered in a client application

Parameters

Parameter Type Description
leagueoptional string No description in the spec.e.g. NFL
dateoptional string Date that follows the YYYY-MM-DD format.e.g. 2024-08-23
timezoneoptional stringdefault Etc/UTC Valid timezone identifier.e.g. Europe/London
seasonoptional number No description in the spec.e.g. 2024
homeTeamIdoptional number No description in the spec.e.g. 92730
awayTeamIdoptional number No description in the spec.e.g. 92731
homeTeamNameoptional string No description in the spec.e.g. Bengals
awayTeamNameoptional string No description in the spec.e.g. Colts
homeTeamAbbreviationoptional string No description in the spec.e.g. CIN
awayTeamAbbreviationoptional string No description in the spec.e.g. IND
homeTeamDisplayNameoptional string No description in the spec.e.g. Cincinnati Bengals
awayTeamDisplayNameoptional string No description in the spec.e.g. Indianapolis Colts
limitoptional numberdefault 100 No description in the spec.e.g. 100
offsetoptional numberdefault 0 No description in the spec.e.g. 0

Request

curl --request GET \
  --url 'https://american-football.highlightly.net/matches?league=NFL&date=2024-08-23' \
  --header 'x-rapidapi-key: YOUR_API_KEY'
const params = new URLSearchParams({
  league: 'NFL',
  date: '2024-08-23'
})
const response = await fetch(`https://american-football.highlightly.net/matches?${params}`, {
  headers: {
    'x-rapidapi-key': process.env.HIGHLIGHTLY_API_KEY
  }
})

if (!response.ok) {
  throw new Error(`Highlightly responded ${response.status}`)
}

const data = await response.json()
import os
import requests

response = requests.get(
    'https://american-football.highlightly.net/matches',
    params={
        'league': 'NFL',
        'date': '2024-08-23',
    },
    headers={
        'x-rapidapi-key': os.environ['HIGHLIGHTLY_API_KEY'],
    },
    timeout=10,
)

response.raise_for_status()
data = response.json()

Response

dataAmericanFootballMatchResponse[]required30 fields
idnumberrequired
roundstringrequired
datestringrequired
leaguestringrequired
seasonnumberrequired
awayTeamAmericanFootballMatchTeamResponserequired5 fields
idnumberrequired
logostring
namestring
displayNamestringrequired
abbreviationstringrequired
homeTeamAmericanFootballMatchTeamResponserequired5 fields
idnumberrequired
logostring
namestring
displayNamestringrequired
abbreviationstringrequired
stateAmericanFootballMatchStateResponserequired12 fields
periodnumberCurrent in play period.
clocknumberCurrent minute of the in play period.
descriptionstringrequiredCurrent status/description of the match.SuspendedPostponedCancelledAbandonedFinishedIn progressEnd periodHalf timeUnknownScheduled
scoreAmericanFootballMatchScoreResponserequired7 fields
currentstringHome - Away score for the match.
firstPeriodstringHome - Away score in 1st period.
secondPeriodstringHome - Away score in 2nd period.
thirdPeriodstringHome - Away score in 3rd period.
fourthPeriodstringHome - Away score in 4th period.
firstOvertimePeriodstringHome - Away score in the first overtime period.
secondOvertimePeriodstringHome - Away score in the second overtime period.
reportstringAdditional description of the match state.
paginationPaginationResponserequired3 fields
totalCountnumberrequiredAvailable number of items, relevant to the provided query.
offsetnumberrequired
limitnumberrequired
planPlanResponserequired2 fields
tierstringrequiredYour current API subscription tier.
messagestringrequiredExplanation message regarding your current tier.

Example response

200 application/json
{
  "data": [
    {
      "id": 1,
      "round": "Regular Season - 32",
      "date": "2023-05-20T15:30:00.000Z",
      "league": "NFL",
      "season": 2023,
      "awayTeam": {
        "id": 1,
        "logo": "https://example.com/logos/team/111.png",
        "name": "Saints",
        "displayName": "New Orleans Saints",
        "abbreviation": "NO"
      },
      "homeTeam": {
        "id": 1,
        "logo": "https://example.com/logos/team/111.png",
        "name": "Saints",
        "displayName": "New Orleans Saints",
        "abbreviation": "NO"
      },
      "state": {
        "period": 2,
        "clock": 8,
        "description": "In progress",
        "score": {
          "current": "21 - 7",
          "firstPeriod": "0 - 0",
          "secondPeriod": "7 - 7",
          "thirdPeriod": "7 - 0",
          "fourthPeriod": "7 - 0",
          "firstOvertimePeriod": "7 - 0",
          "secondOvertimePeriod": "7 - 0"
        },
        "report": "Final"
      }
    }
  ],
  "pagination": {
    "totalCount": 490,
    "offset": 20,
    "limit": 100
  },
  "plan": {
    "tier": "BASIC",
    "message": "Some results might be hidden with FREE tier. Check your API coverage for more information: https://rapidapi.com/highlightly-api-highlightly-api-default/api/sport-highlights-api/details"
  }
}

Values are the examples declared in the OpenAPI spec, not a captured live response.

Errors

Status Description
400 Bad request descriptive error.
500 Internal server error.