Skip to main content
GET
/
games
/
allscores
List Games
curl --request GET \
  --url https://v1.football.sportsapipro.com/games/allscores \
  --header 'x-api-key: <api-key>'
⚠️ Deprecated β€” This is a V1 Legacy endpoint. We strongly recommend migrating to the Football V2 API.

Endpoint

GET https://v1.football.sportsapipro.com/games/allscores

Description

Returns all matches for a specified date range. This is the primary endpoint for fetching match data including live scores, scheduled fixtures, completed results, betting odds, and team information.
Built-in TTL: 5 seconds for optimal live data freshness. No manual caching required.

Parameters

ParameterTypeRequiredDefaultDescription
startDatestringYes-Start date in DD/MM/YYYY format
endDatestringYes-End date in DD/MM/YYYY format
sportsnumberNo-Sport ID to filter (1 = Football)
showOddsbooleanNofalseInclude betting odds data
onlyLiveGamesbooleanNofalseFilter to only live matches
onlyMajorGamesbooleanNofalseFilter to major/popular games only
withTopbooleanNofalseInclude top competitions marker
topBookmakernumberNo14Bookmaker ID for odds (14 = Bet365)
competitionsstringNo-⚠️ Not honored - see note below
lastUpdateIdnumberNo-For incremental updates (returns only changes since this ID)
The competitions parameter is NOT honored by this endpoint. Even when specified, the response will include games from ALL competitions within the date range. For competition-specific queries, use /games/fixtures or /games/results instead.
The lastUpdateId parameter enables efficient polling by returning only data that changed since the specified update ID. Parameters like appTypeId, langId, timezoneName, and userCountryId are auto-resolved by the upstream service. You can override timezoneName with a specific timezone (e.g., America/New_York). All startTime fields use ISO 8601 format with a dynamic timezone offset.

Date Range Limitations

Wide date ranges may return empty game arrays. When querying large date ranges (e.g., months), the endpoint may return only metadata (competitions, countries) without games. For reliable data retrieval:
  • Use single-day or small date ranges (1-3 days recommended)
  • For historical data backfills, use /games/fixtures or /games/results with pagination

Request Examples

curl -X GET "https://v1.football.sportsapipro.com/games/allscores?startDate=18/12/2025&endDate=18/12/2025&sports=1&showOdds=true&onlyMajorGames=true&withTop=true" \
  -H "x-api-key: YOUR_API_KEY"
Timezone Note: The startTime in responses uses ISO 8601 format with a timezone offset that reflects either the auto-resolved user timezone or your specified timezoneName parameter. See Timezone Handling for details.

Response

