Skip to main content
GET
GetCountryHistory

Authorizations

X-WorldMonitor-Key
string
header
required

User-issued WorldMonitor API key.

Query Parameters

country
string
required

Assigned ISO alpha-2 country code.

Pattern: ^[A-Z]{2}$
days
integer<int32>

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

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

country
string
requestedDays
integer<int32>
allowedDays
integer<int32>
effectiveDays
integer<int32>
returnedDays
integer<int32>
points
object[]
upstreamUnavailable
boolean

True on failed reads or before activation.

stale
boolean

True if unavailable or over 36 hours since publication.

fetchedAt
integer<int64>

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