Get country risk
get_country_riskFull NERAI risk read for one country: HMM regime state (Calm/Tension/Crisis with escalation probability and persistence), resilience score, and risk topics as percentiles of the 30-day average vs each series' own history (now / 90d ago / delta), with calibrated shock probabilities at 4/9/13/26-week horizons. Returns the 8 most elevated topics by default; set all_topics=true for all 40, or pass topic to filter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | Filter to topics matching this text (e.g. 'protest', 'military'). | |
| country | Yes | Country code (e.g. NI, IR, TU) or name (e.g. Nigeria). | |
| all_topics | No | Return all 40 risk topics instead of the top 8. |