v1

latestSwagger 2.0Agriya Infoway Licence2026-07-1716286204.2 KB
Country

Fetch country

Returns a country based on a single ID

get/countries/{countryId}

Path parameters

countryIdinteger required

ID of country to fetch

Query parameters

tokenstring string required

OAuth token

Response

Fetched country

idinteger
created_atstring
updated_atstring
iso_alpha2string
iso_alpha3string
iso_numericinteger
fips_codestring
namestring
capitalstring
areainsqkmnumber float
populationinteger
continentstring
tldstring
currencystring
currencynamestring
phonestring
postalcodeformatstring
postalcoderegexstring
languagesstring
geonameidinteger
neighboursstring
equivalentfipscodestring