SoccersAPIDocs
DocsReferenceSearch › Search countries

GETSearch countries

Countries whose name matches q, with country code.

/v2.2/search/ with t=country

Try it in the interactive referenceAll Search operations

Request

GET /v2.2/search/?user=USER&token=TOKEN&t=country&q=austria

Parameters

NameRequiredDescriptionExample
qyesSearch text: part of a team, league, player, referee, country, continent or TV channel name. At least 3 characters; shorter terms return 400.salzburg

Example response

{
  "data": [
    {
      "id": 15,
      "name": "Austria",
      "cc": "at",
      "type": "country"
    },
    {
      "id": 16,
      "name": "Austria Amateur",
      "cc": null,
      "type": "country"
    }
  ],
  "meta": {
    "requests_left": 2950,
    "user": "your_username",
    "plan": "Soccer API 50",
    "page": 1,
    "pages": 1,
    "count": 0,
    "total": 0,
    "msg": ""
  }
}