World Monitor Scorecard Service API
The ScorecardService API from World Monitor, for scorecardservice.
The ScorecardService API from World Monitor, for scorecardservice.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/worldmonitor-app:worldmonitor-app-scorecardservice-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: WorldMonitor Scorecard Service API
description: 'Unified OpenAPI bundle spanning all WorldMonitor services. Versioning and deprecation policy: https://www.worldmonitor.app/api-versioning.md (HTML: https://www.worldmonitor.app/docs/api-versioning)'
contact:
name: WorldMonitor
email: support@worldmonitor.app
version: 1.0.0
servers:
- url: https://api.worldmonitor.app
security:
- WorldMonitorKey: []
- ApiKeyHeader: []
tags:
- name: ScorecardService
paths:
/api/scorecard/v1/get-five-factor-scorecard:
get:
tags:
- ScorecardService
description: Returns one country's 1-5 scores for food, energy, demographics, technology and defense, with per-pillar input evidence and coverage.
operationId: GetFiveFactorScorecard
security: []
parameters:
- name: countryCode
in: query
description: ISO 3166-1 alpha-2 country code for the requested scorecard.
required: true
example: US
schema:
type: string
pattern: ^[A-Z]{2}$
- $ref: '#/components/parameters/J'
responses:
'200':
description: OK
content:
application/json:
example:
scorecard:
computedAt: '2026-01-15T12:00:00Z'
countryCode: US
methodologyVersion: 1.0.0
pillars:
- aggregationMethod: country-weighted-components
band: mixed-capability
excludedMembers:
- countryCode: US
reason: source-unavailable
hasScore: true
includedMembers:
- US
inputCoverage: 1
inputs:
- available: true
countryCode: ''
hasValue: true
inputId: example-id
observations:
- indicatorCode: IT.NET.USER.ZS
name: internetUsePercent
source: World Bank
unit: percent
value: 92.4
year: 2025
quality: observed
source: example
sourceKey: example
unavailableReason: ''
unit: example
value: 1.5
year: 1
insufficientReasons:
- source-unavailable
memberWeights:
- countryCode: US
hasPopulation: true
populationMillions: 1.5
pillar: food
score: 3
subScore: 42.5
unavailable: false
unavailableReason: ''
schema:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_GetFiveFactorScorecardResponse'
'400':
$ref: '#/components/responses/400'
'429':
$ref: '#/components/responses/429'
default:
$ref: '#/components/responses/DEF'
summary: Get five factor scorecard
x-summary-source: derived
/api/scorecard/v1/list-five-factor-scorecards:
get:
tags:
- ScorecardService
description: Returns pillar scores, bands and input coverage for every country in the seeded five-factor snapshot, plus methodology version.
operationId: ListFiveFactorScorecards
security: []
parameters:
- name: jmespath
in: query
description: 1024 UTF-8 bytes, 256 KB output cap.
schema:
type: string
responses:
'200':
description: OK
content:
application/json:
example:
computedAt: '2026-01-15T12:00:00Z'
methodologyVersion: 1.0.0
scorecards:
- countryCode: US
pillars:
- band: mixed-capability
hasScore: true
inputCoverage: 1
insufficientReasons:
- source-unavailable
pillar: food
score: 3
subScore: 42.5
unavailable: false
unavailableReason: ''
schema:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_ListFiveFactorScorecardsResponse'
'400':
$ref: '#/components/responses/400'
'429':
$ref: '#/components/responses/429'
default:
$ref: '#/components/responses/DEF'
summary: List five factor scorecards
x-summary-source: derived
/api/scorecard/v1/get-bloc-scorecard:
get:
tags:
- ScorecardService
description: Aggregates five-factor pillar scores for a preset bloc such as EU27, NATO or BRICS, or 2-30 custom countries, listing excluded members.
operationId: GetBlocScorecard
security: []
parameters:
- name: preset
in: query
description: 'Official bloc preset: USMCA, EU27, BRICS, GCC, ASEAN, or NATO. Values are case-sensitive. Omit when members is provided.'
example: NATO
schema:
type: string
pattern: ^(?:|USMCA|EU27|BRICS|GCC|ASEAN|NATO)$
- name: members
in: query
description: Custom list of 2-30 unique uppercase ISO 3166-1 alpha-2 members. Provide either preset or members; do not provide both.
style: form
explode: true
example:
- US
schema:
type: array
items:
type: string
pattern: ^[A-Z]{2}$
minItems: 2
maxItems: 30
uniqueItems: true
- $ref: '#/components/parameters/J'
x-worldmonitor-selector-one-of:
- preset
- members
responses:
'200':
description: OK
content:
application/json:
example:
scorecard:
computedAt: '2026-01-15T12:00:00Z'
excludedMembers:
- countryCode: US
reason: source-unavailable
id: example-id
includedMembers:
- US
label: example
members:
- US
methodologyVersion: 1.0.0
pillars:
- aggregationMethod: country-weighted-components
band: mixed-capability
excludedMembers:
- countryCode: US
reason: source-unavailable
hasScore: true
includedMembers:
- US
inputCoverage: 1
inputs:
- available: true
countryCode: ''
hasValue: true
inputId: example-id
observations:
- indicatorCode: IT.NET.USER.ZS
name: internetUsePercent
source: World Bank
unit: percent
value: 92.4
year: 2025
quality: observed
source: example
sourceKey: example
unavailableReason: ''
unit: example
value: 1.5
year: 1
insufficientReasons:
- source-unavailable
memberWeights:
- countryCode: US
hasPopulation: true
populationMillions: 1.5
pillar: food
score: 3
subScore: 42.5
unavailable: false
unavailableReason: ''
schema:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_GetBlocScorecardResponse'
'400':
$ref: '#/components/responses/400'
'429':
$ref: '#/components/responses/429'
default:
$ref: '#/components/responses/DEF'
summary: Get bloc scorecard
x-summary-source: derived
components:
schemas:
WM109:
required:
- scorecard
properties:
unavailable:
const: false
unavailableReason:
const: ''
worldmonitor_scorecard_v1_FiveFactorCountryScorecard:
type: object
properties:
countryCode:
type: string
pattern: ^[A-Z]{2}$
methodologyVersion:
type: string
const: 1.0.0
computedAt:
type: string
pillars:
$ref: '#/components/schemas/WM125'
required:
- computedAt
- countryCode
- methodologyVersion
- pillars
worldmonitor_scorecard_v1_FiveFactorBlocScorecard:
type: object
properties:
id:
type: string
label:
type: string
methodologyVersion:
type: string
const: 1.0.0
computedAt:
type: string
members:
type: array
items:
type: string
pattern: ^[A-Z]{2}$
includedMembers:
type: array
items:
type: string
pattern: ^[A-Z]{2}$
excludedMembers:
$ref: '#/components/schemas/WM115'
pillars:
$ref: '#/components/schemas/WM125'
required:
- computedAt
- excludedMembers
- id
- includedMembers
- label
- members
- methodologyVersion
- pillars
WM125:
type: array
items:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_FiveFactorPillar'
JmespathProjectionError:
description: Returned when a REST jmespath projection is invalid or exceeds the expression/output byte limits.
properties:
_jmespath_error:
description: Projection error discriminator and details.
type: string
original_keys:
description: Top-level keys or shape of the unprojected response.
items:
type: string
type: array
required:
- _jmespath_error
- original_keys
type: object
ValidationError:
type: object
properties:
violations:
type: array
items:
$ref: '#/components/schemas/FieldViolation'
description: List of validation violations
required:
- violations
description: Is returned when request validation fails. It contains a list of field violations describing what went wrong.
worldmonitor_scorecard_v1_GetBlocScorecardResponse:
type: object
properties:
scorecard:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_FiveFactorBlocScorecard'
unavailable:
type: boolean
unavailableReason:
type: string
pattern: ^(?:|bloc-members-unavailable|scorecard-snapshot-unavailable)$
required:
- unavailable
- unavailableReason
oneOf:
- $ref: '#/components/schemas/WM109'
- not:
required:
- scorecard
properties:
unavailable:
const: true
unavailableReason:
enum:
- bloc-members-unavailable
- scorecard-snapshot-unavailable
worldmonitor_scorecard_v1_FiveFactorPillarSummary:
type: object
properties:
pillar:
type: string
pattern: ^(?:food|energy|demographics|technology|defense)$
hasScore:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_FiveFactorPillar/properties/hasScore'
score:
type: integer
maximum: 5
minimum: 0
format: int32
subScore:
type: number
maximum: 100
minimum: 0
format: double
band:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_FiveFactorPillar/properties/band'
inputCoverage:
$ref: '#/components/schemas/WM73'
insufficientReasons:
$ref: '#/components/schemas/WM80'
required:
- band
- hasScore
- inputCoverage
- insufficientReasons
- pillar
- score
- subScore
FieldViolation:
type: object
properties:
field:
type: string
description: The field path that failed validation (e.g., 'user.email' for nested fields). For header validation, this will be the header name (e.g., 'X-API-Key')
description:
type: string
description: Human-readable description of the validation violation (e.g., 'must be a valid email address', 'required field missing')
required:
- field
- description
description: Describes a single validation error for a specific field.
worldmonitor_scorecard_v1_ExcludedBlocMember:
type: object
properties:
countryCode:
type: string
pattern: ^[A-Z]{2}$
reason:
type: string
pattern: ^(?:source-unavailable|country-unavailable|invalid-value|stale|coverage-below-floor|required-group-missing|missing-population|redistribution-blocked)$
required:
- countryCode
- reason
GatewayError:
type: object
description: Returned by gateway infrastructure errors before an RPC handler runs, such as origin, routing, method, authentication, or quota checks.
properties:
error:
oneOf:
- type: string
- type: object
additionalProperties: true
description: Gateway error reason or structured gateway failure details.
required:
- error
worldmonitor_scorecard_v1_ListFiveFactorScorecardsResponse:
type: object
properties:
scorecards:
type: array
items:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_FiveFactorCountryScorecardSummary'
unavailable:
type: boolean
unavailableReason:
type: string
pattern: ^(?:|scorecard-snapshot-unavailable)$
methodologyVersion:
type: string
pattern: ^(?:|1\.0\.0)$
computedAt:
type: string
required:
- computedAt
- methodologyVersion
- scorecards
- unavailable
- unavailableReason
oneOf:
- properties:
unavailable:
const: false
unavailableReason:
const: ''
methodologyVersion:
const: 1.0.0
- properties:
unavailable:
const: true
unavailableReason:
const: scorecard-snapshot-unavailable
methodologyVersion:
const: ''
computedAt:
const: ''
scorecards:
maxItems: 0
Error:
type: object
properties:
message:
type: string
description: Error message (e.g., 'user not found', 'database connection failed')
description: Is returned when a handler encounters an error. It contains a simple error message that the developer can customize.
WM73:
type: number
maximum: 1
minimum: 0
format: double
WM80:
type: array
items:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_ExcludedBlocMember/properties/reason'
worldmonitor_scorecard_v1_FiveFactorPillar:
type: object
properties:
pillar:
type: string
pattern: ^(?:food|energy|demographics|technology|defense)$
hasScore:
type: boolean
description: Read before score and sub_score. When false, both numeric zeros are protobuf placeholders for insufficient data.
score:
type: integer
maximum: 5
minimum: 0
format: int32
subScore:
type: number
maximum: 100
minimum: 0
format: double
band:
type: string
pattern: ^(?:|severe-deficit|material-deficit|mixed-capability|strong-capability|high-capability)$
inputCoverage:
$ref: '#/components/schemas/WM73'
aggregationMethod:
type: string
pattern: ^(?:country-weighted-components|aggregate-physical-inputs|population-weighted-continuous-score)$
inputs:
type: array
items:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_ScorecardEvidence'
insufficientReasons:
$ref: '#/components/schemas/WM80'
includedMembers:
type: array
items:
type: string
pattern: ^[A-Z]{2}$
excludedMembers:
$ref: '#/components/schemas/WM115'
memberWeights:
type: array
items:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_ScorecardMemberWeight'
required:
- aggregationMethod
- band
- excludedMembers
- hasScore
- includedMembers
- inputCoverage
- inputs
- insufficientReasons
- memberWeights
- pillar
- score
- subScore
WM115:
type: array
items:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_ExcludedBlocMember'
worldmonitor_scorecard_v1_GetFiveFactorScorecardResponse:
type: object
properties:
scorecard:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_FiveFactorCountryScorecard'
unavailable:
type: boolean
unavailableReason:
type: string
pattern: ^(?:|country-unavailable|scorecard-snapshot-unavailable)$
required:
- unavailable
- unavailableReason
oneOf:
- $ref: '#/components/schemas/WM109'
- not:
required:
- scorecard
properties:
unavailable:
const: true
unavailableReason:
enum:
- country-unavailable
- scorecard-snapshot-unavailable
worldmonitor_scorecard_v1_ScorecardMemberWeight:
type: object
properties:
countryCode:
type: string
pattern: ^[A-Z]{2}$
populationMillions:
type: number
minimum: 0
format: double
description: Population in millions used by population-weighted components.
hasPopulation:
type: boolean
description: Read before population_millions; false means the numeric zero is a placeholder.
required:
- countryCode
- hasPopulation
- populationMillions
worldmonitor_scorecard_v1_FiveFactorCountryScorecardSummary:
type: object
properties:
countryCode:
type: string
pattern: ^[A-Z]{2}$
pillars:
type: array
items:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_FiveFactorPillarSummary'
required:
- countryCode
- pillars
RateLimitError:
type: object
description: Returned when a gateway or handler rate limit rejects the request.
properties:
error:
type: string
description: Human-readable rate-limit failure reason.
required:
- error
worldmonitor_scorecard_v1_ScorecardObservation:
type: object
properties:
name:
type: string
value:
type: number
format: double
year:
type: integer
maximum: 2200
minimum: 1900
format: int32
unit:
type: string
source:
type: string
indicatorCode:
type: string
required:
- indicatorCode
- name
- source
- unit
- value
- year
worldmonitor_scorecard_v1_ScorecardEvidence:
type: object
properties:
inputId:
type: string
available:
type: boolean
value:
type: number
format: double
hasValue:
type: boolean
year:
type: integer
maximum: 2200
minimum: 0
format: int32
unit:
type: string
source:
type: string
sourceKey:
type: string
unavailableReason:
type: string
pattern: ^(?:|source-unavailable|country-unavailable|invalid-value|stale|coverage-below-floor|required-group-missing|missing-population|redistribution-blocked)$
quality:
type: string
pattern: ^(?:|observed|retained|derived)$
observations:
type: array
items:
$ref: '#/components/schemas/worldmonitor_scorecard_v1_ScorecardObservation'
countryCode:
type: string
pattern: ^(?:|[A-Z]{2})$
description: ISO-2 member that supplied this evidence. Empty only on a country scorecard.
required:
- available
- countryCode
- hasValue
- inputId
- observations
- quality
- source
- sourceKey
- unavailableReason
- unit
- value
- year
responses:
'429':
description: Rate limit exceeded.
headers:
X-RateLimit-Limit:
description: Maximum requests allowed in the active rate-limit window.
schema:
type: string
X-RateLimit-Remaining:
description: Requests remaining in the active rate-limit window.
schema:
type: string
X-RateLimit-Reset:
description: Unix epoch milliseconds when the active rate-limit window resets.
schema:
type: string
Retry-After:
description: Seconds to wait before retrying the request.
schema:
type: string
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/Error'
- $ref: '#/components/schemas/RateLimitError'
'400':
description: Validation error
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/ValidationError'
- $ref: '#/components/schemas/JmespathProjectionError'
DEF:
description: Gateway or handler error response.
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/Error'
- $ref: '#/components/schemas/GatewayError'
parameters:
J:
name: jmespath
in: query
description: '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.'
example: keys(@)
schema:
type: string
securitySchemes:
WorldMonitorKey:
type: apiKey
in: header
name: X-WorldMonitor-Key
description: User-issued WorldMonitor API key.
ApiKeyHeader:
type: apiKey
in: header
name: X-Api-Key
description: Alias header for the WorldMonitor API key (X-WorldMonitor-Key).
BearerAuth:
type: http
scheme: bearer
description: 'Bearer token: a Clerk-issued JWT for browser session flows, passed as Authorization: Bearer <token>.'