{
  "lastUpdateId": 5494796687,
  "requestedUpdateId": -1,
  "ttl": 5,
  "summary": {},
  "sports": [
    {
      "id": 1,
      "name": "Football",
      "nameForURL": "football",
      "drawSupport": true,
      "imageVersion": 1
    }
  ],
  "countries": [
    {
      "id": 1,
      "name": "England",
      "totalGames": 2,
      "liveGames": 0,
      "nameForURL": "england",
      "imageVersion": 1
    },
    {
      "id": 19,
      "name": "Europe",
      "totalGames": 18,
      "liveGames": 0,
      "nameForURL": "europe",
      "imageVersion": 1,
      "isInternational": true
    }
  ],
  "competitions": [
    {
      "id": 7685,
      "createdAt": "2021-05-31T10:38:19.033",
      "countryId": 19,
      "sportId": 1,
      "name": "UEFA Conference League",
      "shortName": "Conference League",
      "hasStandings": true,
      "hasLiveStandings": false,
      "hasStandingsGroups": false,
      "hasBrackets": true,
      "nameForURL": "uefa-conference-league",
      "totalGames": 18,
      "liveGames": 0,
      "popularityRank": 7655344,
      "hasActiveGames": true,
      "isTop": true,
      "imageVersion": 6,
      "currentStageType": 1,
      "color": "#1D1D1D",
      "currentPhaseName": "Main",
      "currentSeasonNum": 6,
      "currentStageNum": 5,
      "isInternational": true
    }
  ],
  "games": [
    {
      "id": 4631972,
      "sportId": 1,
      "competitionId": 7674,
      "seasonNum": 12,
      "stageNum": 5,
      "groupNum": 2,
      "roundName": "Round",
      "groupName": "3rd Place",
      "competitionDisplayName": "FIFA Arab Cup - 3rd Place",
      "startTime": "2025-12-18T11:00:00+00:00",
      "statusGroup": 3,
      "statusText": "Halftime",
      "shortStatusText": "HT",
      "gameTimeAndStatusDisplayType": 1,
      "justEnded": false,
      "gameTime": 45.0,
      "gameTimeDisplay": "45'",
      "hasLineups": true,
      "hasMissingPlayers": true,
      "hasFieldPositions": true,
      "lineupsStatus": 3,
      "lineupsStatusText": "Lineups",
      "hasTVNetworks": false,
      "hasBetsTeaser": true,
      "winDescription": "Weather delay",
      "odds": {
        "lineId": 1643767251,
        "gameId": 4631972,
        "bookmakerId": 14,
        "lineTypeId": 1,
        "lineType": {
          "id": 1,
          "name": "Full Time Result",
          "shortName": "1X2",
          "title": "Full Time Result"
        },
        "link": "https://www.bet365.com/olp/open-account?affiliate=365_01303661",
        "bookmaker": {
          "id": 14,
          "name": "Bet365",
          "link": "https://extra.bet365.com/features/en/sports-live-streaming",
          "nameForURL": "bet365",
          "actionButton": {
            "link": "https://www.bet365.com/olp/open-account",
            "label": "Bet Now"
          },
          "color": "#007B5B",
          "imageVersion": 3,
          "promotionText": "Sign up at bet365 today"
        },
        "options": [
          {
            "num": 1,
            "name": "1",
            "rate": {
              "decimal": 2.5,
              "fractional": "3/2",
              "american": "+150"
            },
            "oldRate": {
              "decimal": 2.4,
              "fractional": "7/5",
              "american": "+140"
            },
            "originalRate": {
              "decimal": 2.0,
              "fractional": "1/1",
              "american": "+100"
            },
            "prematchRate": {
              "decimal": 2.15,
              "fractional": "7/6",
              "american": "+115"
            },
            "trend": 3
          },
          {
            "num": 2,
            "name": "X",
            "rate": {
              "decimal": 2.2,
              "fractional": "6/5",
              "american": "+120"
            },
            "trend": 1
          },
          {
            "num": 3,
            "name": "2",
            "rate": {
              "decimal": 4.75,
              "fractional": "7/2",
              "american": "+375"
            },
            "trend": 3
          }
        ]
      },
      "homeCompetitor": {
        "id": 5087,
        "countryId": 122,
        "sportId": 1,
        "name": "Saudi Arabia",
        "longName": "ArΓ‘bia Saudita",
        "symbolicName": "KSA",
        "score": 0.0,
        "isQualified": false,
        "toQualify": false,
        "isWinner": false,
        "nameForURL": "saudi-arabia",
        "type": 2,
        "popularityRank": 14830,
        "imageVersion": 1,
        "rankings": [
          {
            "name": "FIFA",
            "position": 60
          }
        ],
        "color": "#0B5648",
        "awayColor": "#F9FAF9",
        "mainCompetitionId": 5438,
        "hasSquad": true,
        "hasTransfers": false,
        "competitorNum": 1
      },
      "awayCompetitor": {
        "id": 5089,
        "countryId": 124,
        "sportId": 1,
        "name": "UAE",
        "symbolicName": "UAE",
        "score": 0.0,
        "isQualified": false,
        "toQualify": false,
        "isWinner": false,
        "nameForURL": "uae",
        "type": 2,
        "popularityRank": 4681,
        "imageVersion": 1,
        "rankings": [
          {
            "name": "FIFA",
            "position": 67
          }
        ],
        "color": "#FFFFFF",
        "awayColor": "#000000",
        "mainCompetitionId": 5438,
        "hasSquad": true,
        "hasTransfers": false,
        "competitorNum": 2
      },
      "hasStats": true,
      "hasStandings": false,
      "standingsName": "Groups",
      "hasBrackets": true,
      "hasPreviousMeetings": false,
      "hasRecentMatches": false,
      "hasBets": true,
      "hasPlayerBets": false,
      "winner": 0,
      "hasNews": true,
      "hasPointByPoint": false,
      "hasVideo": false
    }
  ],
  "bookmakers": [
    {
      "id": 14,
      "name": "Bet365",
      "link": "https://extra.bet365.com/features/en/sports-live-streaming",
      "nameForURL": "bet365",
      "actionButton": {
        "link": "https://www.bet365.com/olp/open-account",
        "label": "Bet Now"
      },
      "color": "#007B5B",
      "imageVersion": 3,
      "promotionText": "Sign up at bet365 today"
    }
  ]
}

