GET
locci/geo/country/{country_slug}/
Single country record identified by slug.
Locci
Geography
Request parameters
| Name |
Type |
In |
Required |
Description |
Example |
country_slug |
String |
Path |
Yes
|
URL-friendly slug of a country (e.g. canada, united-states). When supplied, the region list is filtered to return only regions belonging to that country. Obtain valid country slugs from the country list endpoint. |
|
Response fields
| Name |
Type |
Nullable |
Description |
Example |
area |
String |
Yes
|
|
|
capital |
String |
Yes
|
|
|
continent |
String |
Yes
|
|
|
continent_id |
String |
—
|
|
|
continent_name |
String |
—
|
|
|
continent_slug |
String |
—
|
|
|
currency_code |
String |
Yes
|
|
|
currency_name |
String |
Yes
|
|
|
equivalent_fips_code |
String |
Yes
|
|
|
fips |
String |
Yes
|
|
|
iso |
String |
Yes
|
|
|
iso_3 |
String |
Yes
|
|
|
iso_numeric |
String |
Yes
|
|
|
languages |
Array |
—
|
|
|
name |
String |
Yes
|
|
|
neighbours |
String |
Yes
|
|
|
phone |
String |
Yes
|
|
|
pk |
Integer |
—
|
|
|
population |
String |
Yes
|
|
|
postal_code_format |
String |
Yes
|
|
|
postal_code_regex |
String |
Yes
|
|
|
slug |
String |
Yes
|
|
|
tld |
String |
Yes
|
|
|