GetFoodStocks
GetFoodStocks returns per-country and WORLD cereal stocks-to-use from the seeded USDA PSD snapshot. PRO-gated. Requires entitlement tier >= 1.
Authorizations
User-issued WorldMonitor API key.
Query Parameters
ISO 3166-1 alpha-2, or WORLD. Empty returns the unfiltered snapshot.
Commodity slug (wheat, corn, rice, soybeans, barley, palmOil). Empty = all.
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
GetFoodStocksResponse is the filtered seed snapshot.
ISO-8601 time the seeder wrote resilience:food-stocks:v1. Empty when unavailable.
True when the seed is missing or unreadable (not a confirmed zero).
Calorie-weighted stocks-to-use for the requested country, or 0 when unknown / unfiltered.
