Country

GET /riskscores/country/{code}/

Get country with current risk scores.

Path parameters

  • code string Required

    Country code

Responses

  • 200

    A single Country with current risk scores.

    Hide response attributes Show response attributes object
    • name string

      Country name.

    • code string

      Country code.

      Minimum length is 3, maximum length is 3.

    • riskscores array[object]
      Hide riskscores attributes Show riskscores attributes
      • model string

        Risk score model (see values below) or custom model (if you have access to bespoke risk scores).

        Values are aml, esg, sdg, sovereign, or supplychainrisk.

      • Model risk category from very low to very high risk.

        Values are Very Low, Low, High, or Very High.

      • timestamp string(date)

        Date.

      • score number

        Model risk score where higher values indicate higher risk with the exception of the SDG Index where a higher value indicates better SDG performance.

GET /riskscores/country/{code}/
curl \
 -X GET https://app.countryrisk.io/api/v1/riskscores/country/aut/ \
 -H "Authorization: $API_KEY"
Response examples (200)
{
  "name": "Sweden",
  "code": "SWE",
  "riskscores": [
    {
      "timestamp": "2021-12-31",
      "model": "sovereign",
      "score": 11.12,
      "riskClassificationCategorical": "Very Low"
    },
    {
      "timestamp": "2021-12-31",
      "model": "esg",
      "score": 11.71,
      "riskClassificationCategorical": "Very Low"
    },
    {
      "timestamp": "2021-11-19",
      "model": "aml",
      "score": 3.98,
      "riskClassificationCategorical": "Very Low"
    },
    {
      "timestamp": "2021-08-31",
      "model": "sdg",
      "score": 85.61,
      "riskClassificationCategorical": "Very low"
    },
    {
      "timestamp": "2022-04-10",
      "model": "supplychainrisk",
      "score": 4.82,
      "riskClassificationCategorical": "Very low"
    }
  ]
}