Returns information from your requested country ID.
Last updated
https://api.sportmonks.com/v3/core/countries/{ID}
{"data": {"id":462,"continent_id":1,"name":"United Kingdom","official_name":"United Kingdom of Great Britain and Northern Ireland","fifa_name":"ENG,NIR,SCO,WAL","iso2":"GB","iso3":"GBR","latitude":"54.56088638305664","longitude":"-2.2125117778778076","geonameid":2635167,"borders": ["IRL" ],"image_path":"https://cdn.sportmonks.com/images//countries/png/short/gb.png" },
Field
Description
Type
id
Refers to the id of the country
integer
continent_id
Refers to the continent of the country
integer
name
Displays the name of the country
string
official_name
Displays the officiel name of the country
string
fifa_name
Displays the official fifa shortcode name of the country
string
iso2
Returns the two letter country code
string
iso3
Returns the three letter country code
string
latitude
Returns the official latitude position of the country
string
longitude
Returns the official longitude position of the country
string
geonameid
Returns the official geonameid
integer
border
Returns all the neighbour countries of the country
string
image_path
Returns the image path of the country
string
Query Parameters
Required?
Description
api_token
YES
Your unique API token
include
NO
Enrich the API with more data by using includes
select
NO
filters
NO
Filter the API response on multiple related entities. There are static filters and dynamic filters.
Please find the possibilities in the Static and Dynamic Filter tab.
Not applicable for this endpoint.
Not applicable for this endpoint.
Pagination
No
Include depth
You can use a total of 2 nested includes on this endpoint
var unirest = require('unirest');
var req = unirest('GET', 'https://api.sportmonks.com/v3/core/countries/{ID}?api_token={your_token}')
.end(function (res) {
if (res.error) throw new Error(res.error);
console.log(res.raw_body);
});