Response Fields

Root Object

FieldTypeDescription
lastUpdateIdnumberInternal versioning ID for incremental updates
requestedUpdateIdnumberRequested update ID (-1 = latest)
ttlnumberCache TTL in seconds (5 for this endpoint)
summaryobjectSummary statistics (may be empty)
sportsarraySports definitions array
countriesarrayCountries with game counts
competitionsarrayCompetition details
gamesarrayMatch data with scores and odds
bookmakersarrayAvailable bookmaker information

Game Status Groups

statusGroupMeaningDescription
1ScheduledNot started yet
2Live (1st Half)In progress - first half, or pre-match warm-up
3Live (2nd Half)In progress - second half, extra time, or halftime
4EndedMatch finished (Full Time, After Extra Time, After Penalties)
5PostponedMatch postponed
6CancelledMatch cancelled
To filter for all live games, check for statusGroup === 2 || statusGroup === 3. Both values indicate the match is currently in progress.

Game Object Fields

FieldTypeDescription
idnumberUnique game identifier
sportIdnumberSport ID (1 = Football)
competitionIdnumberCompetition this game belongs to
seasonNumnumberSeason number
stageNumnumberStage number in competition
groupNumnumberGroup number (for group stage)
roundNumnumberRound number
roundNamestringRound display name
groupNamestringGroup name (e.g., β€œ3rd Place”)
competitionDisplayNamestringFull competition display name
startTimestringScheduled start time (ISO 8601 with timezone offset based on auto-resolved or specified timezone)
statusGroupnumberGame status category
statusTextstringHuman-readable status
shortStatusTextstringAbbreviated status text
gameTimeAndStatusDisplayTypenumberDisplay type for time/status
justEndedbooleanWhether game just finished
gameTimenumberCurrent minute (for live games)
gameTimeDisplaystringFormatted game time (e.g., β€œ45β€™β€œ)
hasLineupsbooleanWhether lineups are available
hasMissingPlayersbooleanWhether missing players info exists
hasFieldPositionsbooleanWhether field positions available
lineupsStatusnumberLineup availability status
lineupsStatusTextstringLineup status text
hasTVNetworksbooleanWhether TV info available
hasBetsTeaserbooleanWhether betting teaser available
winDescriptionstringSpecial description (delays, etc.)
oddsobjectBetting odds data
homeCompetitorobjectHome team details
awayCompetitorobjectAway team details
hasStatsbooleanWhether statistics available
hasStandingsbooleanWhether standings available
standingsNamestringStandings display name
hasBracketsbooleanWhether brackets available
hasPreviousMeetingsbooleanWhether H2H data available
hasRecentMatchesbooleanWhether recent match data available
hasBetsbooleanWhether betting available
hasPlayerBetsbooleanWhether player bets available
winnernumberWinner (0=none, 1=home, 2=away)
hasNewsbooleanWhether news available
hasVideobooleanWhether video available

Competitor Object

