IntelligenceService

GetCountryFacts

GetCountryFacts retrieves factual country data from Wikidata and Wikipedia.

get/api/intelligence/v1/get-country-facts

Request

  • Base URL: https://api.worldmonitor.app
  • URL: https://api.worldmonitor.app/api/intelligence/v1/get-country-facts
  • Auth: one of:
    • API key in header X-WorldMonitor-Key
    • API key in header X-Api-Key

Query parameters

country_codestring required

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

jmespathstring

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

OK

headOfStatestring
headOfStateTitlestring
wikipediaSummarystring
wikipediaThumbnailUrlstring
populationinteger

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

capitalstring
languagesstring[]
currenciesstring[]
areaSqKmnumber double
countryNamestring

Changes

No recorded changes to this operation across all 1 revision of this API.