insurance

Read the 21RISK country risk score for every country, with the organization's sites and total insured value in each for an Insurance period, the way Insurance Analytics → Country risk shows it. The score is 0–100, higher is riskier, and is the highest of four parts: political violence, war, expropriation and biological hazards. An AI model gives it from public data by a fixed rubric: governments' travel advice and health notices (US, UK, German, CDC), World Bank governance scores, UCDP conflict deaths and GDELT news-coded unrest. A country is scored again when those facts change. By default it returns each country's score, parts, band, the score before it last changed, and its sites and insured value; add sites for every site's position and value, and, with countryCode, justifications, advice and history for why a country scores what it does. The scores are an indication from public sources, not underwriting advice; show the sources' attribution with them.

post/api/rpc/queryCountryRisk

Request

  • Base URL: https://21risk.com
  • URL: https://21risk.com/api/rpc/queryCountryRisk
  • Auth: OAuth 2 (client credentials, token URL /api/v1/oauth/token)

Request body

tenantunknown required
periodstring required

Name of the Insurance period whose sites and insured values to show, for example "2027". The scores are always the latest.

countryCodestring

Only this country, as an ISO 3166 alpha-2 code such as CO.

includestring[]

What to add to each country's score, insured value and site count, which are always returned: sites lists the sites with their insured value and position; justifications each part's reasoning and the facts it cites; advice each government's advice in force, in our words with a link; history every score the country has had. justifications, advice and history need countryCode. Leave it out for the smallest answer.

Response

Successful response

baseCurrency'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KRW' | 'KWD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAU' | 'XCD' | 'XDR' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL' required

The currency of every tiv.

Changes

No recorded changes to this operation across all 1 revision of this API.