GETAll countries
Every country. Paginated, 100 items per page.
/v2.2/countries/ with t=list
Try it in the interactive referenceAll Countries operations
Request
GET /v2.2/countries/?user=USER&token=TOKEN&t=list&page=1- Paginated: 100 items per page; read
meta.pagesand request the next pages withpage. - Every request needs the
userandtokenquery parameters of the account.
Parameters
| Name | Required | Description | Example |
|---|---|---|---|
page | no | Page number on paginated operations, starting at 1. The response reports meta.page and meta.pages; a page beyond the last returns an empty data. | 1 |
Example response
{
"data": [
{
"id": 136,
"name": "Africa",
"continent": "Africa",
"sub_region": null,
"code": null
},
{
"id": 9,
"name": "Algeria",
"continent": "Africa",
"sub_region": null,
"code": "dz"
}
],
"meta": {
"requests_left": 2950,
"user": "your_username",
"plan": "Soccer API 50",
"page": 1,
"pages": 2,
"count": 100,
"total": 139,
"msg": ""
}
}