Countries by ID
GET https://soccer.sportmonks.com/api/v2.0/countries/:COUNTRY_ID
Introduction
The Countries endpoint provides you Country information like for example its Flag, IsoCode, Continent and other related Country information.
The Countries endpoint also helps you with assigning Leagues to the Country they belong to. If for example, you want to show the Leagues per Country on your website/app, this might be a useful endpoint for you by using the Leagues Include.
Pagination
NO - Indicates if this endpoint contains pagination.
Nested Includes
2 - You can add a maximum of 2 levels of nested includes.
Includes Options
leagues
continent
covid
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
include | null |
RESPONSES
status: OK
{"data":{"id":320,"name":"Denmark","image_path":"https://cdn.sportmonks.com/images/countries/png/short/dk.png","extra":{"continent":"Europe","sub_region":"Northern Europe","world_region":"EMEA","fifa":"DEN","iso":"DNK","iso2":"DK","longitude":"9.555907249450684","latitude":"56.10176086425781","flag":"\u003csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"370\" height=\"280\"\u003e\u003cpath fill=\"#c60c30\" d=\"M0 0h370v280h-370z\"/\u003e\u003cpath fill=\"#fff\" d=\"M120 0h40v280h-40zM0 120h370v40h-370z\"/\u003e\u003c/svg\u003e\n"}},"meta":{"subscription":{"started_at":{"date":"2019-09-02 09:52:14.000000","timezone_type":3,"timezone":"UTC"},"trial_ends_at":{"date":"2019-09-16 09:52:10.000000","timezone_type":3,"timezone":"UTC"},"ends_at":null},"plan":{"name":"PostMan Plan","price":"25.00","request_limit":"2000,60"},"sports":[{"id":1,"name":"Soccer","current":true}]}}