We use cookies for essential functions & analytics. Privacy · Terms

</>
REST API · JSON · 99.9% SLA

World Safety Index API

A travel safety data API covering 187 countries in real time. Power your app, insurance product, or booking platform with real-time safety intelligence.

187 countries828 citiesReal-time data7-year historyWebhooksFree tier
GET /v1/countries/thailand

REQUEST

curl -H "Authorization: Bearer YOUR_API_KEY" \
  https://api.worldsafetyindex.com/v1/countries/thailand

RESPONSE

{
  "id": "thailand",
  "name": "Thailand",
  "flag_emoji": "🇹🇭",
  "safety_score": 62,
  "travel_advisory": "Exercise Increased Caution",
  "crime_score": 58,
  "terrorism_safety_score": 78,
  "healthcare_score": 70,
  "road_safety_score": 42,
  "solo_female_score": 61,
  "lgbtq_safety_score": 65,
  "digital_nomad_score": 82,
  "updated_at": "2026-05-25T07:00:00Z"
}

API Endpoints

GET/v1/countriesList all 187 countries with safety scores
GET/v1/countries/{id}Full safety profile for a specific country
GET/v1/citiesCity-level safety data (828 cities)
GET/v1/cities/{id}Full safety profile for a specific city
GET/v1/advisoriesCurrent travel advisories for all countries
GET/v1/incidentsRecent community-reported safety incidents
POST/v1/scoreCalculate custom safety score with your weightings
GET/v1/history/{country_id}Historical safety scores (7-year archive)

Simple Pricing

Free
Free
1,000 calls/month
  • 1,000 API calls/month
  • Country safety scores
  • Travel advisories
  • JSON responses
  • Community support
Starter
$49/mo
25,000 calls/month
  • 25,000 calls/month
  • All Free features
  • City-level data
  • Historical scores
  • Email support
  • Rate limit: 100 req/sec
MOST POPULAR
Professional
$199/mo
250,000 calls/month
  • 250,000 calls/month
  • All Starter features
  • Real-time incidents
  • Webhook events
  • Priority support
  • SLA 99.9%
Enterprise
Custom
Unlimited calls
  • Unlimited calls
  • All Pro features
  • Custom endpoints
  • Dedicated infra
  • 24/7 support
  • Custom SLA
  • On-prem option

Who uses the WSI API?

🏦

Insurance companies

Risk-based premium pricing using country scores

✈️

Airlines & booking platforms

Safety badges on search results and destination pages

💼

Corporate travel managers

Employee destination risk assessments in real time

📱

Travel apps

Power your app with real-time safety data

🗞️

Media companies

Real-time safety data for travel journalism

🎓

Academic researchers

Free tier for university research (apply separately)

Get Your API Key

Free tier available instantly. Paid plans typically activated within 2 hours.

Offline data synced

187 countries, 250 cities ready offline