{"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},"version":"1.0","contract_hash":"a56df0e841bbbd032cbfa04010490047c4e442d01541e8cabd4a0a8242c824ed","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T03:57:27.715Z","activated_at":"2026-12-06T03:57:27.715Z","active":true,"contract_hash":"a56df0e841bbbd032cbfa04010490047c4e442d01541e8cabd4a0a8242c824ed","fields_count":11}]}