Barça API
BlogBarcelona Top Scorers API — Free Goal Rankings for 2026

Published on March 21, 2026

Barcelona Top Scorers API — Free Goal Rankings for 2026

Get the top scorers for La Liga and Champions League for free via the Barça API in 2026. Goals, assists, penalties, and match count — no API key needed.


Top Scorers Data for Free

The Barça API provides top scorer rankings for La Liga and the UEFA Champions League through a simple GET endpoint. You get each player's goals, assists, penalties, and matches played — all in one clean JSON response.

No API key. No account. Completely free.

The Scorers Endpoint

GET /api/scorers

Query Parameters

Parameter Type Default Description
competition LAL | UCL LAL Competition to filter by
season number current season Season year (e.g. 2025 for 2025-26)

Example request:

curl https://api.fc-barcelona.app/api/scorers?competition=LAL

Example response:

{
  "data": [
    {
      "rank": 1,
      "playerName": "Robert Lewandowski",
      "team": "Barcelona",
      "goals": 22,
      "assists": 5,
      "penalties": 4,
      "playedMatches": 28,
      "competition": "La Liga",
      "competitionShortName": "LAL",
      "teamImageUrl": "https://api.fc-barcelona.app/teams/barcelona.png"
    },
    {
      "rank": 2,
      "playerName": "Kylian Mbappé",
      "team": "Real Madrid",
      "goals": 18,
      "assists": 4,
      "penalties": 3,
      "playedMatches": 27,
      "competition": "La Liga",
      "competitionShortName": "LAL",
      "teamImageUrl": "https://api.fc-barcelona.app/teams/real-madrid.png"
    }
  ],
  "meta": {
    "cached_at": "2026-03-21T12:00:00.000Z",
    "cache_expires_at": "2026-03-22T12:00:00.000Z"
  }
}

Players are returned in descending order by goals scored.

Scorers Data Fields

Field Description
rank Position in the ranking (1 = top scorer)
playerName Player's full name
team Team name
goals Total goals scored
assists Total assists
penalties Goals scored from penalties
playedMatches Number of matches played
competition Full competition name
competitionShortName Short code (LAL or UCL)
teamImageUrl URL to the team's logo

Building a Top Scorers Table

const response = await fetch('https://api.fc-barcelona.app/api/scorers');
const { data } = await response.json();

data.forEach(scorer => {
  console.log(`${scorer.rank}. ${scorer.playerName} (${scorer.team}) — ${scorer.goals} goals`);
});

Champions League Scorers

Switch to UCL data by passing the competition parameter:

GET /api/scorers?competition=UCL

Try It in the Terminal

You can also explore scorers data using the interactive terminal with the /scorers command:

/scorers         — La Liga top scorers
/scorers UCL     — Champions League top scorers

API Docs

View the full documentation for schema details, CORS configuration, and rate limit information.

Back to blog