curl --request POST \
--url https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "North Korea"
}
'import requests
url = "https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories"
payload = { "query": "North Korea" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'North Korea'})
};
fetch('https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'North Korea'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories"
payload := strings.NewReader("{\n \"query\": \"North Korea\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"North Korea\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"North Korea\"\n}"
response = http.request(request)
puts response.read_body{
"advisories": [
{
"code": "KN",
"country": "North Korea",
"destination_code": "prk",
"level": 4,
"level_label": "Do Not Travel",
"published": "2025-04-28T20:00:00-04:00",
"summary": "Do not travel to North Korea due to wrongful detention and other risks.\nDo not travel to North Korea due to the continuing serious risk of arrest, long-term detention, and the threat of wrongful detention of U.S. citizens.\nDo not travel to the Democratic People’s Republic of Korea for any reason.\n- U.S. passports cannot be used to travel to, in, or through the Democratic People's Republic of Korea (DPRK or North Korea) unless they are specially validated for such travel by the Secretary of State.\n- Special validations are granted only in very limited circumstances. Review the information on how to apply for the special validation.\nBecause the U.S. government does not have diplomatic relations with North Korea, it cannot provide direct help to U.S. citizens in North Korea in emergencies.\n- Sweden serves as the U.S. protecting power in North Korea through its Embassy in Pyongyang and provides limited consular services to U.S. citizens. Additionally, the North Korean government has often delayed or denied Swedish officials access to U.S. citizens who are detained.\n- The Federal Aviation Administration (FAA) has issued a Notice to Airmen (NOTAM) or a Special Federal Aviation Regulation (SFAR). This is due to the risks to civil aviation operating within or in the vicinity of North Korea.\n- For more information U.S. citizens should consult the Federal Aviation Administration’s Prohibitions, Restrictions and Notices.",
"title": "North Korea - Level 4: Do Not Travel",
"updated": "2025-04-28T20:00:00-04:00",
"url": "https://travel.state.gov/content/tsg_aem/us/en/home/international-travel/travel-advisories/destination.prk.html"
}
],
"published_total": 223,
"source_url": "https://cadataapi.state.gov/api/TravelAdvisories"
}Advisories
Which destinations are Level 4 Do Not Travel, or what the U.S. government currently advises about travel to a country found by name. For one destination by code or advisory URL use advisory; for entry requirements, laws, health and embassy contacts use country_information.
curl --request POST \
--url https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "North Korea"
}
'import requests
url = "https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories"
payload = { "query": "North Korea" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'North Korea'})
};
fetch('https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'North Korea'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories"
payload := strings.NewReader("{\n \"query\": \"North Korea\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"North Korea\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"North Korea\"\n}"
response = http.request(request)
puts response.read_body{
"advisories": [
{
"code": "KN",
"country": "North Korea",
"destination_code": "prk",
"level": 4,
"level_label": "Do Not Travel",
"published": "2025-04-28T20:00:00-04:00",
"summary": "Do not travel to North Korea due to wrongful detention and other risks.\nDo not travel to North Korea due to the continuing serious risk of arrest, long-term detention, and the threat of wrongful detention of U.S. citizens.\nDo not travel to the Democratic People’s Republic of Korea for any reason.\n- U.S. passports cannot be used to travel to, in, or through the Democratic People's Republic of Korea (DPRK or North Korea) unless they are specially validated for such travel by the Secretary of State.\n- Special validations are granted only in very limited circumstances. Review the information on how to apply for the special validation.\nBecause the U.S. government does not have diplomatic relations with North Korea, it cannot provide direct help to U.S. citizens in North Korea in emergencies.\n- Sweden serves as the U.S. protecting power in North Korea through its Embassy in Pyongyang and provides limited consular services to U.S. citizens. Additionally, the North Korean government has often delayed or denied Swedish officials access to U.S. citizens who are detained.\n- The Federal Aviation Administration (FAA) has issued a Notice to Airmen (NOTAM) or a Special Federal Aviation Regulation (SFAR). This is due to the risks to civil aviation operating within or in the vicinity of North Korea.\n- For more information U.S. citizens should consult the Federal Aviation Administration’s Prohibitions, Restrictions and Notices.",
"title": "North Korea - Level 4: Do Not Travel",
"updated": "2025-04-28T20:00:00-04:00",
"url": "https://travel.state.gov/content/tsg_aem/us/en/home/international-travel/travel-advisories/destination.prk.html"
}
],
"published_total": 223,
"source_url": "https://cadataapi.state.gov/api/TravelAdvisories"
}Request contract
- Method and path: POST /apis/v1/travel-state-gov/travel-advisories/advisories
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/travel-state-gov/travel-advisories/advisories
{
"operationId": "travel-state-gov.travel-advisories.advisories",
"method": "POST",
"path": "/apis/v1/travel-state-gov/travel-advisories/advisories",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"query": "North Korea"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"level": {
"description": "Keep only advisories at this level: 1 exercise normal precautions, 2 exercise increased caution, 3 reconsider travel, 4 do not travel.\n\nProvider reference: minimum 1; maximum 4.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 4,
"min": 1
}
},
"query": {
"description": "Keep only destinations whose name contains this text (case-insensitive), e.g. `korea` or `guinea`.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
List every current State Department travel advisory with its level (1-4), destination, plain-text advice, page link and publication dates, optionally filtered by level and/or a destination-name substring. A filter that matches nothing returns an empty list. The feed itself contains a few duplicate destinations (a current destination page and an older legacy page for the same place, e.g. Burma, Cambodia, Tunisia); rows with a non-null destination_code are the current pages.
The response contains the tool result directly.
The provider identifies advisories as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
code | string | Destination code the feed files this advisory under (Category). Mostly FIPS 10-4, but some rows use other codes and codes can be shared: KN covers North Korea and Saint Kitts and Nevis, IS covers Israel, the West Bank and Gaza. |
country | string | Destination name from the advisory title, e.g. Burma, Gaza, Hong Kong. |
destination_code | string | Code in a current destination.<code>.html page URL, usually ISO 3166-1 alpha-3 (deu, prk; xks for Kosovo). Null for rows that still link to a legacy-layout page. |
level | number | Advisory level: 1 exercise normal precautions, 2 exercise increased caution, 3 reconsider travel, 4 do not travel. |
level_label | string | |
published | string | Publication timestamp as the feed states it. |
summary | string | Advisory text converted from the feed's HTML to plain text; list items start with -. |
title | string | Advisory title as published, whitespace collapsed. |
updated | string | Last update timestamp as the feed states it. |
url | string | The advisory page on travel.state.gov. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.