FieldTypeDescription
idnumberTeam ID
countryIdnumberCountry ID
sportIdnumberSport ID
namestringTeam name
longNamestringExtended official name
symbolicNamestring3-letter code (e.g., β€œKSA”)
scorenumberCurrent score
isQualifiedbooleanWhether team qualified
toQualifybooleanWhether team needs to qualify
isWinnerbooleanWhether team is winner
nameForURLstringURL-friendly name
typenumberType (1=club, 2=national team)
popularityRanknumberPopularity ranking
imageVersionnumberLogo image version
rankingsarrayOfficial rankings (e.g., FIFA)
colorstringPrimary brand color (hex)
awayColorstringAway kit color (hex)
mainCompetitionIdnumberPrimary competition ID
hasSquadbooleanWhether squad data available
hasTransfersbooleanWhether transfer data available
competitorNumnumber1=home, 2=away

Odds Object

FieldTypeDescription
lineIdnumberUnique betting line ID
gameIdnumberAssociated game ID
bookmakerIdnumberBookmaker ID
lineTypeIdnumberBet type ID (1=Full Time Result)
lineTypeobjectBet type details
linkstringBookmaker bet link
bookmakerobjectBookmaker information
optionsarrayBetting options (1, X, 2)

Odds Option Object

FieldTypeDescription
numnumberOption number (1, 2, 3)
namestringOption label (β€œ1”, β€œX”, β€œ2”)
rateobjectCurrent odds rate
oldRateobjectPrevious odds rate
originalRateobjectOpening odds rate
prematchRateobjectPre-match odds rate
trendnumber1=decreased, 2=unchanged, 3=increased

Odds Rate Formats

FieldTypeDescription
decimalnumberDecimal odds (e.g., 2.5)
fractionalstringUK fractional format (e.g., β€œ3/2”)
americanstringAmerican odds (e.g., β€œ+150”)

Country Object

FieldTypeDescription
idnumberCountry ID
namestringCountry name
totalGamesnumberTotal games for date range
liveGamesnumberCurrently live games
nameForURLstringURL-friendly name
imageVersionnumberFlag image version
isInternationalbooleanWhether international (e.g., Europe)

Competition Object

FieldTypeDescription
idnumberCompetition ID
countryIdnumberCountry ID
sportIdnumberSport ID
namestringCompetition name
shortNamestringAbbreviated name
hasStandingsbooleanWhether standings available
hasLiveStandingsbooleanWhether live standings available
hasStandingsGroupsbooleanWhether grouped standings
hasBracketsbooleanWhether brackets available
nameForURLstringURL-friendly name
totalGamesnumberTotal games for date range
liveGamesnumberCurrently live games
popularityRanknumberPopularity ranking
hasActiveGamesbooleanWhether has active games
isTopbooleanWhether top/featured competition
imageVersionnumberLogo image version
currentStageTypenumberCurrent stage type
colorstringBrand color (hex)
currentPhaseNamestringCurrent phase name
currentSeasonNumnumberCurrent season number
currentStageNumnumberCurrent stage number
isInternationalbooleanWhether international competition
createdAtstringCompetition creation timestamp

Team Logo URL

https://v1.football.sportsapipro.com/images/competitors/{teamId}?imageVersion={imageVersion}

Country Flag URL

https://v1.football.sportsapipro.com/images/countries/{countryId}?imageVersion={imageVersion}

Competition Logo URL

https://v1.football.sportsapipro.com/images/competitions/{competitionId}?imageVersion={imageVersion}

Authorizations

x-api-key
string
header
required

Your SportsAPI Pro API key

Query Parameters

startDate
string
required

Start date in DD/MM/YYYY format

Example:

"18/12/2025"

endDate
string
required

End date in DD/MM/YYYY format

Example:

"18/12/2025"

sports
integer

Sport ID (1 = Football)

Example:

1

showOdds
boolean

Include betting odds data

Example:

true

onlyMajorGames
boolean

Filter to major/popular games only

Example:

true

Response

200

Games list retrieved successfully