worldmonitor-sdk package (note: PyPI’s worldmonitor package is unrelated).
1. Install and run with worldmonitor-sdk
"Ukraine") rather than an ISO alpha-2 code: unlike /api/conflict/v1/list-ucdp-events, get_conflict_events matches country against event country names ("UA" matches risk scores by region code but drops Ukraine’s event rows):
2. Try without an API key (public discovery and sandbox)
Before issuing a key at worldmonitor.app/pro, you can test SDK connectivity via keyless MCP discovery and run credential-free HTTP smoke tests against static sandbox fixtures (or cache the JSON locally for network-isolated CI). Keep them separate in CI: anonymous MCP discovery does not consume a daily quota, but it is still IP rate-limited (10 calls/minute per IP), whereas static sandbox fixtures are safe for unlimited CI runs. Keyless MCP discovery (verify SDK setup with no API key):sandbox/index.json currently publishes a fixture for get-country-risk.json rather than ListUcdpEvents, so this validates the HTTP client and sandbox envelope rather than the UCDP event parser in Section 1):
https://www.worldmonitor.app/sandbox/index.json.
3. Direct REST call without the SDK
If you prefer plainurllib or requests, send a descriptive User-Agent and X-WorldMonitor-Key:
When to use World Monitor vs raw UCDP CSV
- Use UCDP directly (ucdp.uu.se) when you only need bulk historical CSV downloads under CC BY 4.0 for academic research and do not mind requesting a UCDP token or handling pagination yourself.
- Use World Monitor when your script or agent needs cached UCDP GED + monthly Candidate conflict events alongside GDELT escalation signals, Country Instability Index scores (
/api/intelligence/v1/get-country-risk), shipping disruptions, and server-side JMESPath projection under one API key or MCP server. - Note on ACLED: hosted
worldmonitor.appdoes not redistribute ACLED data; conflict scoring combines UCDP conflict floors with GDELT escalation ratios. See CII Risk Scoring Methodology and API Reference.
