Real-time travel advisories, disaster alerts, and risk scores for 200+ countries. One API call away.
$ curl -H "X-API-Key: demo-key-travel-risk-2026" \
https://travelriskapi.com/api/v1/countries/AFG
Built for travel companies, insurance providers, and corporate travel management platforms.
US State Department advisories updated every 6 hours. GDACS disaster alerts in real-time (minutes after detection).
Composite risk score (1-5) recalculated on every advisory or alert change, combining official levels with active disasters.
RESTful JSON API. One header for auth. Responses in <100ms. Start in 5 minutes.
Coverage for every country with ISO codes, advisory levels, and localized risk data.
Earthquakes, floods, cyclones, wildfires โ with severity, coordinates, and affected areas.
API key auth, rate limiting, CORS enabled. Built for production workloads.
Follows international standard for travel risk management. Perfect for corporate duty of care compliance.
Trusted by teams building the future of travel safety
Integrate real-time risk scores into booking flows. Meet ISO 31030 duty of care requirements with automated safety checks.
booking flow risk scores โข duty of care compliance โข pre-trip warnings
Automate pre-trip risk assessments. Send real-time alerts to travelers when conditions change.
pre-trip assessments โข real-time alerts โข traveler notifications
Dynamic pricing based on destination risk. Validate claims with historical alert data.
dynamic pricing โข claims validation โข risk underwriting
Build safety dashboards for global teams. Automate travel policies based on real-time risk levels.
safety dashboards โข policy automation โข employee protection
Latest disaster alerts from our API โ refreshed in real-time
All endpoints, parameters, and response formats
All API requests require an API key passed in the X-API-Key header.
curl -H "X-API-Key: YOUR_API_KEY" https://travelriskapi.com/api/v1/countries
Demo key for testing: demo-key-travel-risk-2026
https://travelriskapi.com/api/v1
/countries
List all countries with risk levels. Supports pagination.
Parameters: skip (default: 0), limit (default: 50, max: 100)
{
"total": 186,
"skip": 0,
"limit": 2,
"data": [
{
"iso_code": "AFG",
"name": "Afghanistan",
"advisory_level": 4,
"risk_score": 4.0,
"last_updated": "2026-03-03T22:25:33Z"
}
]
}
/countries/{iso_code}
Get detailed info for a single country including advisory description.
{
"iso_code": "AFG",
"name": "Afghanistan",
"advisory_level": 4,
"advisory_description": "Do Not Travel",
"advisory_date": "2026-01-15T00:00:00",
"risk_score": 4.5,
"last_updated": "2026-03-03T22:25:33Z"
}
/alerts
List active disaster alerts. Filterable by severity, type, and country.
Parameters: severity (Critical/High/Medium/Low), alert_type (earthquake/flood/cyclone/wildfire/volcano/drought), country_iso, skip, limit
{
"total": 384,
"skip": 0,
"limit": 2,
"filters": {"severity": null, "alert_type": null, "country_iso": null},
"data": [
{
"id": 1,
"alert_type": "earthquake",
"severity": "High",
"country_iso": "TUR",
"location": "Eastern Turkey",
"latitude": 38.5,
"longitude": 43.2,
"description": "M6.2 earthquake detected",
"event_date": "2026-03-03T18:00:00",
"created_at": "2026-03-03T22:25:00"
}
]
}
/alerts/{alert_id}
Get a single alert by ID with full details.
/risk-score/{iso_code}
Get composite risk score (1-5) for a country, combining advisory level + active alerts.
{
"iso_code": "AFG",
"name": "Afghanistan",
"risk_score": 4.75,
"advisory_level": 4,
"active_alerts": 3,
"calculation": {
"base_score": 4.0,
"alert_impact": 0.75,
"composite": 4.75
}
}
/alerts/subscribe
Subscribe to webhook alerts for specific countries or alert types. (Pro/Enterprise only)
// Request
{
"webhook_url": "https://your-app.com/webhooks/travel-alerts",
"filters": {
"country_iso": ["USA", "MEX"],
"severity": ["Critical", "High"],
"alert_type": ["earthquake", "cyclone"]
}
}
// Response
{
"subscription_id": "sub_abc123",
"webhook_url": "https://your-app.com/webhooks/travel-alerts",
"filters": {...},
"created_at": "2026-03-03T22:30:00Z"
}
/alerts/subscribe/{subscription_id}
Unsubscribe from webhook alerts.
/health
Health check endpoint (no auth required).
| Code | Meaning | When |
|---|---|---|
| 401 | Unauthorized | Missing or invalid API key |
| 404 | Not Found | Country or alert not found |
| 429 | Rate Limited | Too many requests |
| 500 | Server Error | Internal server error |
Features we're building based on customer feedback
Granular risk data for major cities, not just countries.
Multi-leg journey risk analysis with stopovers.
Vaccination requirements, disease outbreaks, health advisories.
Historical risk data and trend analysis over time.
Official libraries for Python, JavaScript, PHP, Ruby.
Branded risk assessment PDFs for client delivery.
Start free. Scale when you need to.
For testing & personal projects
For startups & growing apps
For large-scale operations
Enter your email and we'll send you a free API key instantly.
Or try the demo key right now:
demo-key-travel-risk-2026