Country Risk API
Travel and security risk for every country, as JSON. Advisory level, regional warnings, political stability, crime and terrorism severity, and health risks. From $19 a month.
What “country risk” means here
Risk to people who travel to a country or work in it. Not sovereign credit risk. Not sanctions screening. If you need to know whether it is safe to send someone to Colombia next month, this is the right API. If you need Colombia's bond rating, it isn't.
What risk data you get
| Risk | Endpoint | Source | Returns |
|---|---|---|---|
| Overall risk level | /v1/advisory | U.S. State Department | Level 1 to 4, the label, and the reasons given |
| Regional risk | /v1/advisory | U.S. State Department | States, provinces and border areas with their own level |
| Governance and stability | /v1/political-stability | World Bank | Six scores from 0 to 100, including rule of law and corruption control |
| Crime, terrorism, kidnapping | /v1/traveler-impact | Rated from the State Department advisory | Severity from 0 to 10 for each, plus consular support |
| Health | /v1/vaccinations | CDC | Required and recommended vaccines, malaria, health notices |
| What changed | /v1/changes | U.S. State Department | Countries whose level moved in a date range |
Two more endpoints help with bulk work. /v1/countries-by-level lists every country at one level, and /v1/compare returns two to four countries in one response.
One country, two calls
These are the real responses for Colombia. The longer text fields are left out.
GET /v1/political-stability?code=CO
{
"country": { "code": "CO", "name": "Colombia", "flag": "🇨🇴" },
"rule_of_law": 48.2793409,
"control_of_corruption": 41.8189955,
"political_stability": 48.9109961,
"government_effectiveness": 50.4306866,
"voice_accountability": 58.5038192,
"regulatory_quality": 52.0988682,
"year": "2025"
}GET /v1/traveler-impact?code=CO
{
"country": { "code": "CO", "name": "Colombia", "slug": "colombia" },
"advisory_level": 3,
"traveler_impact": {
"solo": "high",
"business": "moderate",
"family": "high",
"remote": "moderate"
},
"consular_support": {
"availability": "normal",
"evacuation": "available",
"limited_services": false
},
"severity": {
"terrorism": 5,
"kidnapping": 3,
"crime": 8,
"overall": 7.5
}
}Build your own risk score
The API returns the inputs and leaves the weighting to you. An insurer, a tour operator and an HR team care about different things. This function is a reasonable start. It uses the same scaling as the rankings on this site.
// A 0 to 100 country risk score. Higher is safer.
// Colombia, from the responses above:
// 0.5 * 33.3 + 0.25 * 48.9 + 0.25 * 25 = 35.1
function countryScore(level, politicalStability, overallSeverity) {
// Level 1 = 100, Level 4 = 0
const advisory = ((4 - level) / 3) * 100;
// Severity runs 0 to 10. Flip it so higher is safer.
const severity = ((10 - overallSeverity) / 10) * 100;
return 0.5 * advisory + 0.25 * politicalStability + 0.25 * severity;
}Want to see scores like this for every country first? The safest countries ranking and the most dangerous countries ranking are built from this data.
Pricing
| Plan | Price | Calls per month |
|---|---|---|
| Starter | $19 a month | 1,200 |
| Standard | $29 a month | 2,400 |
| Pro | $59 a month | 5,000 |
Every plan includes all thirteen endpoints and 60 requests a minute. Need more calls? Email api@traveladvisory.io.
Limits you should know about
- The advisory level is the U.S. government's view. Other governments rate some countries differently.
- World Bank scores are annual. They describe a country's institutions, not last week's events.
- No Freedom House data. Their license doesn't cover resale, so the API leaves it out.
How to start
The integration guide walks through the first request, the response, and how to keep the data current.
Get country risk data in your product
Plans start at $19 a month. Your key shows on screen right after checkout, with a copy sent by email.