GetCountryStockIndex
GetCountryStockIndex retrieves the primary stock index for a country from Yahoo Finance.
Authorizations
User-issued WorldMonitor API key.
Query Parameters
ISO 3166-1 alpha-2 country code (e.g., "US", "GB", "JP").
US, GB, DE, FR, JP, CN, HK, IN, KR, TW, AU, BR, CA, MX, AR, RU, ZA, SA, AE, IL, TR, PL, NL, CH, ES, IT, SE, NO, SG, TH, MY, ID, PH, NZ, EG, CL, PE, AT, BE, FI, DK, IE, PT, CZ, HU 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
GetCountryStockIndexResponse contains the country's primary stock index data.
Whether stock index data is available for this country.
ISO 3166-1 alpha-2 country code.
Ticker symbol (e.g., "^GSPC").
Index name (e.g., "S&P 500").
Latest closing price.
Weekly change percentage.
Currency of the index.
When the data was fetched (ISO 8601).
