Published on March 8, 2026
FC Barcelona Current Squad Data — Free API 2026
Access the current FC Barcelona squad data for free via REST API in 2026. Get player names, positions, shirt numbers, and nationalities with a single GET request.
Get the FC Barcelona Squad for Free
The Barça API exposes the full current squad of FC Barcelona through a single endpoint. You get structured JSON data with every registered player — name, position, shirt number, and nationality — updated for the 2025/26 season.
This is available completely free with no authentication required.
The Squad Endpoint
GET /api/squad
Example request:
curl https://api.fc-barcelona.app/api/squad
Example response:
{
"data": [
{
"id": 1,
"name": "Marc-André ter Stegen",
"number": 1,
"position": "GK",
"nationality": "Germany",
"isCaptain": false
},
{
"id": 19,
"name": "Lamine Yamal",
"number": 19,
"position": "FW",
"nationality": "Spain",
"isCaptain": false
},
{
"id": 10,
"name": "Gavi",
"number": 30,
"position": "MF",
"nationality": "Spain",
"isCaptain": false
}
]
}
Filter by Position
You can filter the squad by position using the position query parameter:
| Value | Description |
|---|---|
GK |
Goalkeepers |
DF |
Defenders |
MF |
Midfielders |
FW |
Forwards |
Example — get only forwards:
curl https://api.fc-barcelona.app/api/squad?position=FW
Player Data Fields
Each player object contains:
- id — Unique database ID
- name — Full player name
- number — Shirt number
- position — Position code (GK, DF, MF, FW)
- nationality — Country of nationality
- isCaptain — Whether the player is the team captain
Get Individual Players
To fetch a specific player, use the player endpoint with the player's database ID:
GET /api/player/:id
curl https://api.fc-barcelona.app/api/player/9
This returns the same fields but for a single player — useful when you already know the ID from a squad list call.
Use Cases
The squad endpoint is perfect for:
- Fantasy football apps — Build a squad selector with real Barça players
- Learning projects — Practice working with real-world JSON APIs
- Dashboards — Display the current squad in a web or mobile app
- Bots — Power a Discord or Telegram bot with player info
- Data journalism — Analyze squad composition, nationality distribution
Try It in the Terminal
The interactive terminal lets you explore squad data with simple commands:
visitor@barca-api:~$ /squad
visitor@barca-api:~$ /squad FW
visitor@barca-api:~$ /player 19
No code needed — just type and see real data instantly.
Read the Full Docs
Browse the API documentation for the complete schema, request examples, and response specifications for every endpoint.