Players

National team

GET/v2/players/{id}/national-teamAll plans

A player’s record for each national team he has played for, senior and youth: caps, goals and the day of his debut.

An empty array for a player who has not played for a national team (or whose record the source does not keep).

Parameters

id
pathrequired
our numeric id (positive integer)

Response

data
NationalTeamRecord[]
meta
count

Every /v2 call can also answer the common errors.

Try it →
$ curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/players/{id}/national-team"
Example
{ "data": [ { "team": { "id": 412, "name": "England", "code": "ENG", … }, "appearances": 59, "goals": 19, "debut": "2020-10-08T00:00:00.000Z" } ],
  "meta": { "count": 1 } }