Loading live data...

Travel Risk
Intelligence API

Real-time travel advisories, disaster alerts, and risk scores for 200+ countries. One API call away.

โœ“ ISO 31030 aligned ยท โœ“ 200+ countries ยท โœ“ Real-time GDACS data
Try it now
$ curl -H "X-API-Key: demo-key-travel-risk-2026" \
  https://travelriskapi.com/api/v1/countries/AFG

Why TravelRisk API?

Built for travel companies, insurance providers, and corporate travel management platforms.

๐Ÿ“ก

Real-time Sources

US State Department advisories updated every 6 hours. GDACS disaster alerts in real-time (minutes after detection).

๐ŸŽฏ

Risk Scoring

Composite risk score (1-5) recalculated on every advisory or alert change, combining official levels with active disasters.

โšก

Fast & Simple

RESTful JSON API. One header for auth. Responses in <100ms. Start in 5 minutes.

๐ŸŒ

200+ Countries

Coverage for every country with ISO codes, advisory levels, and localized risk data.

๐Ÿ””

Disaster Alerts

Earthquakes, floods, cyclones, wildfires โ€” with severity, coordinates, and affected areas.

๐Ÿ”

Enterprise Ready

API key auth, rate limiting, CORS enabled. Built for production workloads.

๐Ÿ“‹

ISO 31030 Aligned

Follows international standard for travel risk management. Perfect for corporate duty of care compliance.

Who Uses This

Trusted by teams building the future of travel safety

๐Ÿข

Corporate Travel Platforms

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

โœˆ๏ธ

Travel Management Companies

Automate pre-trip risk assessments. Send real-time alerts to travelers when conditions change.

pre-trip assessments โ€ข real-time alerts โ€ข traveler notifications

๐Ÿ›ก๏ธ

Insurance & Assistance

Dynamic pricing based on destination risk. Validate claims with historical alert data.

dynamic pricing โ€ข claims validation โ€ข risk underwriting

๐Ÿ‘ฅ

HR & People Teams

Build safety dashboards for global teams. Automate travel policies based on real-time risk levels.

safety dashboards โ€ข policy automation โ€ข employee protection

Live Alerts

Latest disaster alerts from our API โ€” refreshed in real-time

LIVE
Loading alerts...

API Documentation

All endpoints, parameters, and response formats

๐Ÿ”‘ Authentication

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

๐ŸŒ Base URL

https://travelriskapi.com/api/v1

๐Ÿ“‹ Endpoints

GET /countries

List all countries with risk levels. Supports pagination.

Parameters: skip (default: 0), limit (default: 50, max: 100)

Show response example โ–พ
{
  "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"
    }
  ]
}
GET /countries/{iso_code}

Get detailed info for a single country including advisory description.

Show response example โ–พ
{
  "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"
}
GET /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

Show response example โ–พ
{
  "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"
    }
  ]
}
GET /alerts/{alert_id}

Get a single alert by ID with full details.

GET /risk-score/{iso_code}

Get composite risk score (1-5) for a country, combining advisory level + active alerts.

Show response example โ–พ
{
  "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
  }
}
POST /alerts/subscribe

Subscribe to webhook alerts for specific countries or alert types. (Pro/Enterprise only)

Show request/response example โ–พ
// 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"
}
DELETE /alerts/subscribe/{subscription_id}

Unsubscribe from webhook alerts.

GET /health

Health check endpoint (no auth required).

โš ๏ธ Error Codes

CodeMeaningWhen
401UnauthorizedMissing or invalid API key
404Not FoundCountry or alert not found
429Rate LimitedToo many requests
500Server ErrorInternal server error

Coming Soon

Features we're building based on customer feedback

๐Ÿ™๏ธ City-Level Risk

Granular risk data for major cities, not just countries.

๐Ÿ›ฃ๏ธ Route Assessment

Multi-leg journey risk analysis with stopovers.

๐Ÿ’‰ Health Data

Vaccination requirements, disease outbreaks, health advisories.

๐Ÿ“Š Risk Trends

Historical risk data and trend analysis over time.

๐Ÿ“ฆ SDKs

Official libraries for Python, JavaScript, PHP, Ruby.

๐Ÿ“„ PDF Reports

Branded risk assessment PDFs for client delivery.

Simple, Transparent Pricing

Start free. Scale when you need to.

Free

For testing & personal projects

$0/mo
  • โœ“ 100 requests/day
  • โœ“ All endpoints
  • โœ“ Email support
Get Free Key
MOST POPULAR

Pro

For startups & growing apps

$99/mo
  • โœ“ 10,000 requests/day
  • โœ“ Priority support
  • โœ“ Webhook alerts
  • โœ“ Historical data
  • โœ“ SLA 99.9%
Start Free Trial

Enterprise

For large-scale operations

$499/mo
  • โœ“ Unlimited requests
  • โœ“ 24/7 support
  • โœ“ Custom integrations
  • โœ“ SOC 2 compliance
  • โœ“ On-premise option
  • โœ“ SLA 99.99%
Contact Sales

Get Your API Key

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