Skip to content
IsItSafeToTravel

Free Travel Safety Data & API

Every number on this site comes from an open dataset you can download. Safety scores for 248 countries — recomputed daily from 30+ public sources — are published as static JSON files on a global CDN.

No API key, no registration, no request limits. All endpoints support cross-origin requests (CORS), so you can fetch them directly from a browser.

Data is regenerated once a day. Current snapshot generated Nov 9, 2026, 02:57 UTC.

Endpoints

Endpoint Description Approx. size
/scores.json Full daily dataset: all 248 countries with composite score, the 5 pillar scores including every underlying indicator, government advisory levels, and source metadata. ~1.4 MB
/map-data.json Slim per-country dataset: ISO3 code, localized names, composite score, pillar scores, and advisory levels. Ideal for maps and overviews. ~130 KB
/history/{iso3}.json Daily composite-score history for one country (lowercase ISO3 code), as an array of {date, score} points. ~5 KB
/trend/{iso3}.json Composite plus per-pillar score history for one country, as {history, pillars}. ~20 KB
/badge/{iso3}.svg Embeddable SVG badge with the current safety score of a country. ~2 KB
/llms-full.txt AI-readable Markdown summary of the whole site (llms.txt) and the complete per-country dataset (llms-full.txt). ~250 KB

Example

Fetch the full dataset and read the score of a single country:

const res = await fetch('https://isitsafetotravel.org/scores.json');
const { date, globalScore, countries } = await res.json();

const italy = countries.find((c) => c.iso3 === 'ITA');
console.log(italy.scoreStatus); // 'scored', or 'insufficient_data' (then score is null)
console.log(italy.score); // official safety score, 1-10
console.log(italy.confidence); // 0-1, how much data backs the score

Country fields in scores.json

Each entry in the countries array contains:

Field Description
iso3 ISO 3166-1 alpha-3 country code (e.g. "ITA").
name Country name localized in the supported languages.
score Official safety score, 1–10 scale (10 = safest): the data score plus the community adjustment. null for a place with partial data (see scoreStatus).
scoreDisplay Score rounded for display; null for a place with partial data.
scoreStatus "scored", or "insufficient_data" when fewer than four independent sources cover the place, or none of them measures crime: no official score is published. Absent in snapshots older than formula v10.
dataScore Score from the data alone (uncertainty-weighted geometric mean of the 5 pillars), before the community adjustment; null for a place with partial data.
community Community component: status ("active" once a country has 30 votes from at least three countries of origin), votes, origins, perceived (the community rating) and adjustment (points added to the data score, ±1.0 at most).
confidence Precision-weighted data-density score, 0–1 (higher = more and fresher underlying data). Low confidence means the score sits closer to a conservative regional prior than to hard local evidence.
pillars The 5 risk pillars (conflict, crime, health, governance, natural hazards) with score, weight, and underlying indicators. Crime blends the Global Peace Index's Safety & Security domain with the World Bank's intentional-homicide rate (population-reliability scaled); Conflict blends GPI with a calibrated advisory consensus and UCDP conflict-death counts; rule of law lives under Governance. The natural-hazards pillar is named "environment" in the JSON.
advisories Government travel advisory levels per issuing country (25+ governments today, e.g. US, UK, CA, AU).
sources The public data sources used for this country, with fetch dates.

License & attribution

All data is licensed under Creative Commons BY-NC 4.0: free to use, share, and adapt for non-commercial purposes. CC BY-NC 4.0

Please credit "IsItSafeToTravel.org" with a link when you use the data. The source code of the pipeline and site is open source (MIT license) on GitHub. GitHub