Government Travel Advisories API
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.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from travel.state.gov/content/travel/en/traveladvisories/traveladvisories.html
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/travel-advisories/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"countries":["MX","AG"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
11 fields: 10 here, 1 technical one under Technical details.
Basics
- ISO code
ISO 3166 two-letter country code.
Example AF
- Us or canada
Example canada
- Level
The government's own advisory level number.
Example 3
- Level text
Advisory wording, such as Exercise Increased Caution.
Example Avoid all travel
- Has regional advisory
Whether Canada adds regional advisories for the country.
Example No
- Summary
Short summary or latest update note.
Example Health – editorial change
Location
- Country or territory name
Example Afghanistan
Dates
- Published
When the advisory was published (UTC).
Example Dec 1, 2026
- Updated
When the advisory was last updated (UTC).
Example Dec 1, 2026
Links
- Link
The official advisory page.
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idSource plus country code, such as us-MX.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
country | text | Country or territory name | 3 of 3 |
iso_code | text | ISO code | 3 of 3 |
source | text | Us or canada | 3 of 3 |
level | number | Level | 3 of 3 |
level_text | text | Level text | 3 of 3 |
has_regional_advisory | yes or no | Has regional advisory | 3 of 3 |
published_at | date and time | Published | 3 of 3 |
updated_at | date and time | Updated | 3 of 3 |
summary | text | Summary | 3 of 3 |
url | link | Link | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | ISO code | Us or canada | Level | Level text | Has regional advisory | Summary | Country or territory name | Published | Updated | Link |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | AF | canada | 3 | Avoid all travel | No | Health – editorial change | Afghanistan | Dec 1, 2026 | Dec 1, 2026 | travel.gc.ca/destinations/afghanistan |
| 2 | AL | canada | 0 | Exercise normal security precautions | No | Editorial change | Albania | Nov 30, 2026 | Nov 30, 2026 | travel.gc.ca/destinations/albania |
| 3 | DZ | canada | 1 | Exercise a high degree of caution (with regional advisories) | Yes | Health - Travel health notice for polio added | Algeria | Dec 2, 2026 | Dec 2, 2026 | travel.gc.ca/destinations/algeria |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- 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.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.