{"api":{"id":"api_af8ffda9d93519aab0cd10e0","slug":"travel-advisories","name":"Government Travel Advisories API","description":"Current travel advisories for every country from the US State Department and the Government of Canada, one record per country and source, with the advisory level, its wording, dates and a link to the official page.","kind":"ready_made","visibility":"public","domain":"cadataapi.state.gov","source_url":"https://travel.state.gov/content/travel/en/traveladvisories/traveladvisories.html","category":"travel","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":11,"created_at":"2026-12-06T03:57:27.715Z","updated_at":"2026-12-06T03:57:27.715Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Source plus country code, such as us-MX.","required":true,"coverage":1,"example":"canada-AF"},{"name":"country","type":"string","description":"Country or territory name.","required":false,"coverage":1,"example":"Afghanistan"},{"name":"iso_code","type":"string","description":"ISO 3166 two-letter country code.","required":false,"coverage":1,"example":"AF"},{"name":"source","type":"string","description":"us or canada.","required":false,"coverage":1,"example":"canada"},{"name":"level","type":"integer","description":"The government's own advisory level number.","required":false,"coverage":1,"example":3},{"name":"level_text","type":"string","description":"Advisory wording, such as Exercise Increased Caution.","required":false,"coverage":1,"example":"Avoid all travel"},{"name":"has_regional_advisory","type":"boolean","description":"Whether Canada adds regional advisories for the country.","required":false,"coverage":1,"example":false},{"name":"published_at","type":"datetime","description":"When the advisory was published (UTC).","required":false,"coverage":1,"example":"2026-12-01T20:06:43.310Z"},{"name":"updated_at","type":"datetime","description":"When the advisory was last updated (UTC).","required":false,"coverage":1,"example":"2026-12-01T20:06:43.310Z"},{"name":"summary","type":"string","description":"Short summary or latest update note.","required":false,"coverage":1,"example":"Health – editorial change"},{"name":"url","type":"url","description":"The official advisory page.","required":false,"coverage":1,"example":"https://travel.gc.ca/destinations/afghanistan"}],"inputs":[{"name":"countries","type":"array","description":"ISO country codes (or country names) to keep; empty means all.","example":["MX","AG"]},{"name":"source","type":"string","description":"us, canada or both.","default":"both","example":"both","enum":["us","canada","both"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"country":{"description":"Country or territory name.","type":"string"},"has_regional_advisory":{"description":"Whether Canada adds regional advisories for the country.","type":"boolean"},"id":{"description":"Source plus country code, such as us-MX.","type":"string"},"iso_code":{"description":"ISO 3166 two-letter country code.","type":"string"},"level":{"description":"The government's own advisory level number.","type":"integer"},"level_text":{"description":"Advisory wording, such as Exercise Increased Caution.","type":"string"},"published_at":{"description":"When the advisory was published (UTC).","format":"date-time","type":"string"},"source":{"description":"us or canada.","type":"string"},"summary":{"description":"Short summary or latest update note.","type":"string"},"updated_at":{"description":"When the advisory was last updated (UTC).","format":"date-time","type":"string"},"url":{"description":"The official advisory page.","format":"uri","type":"string"}},"required":["id"],"title":"Government Travel Advisories API","type":"object"},"samples":[{"id":"canada-AF","country":"Afghanistan","iso_code":"AF","source":"canada","level":3,"level_text":"Avoid all travel","has_regional_advisory":false,"published_at":"2026-12-01T20:06:43.310Z","updated_at":"2026-12-01T20:06:43.310Z","summary":"Health – editorial change","url":"https://travel.gc.ca/destinations/afghanistan"},{"id":"canada-AL","country":"Albania","iso_code":"AL","source":"canada","level":0,"level_text":"Exercise normal security precautions","has_regional_advisory":false,"published_at":"2026-11-30T09:51:42.234Z","updated_at":"2026-11-30T09:51:42.234Z","summary":"Editorial change","url":"https://travel.gc.ca/destinations/albania"},{"id":"canada-DZ","country":"Algeria","iso_code":"DZ","source":"canada","level":1,"level_text":"Exercise a high degree of caution (with regional advisories)","has_regional_advisory":true,"published_at":"2026-12-02T12:04:58.701Z","updated_at":"2026-12-02T12:04:58.701Z","summary":"Health - Travel health notice for polio added","url":"https://travel.gc.ca/destinations/algeria"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"country":1,"has_regional_advisory":1,"id":1,"iso_code":1,"level":1,"level_text":1,"published_at":1,"source":1,"summary":1,"updated_at":1,"url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_af8ffda9d93519aab0cd10e0/run","openapi":"https://pullrow.dev/v1/apis/api_af8ffda9d93519aab0cd10e0/openapi.json","contract":"https://pullrow.dev/v1/apis/api_af8ffda9d93519aab0cd10e0/contract.json","page":"https://pullrow.dev/catalog/travel-advisories"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Two official sources: the US State Department (about 218 countries, levels 1 to 4) and the Government of Canada (about 230 countries and territories, levels 0 to 3). The scales differ, so compare level_text rather than the number.","The US feed names countries with its own codes, so iso_code for US records is matched through the country name and is empty for a few names that do not match.","Canada publishes one date per country, so its published_at and updated_at are the same; summary for Canada is the latest update note, and for the US the opening lines of the advisory.","has_regional_advisory is only given by Canada and is empty for US records.","Advisories are current states, not history: the feeds are refreshed whenever a government changes an advisory, so schedule runs to catch changes.","Both sources are public government feeds with no stated request limit; the US text is public domain and Canadian data is under the Open Government Licence - Canada. Credit the source in reuse."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Source plus country code, such as us-MX.","group":"Technical","shown":false,"written":false},{"name":"country","label":"Country or territory name","description":"","group":"Location","shown":true,"written":false},{"name":"iso_code","label":"ISO code","description":"ISO 3166 two-letter country code.","group":"Basics","shown":true,"written":false},{"name":"source","label":"Us or canada","description":"","group":"Basics","shown":true,"written":false},{"name":"level","label":"Level","description":"The government's own advisory level number.","group":"Basics","shown":true,"written":false},{"name":"level_text","label":"Level text","description":"Advisory wording, such as Exercise Increased Caution.","group":"Basics","shown":true,"written":false},{"name":"has_regional_advisory","label":"Has regional advisory","description":"Whether Canada adds regional advisories for the country.","group":"Basics","shown":true,"written":false},{"name":"published_at","label":"Published","description":"When the advisory was published (UTC).","group":"Dates","shown":true,"written":false},{"name":"updated_at","label":"Updated","description":"When the advisory was last updated (UTC).","group":"Dates","shown":true,"written":false},{"name":"summary","label":"Summary","description":"Short summary or latest update note.","group":"Basics","shown":true,"written":false},{"name":"url","label":"Link","description":"The official advisory page.","group":"Links","shown":true,"written":false}],"inputs":[{"name":"countries","label":"Countries","help":"ISO country codes (or country names) to keep; empty means all.","example":"MX, AG","written":false},{"name":"source","label":"Source","help":"us, canada or both.","example":"both","written":false}]}},"incidents":[]}