StatsHub Docs
APIEndpoint referenceTeams

/v2/teams

List teams

GET
/api/v2/teams

List teams

Query Parameters

limit?integer

Maximum resources to return; defaults to 25

Range1 <= value <= 100
Default25
after?string

Opaque cursor for the next page

before?string

Opaque cursor for the previous page

q?string

Case-insensitive name search

Lengthlength <= 100
countrySlug?string

Filter by country

Lengthlength <= 100
national?string

Filter national sides

Value in

  • "true"
  • "false"

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v2/teams"
{  "data": [    {      "colors": {        "primary": "string",        "secondary": "string",        "text": "string"      },      "country": {        "alpha2": "string",        "name": "string",        "slug": "string"      },      "gender": "string",      "id": "string",      "name": "string",      "national": true,      "shortName": "string",      "slug": "string"    }  ],  "links": {    "next": "string",    "previous": "string",    "self": "string"  },  "page": {    "hasNext": true,    "hasPrevious": true,    "limit": 0,    "nextCursor": "string",    "previousCursor": "string"  }}