Skip to main content
GET
GetCountryFacts

Authorizations

X-WorldMonitor-Key
string
header
required

User-issued WorldMonitor API key.

Query Parameters

country_code
string
required

ISO 3166-1 alpha-2 country code for the facts lookup.

Pattern: ^[A-Z]{2}$
jmespath
string

Optional JMESPath expression applied server-side to project or reduce the JSON response before it is returned (mirrors the MCP jmespath argument). Invalid expressions, expressions larger than 1024 UTF-8 bytes, or projections that exceed the 256 KB output cap return HTTP 400 with a {_jmespath_error, original_keys} envelope. Grammar and worked examples: https://www.worldmonitor.app/docs/mcp-jmespath.

Response

Successful response

headOfState
string
headOfStateTitle
string
wikipediaSummary
string
wikipediaThumbnailUrl
string
population
integer<int64>

Warning: Values > 2^53 may lose precision in JavaScript

capital
string
languages
string[]
currencies
string[]
areaSqKm
number<double>
countryName
string