How to get individual player statistics
O endpoint /players retorna dados completos de um jogador incluindo bio, estatisticas de jogo, gols, passes, dribles, duelos e cartoes.
The /players endpoint returns complete player data including bio, game stats, goals, passes, dribbles, duels and cards.
const API_KEY = 'YOUR_API_KEY';
const BASE = 'https://football.api.insyde.one';
async function getPlayer(id, season) {
const url = `${BASE}/players?id=${id}&season=${season}&key=${API_KEY}`;
const res = await fetch(url);
const data = await res.json();
return data.response[0];
}
// Memphis Depay
const player = await getPlayer(1100, 2025);
Resposta da API / API response:
{
"player": {
"id": 1100,
"name": "Memphis Depay",
"firstname": "Memphis",
"lastname": "Depay",
"age": 31,
"birth": { "date": "1994-02-13", "place": "Moordrecht", "country": "Netherlands" },
"nationality": "Netherlands",
"height": "176 cm",
"weight": "78 kg",
"photo": "https://football.api.insyde.one/football/players/1100.png"
},
"statistics": [
{
"team": { "id": 131, "name": "Corinthians" },
"league": { "id": 71, "name": "Serie A", "season": 2025 },
"games": { "appearences": 30, "minutes": 2340, "rating": "7.6" },
"goals": { "total": 15, "assists": 8 },
"shots": { "total": 86, "on": 42 },
"passes": { "total": 1200, "key": 52, "accuracy": 81 },
"dribbles": { "attempts": 124, "success": 78 },
"duels": { "total": 312, "won": 148 },
"cards": { "yellow": 4, "red": 0 }
}
]
}
player — Nome, idade, nacionalidade, altura, peso, foto / Name, age, nationality, height, weight, photostatistics[].games — Jogos, minutos, rating / Appearances, minutes, ratingstatistics[].goals — Gols e assistencias / Goals and assistsstatistics[].shots — Finalizacoes totais e no gol / Total and on-target shotsstatistics[].passes — Passes totais, chave, precisao / Total, key, accuracystatistics[].dribbles — Tentativas e sucessos / Attempts and successesstatistics[].duels — Duelos totais e vencidos / Total and wonstatistics[].cards — Amarelos e vermelhos / Yellow and redstatistics tera um item por liga.
statistics will have one entry per league.
Tambem e possivel buscar por nome usando o parametro search (minimo 4 caracteres):
const res = await fetch(
`${BASE}/players?search=memphis&league=71&season=2025&key=${API_KEY}`
);