Skip to main content
GET
GetRouteImpact

Authorizations

X-WorldMonitor-Key
string
header
required

User-issued WorldMonitor API key.

Query Parameters

fromIso2
string
required

ISO 3166-1 alpha-2 origin country code for the route.

Pattern: ^[A-Z]{2}$
toIso2
string
required

ISO 3166-1 alpha-2 destination country code for the route.

Pattern: ^[A-Z]{2}$
hs2
string
required

HS2 chapter code for the product sector on the route.

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

laneValueUsd
number<double>
primaryExporterIso2
string
primaryExporterShare
number<double>
topStrategicProducts
object[]
resilienceScore
number<double>
dependencyFlags
enum<string>[]

DependencyFlag classifies how a country+sector dependency can fail.

Available options:
DEPENDENCY_FLAG_UNSPECIFIED,
DEPENDENCY_FLAG_SINGLE_SOURCE_CRITICAL,
DEPENDENCY_FLAG_SINGLE_CORRIDOR_CRITICAL,
DEPENDENCY_FLAG_COMPOUND_RISK,
DEPENDENCY_FLAG_DIVERSIFIABLE
hs2InSeededUniverse
boolean
comtradeSource
string
fetchedAt
string