Sports
Fbref logo

Fbref API

fbref.com

Fbref - football statistics for players, clubs, squads, and competitions.

Actions
4
Category
Sports
Login
Not required
Output
JSON

Call the Fbref API

Submit a task, then poll the job until it settles. This example runs act_fbref_search_index_clubs.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_fbref_search_index_clubs",
    "params": {}
  }'

4 actions on fbref.com

Read

  • Search Clubs

    act_fbref_search_index_clubsread1 credit / call

    Returns all clubs with names, countries, and league associations for lookup.

  • Search Competitions

    act_fbref_search_index_competitionsread1 credit / call

    Returns all leagues and tournaments with names, countries, and season spans.

  • Search Direct Links

    act_fbref_search_index_direct_linksread1 credit / call

    Returns quick-navigation links to players, clubs, and competitions.

  • Search Players

    act_fbref_search_index_playersread1 credit / call

    Returns all players with names, career spans, nationalities, and teams for lookup.

Fbref API questions

Is there an API for Fbref?
Fbref does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for fbref.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Fbref data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when fbref.com changes its markup, Anakin updates the action.
Do I need a Fbref account?
No. Every Fbref action listed here runs anonymously — no account and no credentials required.
What does the Fbref API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Sports APIs

All Sports sites