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 Oct 11, 2026, 12:36 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.score); // composite 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 Composite safety score, 1–10 scale (10 = safest). Uncertainty-weighted (Bayesian shrinkage) geometric mean of the 5 pillars.
scoreDisplay Score rounded for display.
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, environment) 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.
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