Get country details
Returns a single country with all latest indicator values.
get/api/v1/countries/{id}
Request
- Base URLhttps://statisticsoftheworld.com
- Authnone declared
Path parameters
idstring required
Example:USA
ISO 3166-1 alpha-3 country code (e.g., USA, CAN, GBR)
Response
Country with indicators
Example response
{
"country": {
"id": "USA",
"name": "United States",
"region": "North America",
"incomeLevel": "High income",
"capitalCity": "Washington D.C.",
"iso2": "US"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.