{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"5b013b44-7194-4f14-a51c-73ca1ec815b3","name":"Destination Safety, Health & Covid Alerts API","description":"<img src=\"https://visadb.io/statics/visadb-logo.png\" alt=\"site logo\" width=\"200\" height=\"50\"><p>Alerts API are temporary events related to destination safety, security, health outbreaks and other high risk information. The alerts includes Covid19 related restrictions, Political upheaval, Terrorist attacks, Natural disasters, health crisis and any other information pose a threat to Tourist safety</p><p>Alert data is sync with global breaking news and travel advisories released by UK, USA, Canada, Japan, Ireland and other Government advisories.<href=\"http://visadb.io/api\"> Check our website</a> for further information</p><h2>Free test account</h2><a href=\"http://visadb.io/api\"> Book a call with us to request a free demo API account & token</a> <h2>Response Specification</h2>Call the API with<a href=\"https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\"> ISO 3166 Alpha-2 Country code</a> for the destination.<table><tr><th>Keys</th><th>Definitions</th></tr><tr><td>alert_type</td><td>Real-time alert type. We support 5 different type of alerts<ul><li>\"health\": - Alert is about destination health risk or epidemics</li><li>\"safety\": - Alert is about tourists safety risks</li><li>\"security\": Alert is about tourists security risks</li><li>\"entry\": - Alert is about visa or entry requirements and policy change</li><li>\"culture\": - Alert is related to culture and tradition</li></ul></td></tr><tr><td>status</td><td>Tells alert validity and due date.<ul><li>\"expired\" - Alert event was generated more than 45 days ago. May not be relevant check the \"expiry\". It still can be used to show users about past events at destination.</li><li>\"recent\" - Alert is recent and issued in last 45 days. May be valid check \"expiry\" key. Some alerts could be shown even if they are expired. Test and ask us.</li><li>\"future\" - Alert event may happen in the future. e.g. Demonstrations, strikes and travel restrictions.</li></td></tr><tr><td>start_time</td><td>Alert start time. Usually a publish date. Relevant if the alert is for future.</td></tr><tr><td>end_time</td><td>Alert end </td></tr><tr><td>priority</td><td>Alerts are divided based on its seriousness, threat level and risks to Tourist safety.  <ul><li>\"priority\": 1 - Alert is rather information</li><li>\"priority\": 2 - Alert is important information or warning</li><li>\"priority\": 3 - Alert is important and risky , potentially create unpleasant experience e.g. Visa policy change</li><li>\"priority\": 4 - Alert event can be a threat and high risk for tourist e.g. Natural disaster</li><li>\"priority\": 5 - Alert event is extremely dangerous and life threatening e.g. Terrorist attacks</li></ul></td></tr><tr><td>label</td><td>Alert label is in additional tag define the nature of information for Tourists. e.g. warning or information or news. Its optional to show user.</td></tr><tr><td>title</td><td>Title of the alert</td></tr><tr><td>summary</td><td>Details of alert.</td></tr><tr><td>sources</td><td>All the sources where the information is reviewed and compiled</td></tr></table><p>This is highly important and risky data. Please contact us if you do not understand the context of information<i>required</i></p><hr><h3>Important points</h3><ul><li>Please contact us or leave comments to ask questions</li><li>We are currently in beta expect system upgrades.</li><li>Please do not use the response for production without letting us know.</li></ul><p><b><a href=\"https://visadb.io/api\"> Visadb.io - Internet visa database</a> is supported by European Union grants, Government of Poland, Government of Chile MIT Enterprise Forum, UNWTO and many other organizations. </b> </p>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"7930023","team":554785,"collectionId":"5b013b44-7194-4f14-a51c-73ca1ec815b3","publishedId":"T17Ge7XU","public":true,"publicUrl":"https://documenter-api.postman.tech/view/7930023/T17Ge7XU","privateUrl":"https://go.postman.co/documentation/7930023-5b013b44-7194-4f14-a51c-73ca1ec815b3","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2020-08-18T16:35:52.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"statusCode":200},"environments":[{"name":"Sample US-FR","id":"5c74d4e4-3745-47f3-b5f6-6bb0745541a6","owner":"7930023","values":[{"key":"baseUrl","value":"https://cloud.visadb.io/apis/enterprise/v1","enabled":true},{"key":"country_code_from","value":"US","enabled":true},{"key":"country_code_to","value":"FR","enabled":true},{"key":"token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjE3OTQ1OTQ3MiIsInR5cGUiOiJhcGl1c2VyIiwiaXNBY3RpdmUiOnRydWUsImlhdCI6MTYwMTU3MDYyOH0.OKD1CnStq5PVsTELCrI6gJo8c37pSEJEh4k0wtB7rTg\n\n\n","enabled":true},{"key":"language_code","value":"en","enabled":true}],"published":true}],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/843649757d141783b3e654db27bb82e7616242af6c2222b0a0f1d0cf190455c9","favicon":""},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"},{"label":"Sample US-FR","value":"7930023-5c74d4e4-3745-47f3-b5f6-6bb0745541a6"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/T17Ge7XU"}