APIEndpoint referencePlayers
/v2/players
List players
List players
Query Parameters
limit?integer
Maximum resources to return; defaults to 25
Range
1 <= value <= 100Default
25after?string
Opaque cursor for the next page
before?string
Opaque cursor for the previous page
q?string
Case-insensitive name search
Length
length <= 100teamId?string
Filter by current team
Match
^[1-9][0-9]*$countrySlug?string
Filter by country
Length
length <= 100Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/v2/players"{ "data": [ { "country": { "alpha2": "string", "name": "string", "slug": "string" }, "gender": "string", "heightCm": 0, "id": "string", "jerseyNumber": 0, "name": "string", "position": "string", "preferredFoot": "string", "shortName": "string", "slug": "string", "team": { "id": "string", "name": "string", "slug": "string" } } ], "links": { "next": "string", "previous": "string", "self": "string" }, "page": { "hasNext": true, "hasPrevious": true, "limit": 0, "nextCursor": "string", "previousCursor": "string" }}