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 40+ 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 daily at ~06:00 UTC. Current snapshot: 2026-06-24.

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

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). Weighted geometric mean of the 5 pillars.
scoreDisplay Score rounded for display.
pillars The 5 risk pillars (conflict, crime, health, governance, environment) with score, weight, and underlying indicators.
advisories Government travel advisory levels per issuing country (US, UK, CA, AU, and 33 more).
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 full pipeline and site are open source on GitHub. GitHub