The Travel Warnings API offers travel advisory for most countries on earth. The advisory originates from aggregating official travel advisories from different countries.
For example: the German authorities suggest country XYZ is dangerous to a certain extend. Other countries (e.g. USA or Switzerland) may have published similar or different suggestions for the same destination.
This service collects this information for each destination country from 9 different authorities/nations and provides an API that returns current travel danger data in JSON format. Advisories are updated daily.
This data is normalized to form a rating between 0 and 5. Where 5 is the most dangerous. And 0 means no information.