← Back to marketplace

OneFootball

Fast JSON API for OneFootball data - live scores, fixtures, results, match events, lineups, statistics, competitions, teams, players, transfers and search.

other
by Mark829 endpoints100% uptime91ms avg

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%

Endpoints

GET/v1/competition/details
$0.0010/req

Returns details for a competition.

Request schema

competition_idintegerrequired

Response schema

idinteger
namestring
imagestring
urlnull
GET/v1/competition/fixtures
$0.0010/req

Returns the fixtures for a competition.

Request schema

competition_idintegerrequired

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"
                }
              }
            }
          }
        }
      }
    }
  }
}
GET/v1/competition/knockout-tree
$0.0010/req

Returns the knockout bracket (stages with matches) for a competition.

Request schema

competition_idintegerrequired

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"
            }
          }
        }
      }
    }
  }
}
GET/v1/competition/letters
$0.0010/req

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"
      }
    }
  }
}
GET/v1/competition/list
$0.0010/req

Returns all competitions for a letter.

Request schema

letterstringrequired

Response schema

{
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "integer"
      },
      "name": {
        "type": "string"
      },
      "url": {
        "type": "string"
      }
    }
  }
}
GET/v1/competition/results
$0.0010/req

Returns the results for a competition.

Request schema

competition_idintegerrequired

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"
                }
              }
            }
          }
        }
      }
    }
  }
}
GET/v1/competition/table
$0.0010/req

Returns the standings table for a competition. Supports single tables and multi-group tables.

Request schema

competition_idintegerrequired

Response schema

hasGroupsboolean
groupsarray
GET/v1/competition/transfers
$0.0010/req

Returns the transfers for a competition.

Request schema

competition_idintegerrequired

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"
          }
        }
      }
    }
  }
}

Quick start

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)

Pricing calculator

Estimate your monthly cost for OneFootball.

GET /v1/competition/details$0.0010/req
-
GET /v1/competition/fixtures$0.0010/req
-
GET /v1/competition/knockout-tree$0.0010/req
-
GET /v1/competition/letters$0.0010/req
-
GET /v1/competition/list$0.0010/req
-
GET /v1/competition/results$0.0010/req
-
GET /v1/competition/table$0.0010/req
-
GET /v1/competition/transfers$0.0010/req
-
GET /v1/match/details$0.0010/req
-
GET /v1/match/events$0.0010/req
-
GET /v1/match/form-guide$0.0010/req
-
GET /v1/match/lineup$0.0010/req
-
GET /v1/match/list$0.0010/req
-
GET /v1/match/live$0.0010/req
-
GET /v1/match/prediction$0.0010/req
-
GET /v1/match/stats$0.0010/req
-
GET /v1/player/details$0.0010/req
-
GET /v1/player/seasons$0.0010/req
-
GET /v1/player/stats$0.0010/req
-
GET /v1/search$0.0010/req
-
GET /v1/team/competitions$0.0010/req
-
GET /v1/team/details$0.0010/req
-
GET /v1/team/fixtures$0.0010/req
-
GET /v1/team/letters$0.0010/req
-
GET /v1/team/list$0.0010/req
-
GET /v1/team/results$0.0010/req
-
GET /v1/team/squad$0.0010/req
-
GET /v1/team/transfers$0.0010/req
-
GET /v1/transfer/details$0.0010/req
-