Fast JSON API for Goal football data - live scores, fixtures, match details, lineups, statistics, predictions, competitions, teams and players.
Includes 100 free calls per month
After the free quota, standard per-request pricing applies via x402 (USDC on Base).
Returns the competition overview (competition info, standings snapshot, recent/upcoming matches, seasons and teams).
Request schema
Response schema
Returns the competition game weeks / rounds (gamesets). Each gameset provides the game_set_type_id and round id required to load its matches.
Request schema
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"active": {
"type": "boolean"
},
"gameSetTypeId": {
"type": "string"
},
"matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"startDate": {
"type": "string"
},
"lastUpdatedAt": {
"type": "string"
},
"cachedAt": {
"type": "string"
},
"competition": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"round": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"display": {
"type": "boolean"
}
}
},
"period": {
"type": "null"
},
"status": {
"type": "string"
},
"teamA": {
"$ref": "#/$defs/Def1"
},
"teamB": {
"$ref": "#/$defs/Def1"
},
"redCards": {
"type": "object",
"properties": {
"teamA": {
"type": "integer"
},
"teamB": {
"type": "integer"
}
}
},
"score": {
"type": "null"
},
"aggregateScore": {
"type": "null"
},
"penaltyScore": {
"type": "null"
},
"link": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"slug": {
"type": "string"
},
"pageType": {
"type": "string"
},
"newTab": {
"type": "null"
},
"url": {
"type": "null"
},
"follow": {
"type": "boolean"
},
"hubPath": {
"type": "null"
},
"__typename": {
"type": "string"
}
}
},
"tvChannels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"urlLink": {
"type": "object",
"properties": {
"follow": {
"type": "boolean"
},
"sponsored": {
"type": "boolean"
},
"url": {
"type": "string"
},
"wrapperProvider": {
"type": "string"
}
}
},
"logo": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"alt": {
"type": "null"
},
"width": {
"type": "null"
},
"height": {
"type": "null"
},
"credit": {
"type": "null"
}
}
}
}
}
},
"bettingOddsDetailsList": {
"type": "array"
},
"venue": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
}
}
},
"rounds": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
}
}
}
}
},
"$defs": {
"Def1": {
"properties": {
"codeName": {
"type": "string"
},
"id": {
"type": "string"
},
"image": {
"properties": {
"alt": {
"type": "null"
},
"credit": {
"type": "null"
},
"height": {
"type": "null"
},
"url": {
"type": "string"
},
"width": {
"type": "null"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
}
}
}Returns the knockout bracket for cup competitions (e.g. World Cup). Empty for league competitions.
Request schema
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"match": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"startDate": {
"type": "string"
},
"link": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"slug": {
"type": "string"
},
"pageType": {
"type": "string"
},
"newTab": {
"type": "null"
},
"url": {
"type": "null"
},
"follow": {
"type": "boolean"
},
"hubPath": {
"type": "null"
},
"__typename": {
"type": "string"
}
}
},
"venue": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"period": {
"type": "null"
},
"status": {
"type": "string"
},
"teamA": {
"$ref": "#/$defs/Def1"
},
"teamB": {
"$ref": "#/$defs/Def1"
},
"score": {
"type": "object",
"properties": {
"teamA": {
"type": "integer"
},
"teamB": {
"type": "integer"
}
}
},
"agg": {
"type": "null"
},
"penalty": {
"type": [
"object",
"null"
],
"properties": {
"teamA": {
"type": "integer"
},
"teamB": {
"type": "integer"
}
}
}
}
}
}
}
},
"phase": {
"type": "string"
}
}
},
"$defs": {
"Def1": {
"properties": {
"code": {
"type": "string"
},
"colors": {
"items": {
"properties": {
"mode": {
"type": "string"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"image": {
"properties": {
"alt": {
"type": "null"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"long": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
}
}
}Returns the matches of a single game week. Pass a game_set_type_id taken from a gameset returned by the gamesets endpoint; when it is omitted the currently active game week is returned.
Request schema
Game week id taken from the gamesets endpoint. Game set ids change every season, so leave it empty to get the currently active game week.
A game week can span several rounds. Pass multiple round ids as a comma-separated string (round_ids=a,b,c).
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"startDate": {
"type": "string"
},
"lastUpdatedAt": {
"type": "string"
},
"cachedAt": {
"type": "string"
},
"competition": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"round": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"display": {
"type": "boolean"
}
}
},
"period": {
"type": "null"
},
"status": {
"type": "string"
},
"teamA": {
"$ref": "#/$defs/Def1"
},
"teamB": {
"$ref": "#/$defs/Def1"
},
"redCards": {
"type": "object",
"properties": {
"teamA": {
"type": "integer"
},
"teamB": {
"type": "integer"
}
}
},
"score": {
"type": "null"
},
"aggregateScore": {
"type": "null"
},
"penaltyScore": {
"type": "null"
},
"link": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"slug": {
"type": "string"
},
"pageType": {
"type": "string"
},
"newTab": {
"type": "null"
},
"url": {
"type": "null"
},
"follow": {
"type": "boolean"
},
"hubPath": {
"type": "null"
},
"__typename": {
"type": "string"
}
}
},
"tvChannels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"urlLink": {
"type": "object",
"properties": {
"follow": {
"type": "boolean"
},
"sponsored": {
"type": "boolean"
},
"url": {
"type": "string"
},
"wrapperProvider": {
"type": "string"
}
}
},
"logo": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"alt": {
"type": "null"
},
"width": {
"type": "null"
},
"height": {
"type": "null"
},
"credit": {
"type": "null"
}
}
}
}
}
},
"bettingOddsDetailsList": {
"type": "array"
},
"venue": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
}
},
"$defs": {
"Def1": {
"properties": {
"codeName": {
"type": "string"
},
"id": {
"type": "string"
},
"image": {
"properties": {
"alt": {
"type": "null"
},
"credit": {
"type": "null"
},
"height": {
"type": "null"
},
"url": {
"type": "string"
},
"width": {
"type": "null"
}
},
"type": "object"
},
"name": {
"type": "string"
}
},
"type": "object"
}
}
}Returns the competition standings (overall, home and away).
Request schema
Response schema
Returns the competition top players by stat (goals, assists, cards, shots on target, fouls, tackles, offsides). Empty for competitions whose current season has no player stats yet.
Request schema
Response schema
Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call -X GET "https://proxy.apihub.io/goal/v1/competition/details?competition_id=34pl8szyvrbwcmfkuocjm3r6t" \
-d '{"competition_id":"34pl8szyvrbwcmfkuocjm3r6t"}'Or call the proxy directly (curl / any HTTP client):
curl https://proxy.apihub.io/goal/v1/competition/details?competition_id=34pl8szyvrbwcmfkuocjm3r6t \
-H "Authorization: Bearer ahk_your_key"
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for Goal.