GET Country by ID

GET Country by ID

1
https://soccer.sportmonks.com/api/v2.0/country/{ID}
Copied!
Endpoint details
Pagination
YES
Allowed nested includes
2
Authorization
API Key

Parameters

Available parameters
page
The number of the page you want to browse. Can be used by adding &page=2 etc to your request url.
include
Enrich the API with more data and/or nested includes. Can be used by adding &include= etc. to your request url.

Include options

leagues continent covid
Includes are the cornerstone of our API and allow you to enrich and customize your requests. This flexibility is what distinguishes us from our competitors.
You can learn more about what includes are and how they work here:

Example response

Request
Response
1
https://soccer.sportmonks.com/api/v2.0/countries/2?api_token={API_TOKEN}
Copied!
1
"data": {
2
"id": 2,
3
"name": "Poland",
4
"image_path": "https://cdn.sportmonks.com/images/countries/png/short/pl.png",
5
"extra": {
6
"continent": "Europe",
7
"sub_region": "Eastern Europe",
8
"world_region": "EMEA",
9
"fifa": "POL",
10
"iso": "POL",
11
"iso2": "PL",
12
"longitude": "19.37775993347168",
13
"latitude": "52.147850036621094",
14
"flag": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"1280\" height=\"800\" viewBox=\"0 0 16 10\"><path fill=\"#fff\" d=\"M0 0h16v10h-16z\"/><path fill=\"#dc143c\" d=\"M0 5h16v5h-16z\"/></svg>\n"
15
}
16
}
Copied!
Check this endpoint in Postman.
Export as PDF
Copy link