Skip to main content
GET
/
api
/
resilience
/
v1
/
get-resilience-score
GetResilienceScore
curl --request GET \
  --url https://api.example.com/api/resilience/v1/get-resilience-score
{
  "countryCode": "<string>",
  "overallScore": 123,
  "level": "<string>",
  "domains": [
    {
      "id": "<string>",
      "score": 123,
      "weight": 123,
      "dimensions": [
        {
          "id": "<string>",
          "score": 123,
          "coverage": 123,
          "observedWeight": 123,
          "imputedWeight": 123,
          "imputationClass": "<string>",
          "freshness": {
            "lastObservedAtMs": "<string>",
            "staleness": "<string>"
          }
        }
      ]
    }
  ],
  "trend": "<string>",
  "change30d": 123,
  "lowConfidence": true,
  "imputationShare": 123,
  "baselineScore": 123,
  "stressScore": 123,
  "stressFactor": 123,
  "dataVersion": "<string>",
  "scoreInterval": {
    "p05": 123,
    "p95": 123
  },
  "pillars": [
    {
      "id": "<string>",
      "score": 123,
      "weight": 123,
      "coverage": 123,
      "domains": [
        {
          "id": "<string>",
          "score": 123,
          "weight": 123,
          "dimensions": [
            {
              "id": "<string>",
              "score": 123,
              "coverage": 123,
              "observedWeight": 123,
              "imputedWeight": 123,
              "imputationClass": "<string>",
              "freshness": {
                "lastObservedAtMs": "<string>",
                "staleness": "<string>"
              }
            }
          ]
        }
      ]
    }
  ],
  "schemaVersion": "<string>",
  "headlineEligible": true
}

Documentation Index

Fetch the complete documentation index at: https://worldmonitor.app/docs/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

countryCode
string
required

Response

Successful response

countryCode
string
overallScore
number<double>
level
string
domains
object[]
trend
string
change30d
number<double>
lowConfidence
boolean
imputationShare
number<double>
baselineScore
number<double>
stressScore
number<double>
stressFactor
number<double>
dataVersion
string
scoreInterval
object
pillars
object[]
schemaVersion
string

Phase 2 T2.1/T2.3: "2.0" is the current default (adds pillars; keeps overall_score / baseline_score / etc. populated for backward compat). "1.0" is the legacy opt-out shape (pillars empty) retained for one release cycle. Controlled at response build time by the RESILIENCE_SCHEMA_V2_ENABLED env flag (defaults to "true" → v2).

headlineEligible
boolean

Plan 2026-04-26-002 §U3 (PR 2) — eligibility flag for headline ranking inclusion. PR 2 introduces the field populated true for every country (no behavior change). PR 6 / §U7 swaps the population logic to coverage ≥ 0.65 AND (population ≥ 200k OR coverage ≥ 0.85) AND !lowConfidence; the headline ranking endpoint then filters by headlineEligible: true. Raw API endpoints keep returning the full set unfiltered. Widget consumes the field starting in PR 6 to show a "Low confidence — outside headline ranking" badge for headlineEligible: false countries on country detail pages.