State Department
The US Department of State provides public REST APIs for accessing consular affairs data including travel advisories by country and risk level, country travel information, passport acceptance facility locations, passport issuance statistics, and geopolitical reference data. The Consular Affairs Data API (cadataapi.state.gov) offers open, unauthenticated endpoints covering all countries with real-time travel advisory updates across four alert levels. Additional historical diplomatic records are available through the Foreign Relations of the United States (FRUS) catalog API.
APIs
State Department Consular Affairs API
Public REST API providing travel advisories for all countries with alert levels (Exercise Normal Precautions, Exercise Increased Caution, Reconsider Travel, Do Not Travel), coun...
State Department Travel Advisories
REST endpoint returning current travel advisories for all countries worldwide. Each advisory includes the country name, alert level (1-4), publication date, last updated timesta...