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.

Try it
Ready-made, maintained by usRecords, 11 fieldsv1.0

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

Countriesoptional
ISO country codes (or country names) to keep; empty means all. One per line, or separated by commas.
Example: MX, AG
Sourceoptional
us, canada or both.

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
Endpoint
POSThttps://pullrow.dev/v1/apis/travel-advisories/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

countrieslist
ISO country codes (or country names) to keep; empty means all.
example: MX, AG
sourcetext
us, canada or both.
default: bothexample: bothone of: us, canada, both

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

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
countrytextCountry or territory name3 of 3
iso_codetextISO code3 of 3
sourcetextUs or canada3 of 3
levelnumberLevel3 of 3
level_texttextLevel text3 of 3
has_regional_advisoryyes or noHas regional advisory3 of 3
published_atdate and timePublished3 of 3
updated_atdate and timeUpdated3 of 3
summarytextSummary3 of 3
urllinkLink3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordISO codeUs or canadaLevelLevel textHas regional advisorySummaryCountry or territory namePublishedUpdatedLink
1AFcanada3Avoid all travelNoHealth – editorial changeAfghanistanDec 1, 2026Dec 1, 2026travel.gc.ca/destinations/afghanistan
2ALcanada0Exercise normal security precautionsNoEditorial changeAlbaniaNov 30, 2026Nov 30, 2026travel.gc.ca/destinations/albania
3DZcanada1Exercise a high degree of caution (with regional advisories)YesHealth - Travel health notice for polio addedAlgeriaDec 2, 2026Dec 2, 2026travel.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.
Known limits
  • 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.