IntelligenceService

GetCountryHistory

Daily country snapshots with source versions, gaps and tier-limited depth.

get/api/intelligence/v1/get-country-history

Request

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

Query parameters

countrystring required

Assigned ISO alpha-2 country code.

daysinteger

UTC days including today; 0 defaults to 7. Verified limits: free 7, Pro 90, API/Enterprise 365.

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

countrystring
requestedDaysinteger
allowedDaysinteger
effectiveDaysinteger
returnedDaysinteger
upstreamUnavailableboolean

True on failed reads or before activation.

staleboolean

True if unavailable or over 36 hours since publication.

fetchedAtinteger

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

Changes

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