Fast JSON API for OneFootball data - live scores, fixtures, results, match events, lineups, statistics, competitions, teams, players, transfers and search.
Includes 100 free calls per month
After the free quota, standard per-request pricing applies via x402 (USDC on Base).
Requests (30d)
113
Avg latency
219ms
Uptime
100.0%
Returns details for a competition.
Request schema
Response schema
Returns the fixtures for a competition.
Request schema
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"url": {
"type": "string"
},
"datetime": {
"type": "string"
},
"timePeriod": {
"type": "null"
},
"period": {
"type": "string"
},
"status": {
"type": "object",
"properties": {
"isCancelled": {
"type": "boolean"
},
"isPostponed": {
"type": "boolean"
},
"isStarted": {
"type": "boolean"
},
"isInProgress": {
"type": "boolean"
},
"isFinished": {
"type": "boolean"
},
"isFinishedAfterPenalties": {
"type": "boolean"
}
}
},
"homeTeam": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"image": {
"type": "string"
}
}
},
"awayTeam": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"image": {
"type": "string"
}
}
}
}
}
}
}
}
}Returns the knockout bracket (stages with matches) for a competition.
Request schema
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"datetime": {
"type": "string"
},
"timePeriod": {
"type": "string"
},
"period": {
"type": "string"
},
"status": {
"type": "object",
"properties": {
"isCancelled": {
"type": "boolean"
},
"isPostponed": {
"type": "boolean"
},
"isStarted": {
"type": "boolean"
},
"isInProgress": {
"type": "boolean"
},
"isFinished": {
"type": "boolean"
},
"isFinishedAfterPenalties": {
"type": "boolean"
}
}
},
"homeTeam": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"image": {
"type": "string"
},
"score": {
"type": "string"
}
}
},
"awayTeam": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"image": {
"type": "string"
},
"score": {
"type": "string"
}
}
},
"url": {
"type": "string"
}
}
}
}
}
}
}Returns the alphabetical index of all competitions.
Request schema
{
"type": "object",
"properties": {}
}Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"letter": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}Returns all competitions for a letter.
Request schema
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"url": {
"type": "string"
}
}
}
}Returns the results for a competition.
Request schema
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"matches": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"url": {
"type": "string"
},
"datetime": {
"type": "string"
},
"timePeriod": {
"type": "string"
},
"period": {
"type": "string"
},
"status": {
"type": "object",
"properties": {
"isCancelled": {
"type": "boolean"
},
"isPostponed": {
"type": "boolean"
},
"isStarted": {
"type": "boolean"
},
"isInProgress": {
"type": "boolean"
},
"isFinished": {
"type": "boolean"
},
"isFinishedAfterPenalties": {
"type": "boolean"
}
}
},
"homeTeam": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"image": {
"type": "string"
},
"score": {
"type": "string"
}
}
},
"awayTeam": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"image": {
"type": "string"
},
"score": {
"type": "string"
}
}
}
}
}
}
}
}
}Returns the standings table for a competition. Supports single tables and multi-group tables.
Request schema
Response schema
Returns the transfers for a competition.
Request schema
Response schema
{
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"url": {
"type": "string"
},
"player": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"position": {
"type": "string"
},
"image": {
"type": "string"
}
}
},
"transferDatetime": {
"type": "string"
},
"price": {
"type": [
"string",
"null"
]
},
"teamOld": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
},
"teamNew": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"image": {
"type": "string"
}
}
}
}
}
}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/onefootball/v1/competition/details?competition_id=10" \
-d '{"competition_id":10}'Or call the proxy directly (curl / any HTTP client):
curl https://proxy.apihub.io/onefootball/v1/competition/details?competition_id=10 \
-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 OneFootball.