Docs/APIs/Travel Entry Requirements

Travel Entry Requirements

Passport validity, blank pages, yellow fever and travel advisories by destination

OperationalCredits 20 per callp50 237msTransportationStar

Overview

Covers about 228 countries and territories. Passport validity is normalized to a rule and a number, such as 6 months after arrival, 3 months after departure or valid for the whole stay, with a one-line summary and plain-English guidance alongside. Send trip dates and a passport expiry date and the API works out the date the passport must be valid until and whether it passes. Rules come from UK FCDO travel advice, published for British passport holders; passport validity, blank page and vaccination rules are usually the same for every foreign visitor, while visa rules are not (see the Visa Requirements API). US advisory levels come from the State Department. Data is checked daily. Confirm with the destination's official source before travel.

Live Test Travel Entry Requirements API →

Endpoint

One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.

GEThttps://api.apiverve.com/v1/entryrequirements
curl "https://api.apiverve.com/v1/entryrequirements?destination=TH&arrivalDate=2027-03-01&departureDate=2027-03-15&passportExpiry=2027-07-01" \
  -H "x-api-key: your_api_key_here"

Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.

Authentication

Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.

401 is the only auth verdict

A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.

Parameters

Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them.

ParameterTypeDescription
destinationRequiredstringThe destination country or territory: a two-letter ISO code such as TH, or an English name such as Thailand
length 0–60
arrivalDateOptionalPremiumstringTrip arrival date (YYYY-MM-DD), for passportCheck
date
departureDateOptionalPremiumstringTrip departure date (YYYY-MM-DD), for passportCheck
date
passportExpiryOptionalPremiumstringThe traveler's passport expiry date (YYYY-MM-DD); passportCheck says whether it meets the destination's rule
date

Response

Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.

Sample response
{
  "status": "ok",
  "error": null,
  "data": {
    "destination": "TH",
    "destinationName": "Thailand",
    "passportValidity": {
      "rule": "months_after_arrival",
      "months": 6,
      "days": null,
      "summary": "Valid for at least 6 months after arrival",
      "issuedWithinYears": null,
      "guidance": "Your passport must be valid for at least 6 months after the day you arrive. It needs at least 1 blank page."
    },
    "blankPagesRequired": 1,
    "passportCheck": null,
    "yellowFever": {
      "certificate": "from_risk_countries",
      "certificateLabel": "Certificate required only when arriving from, or transiting, a country with yellow fever risk",
      "guidance": "A yellow fever vaccination certificate is required only if you are arriving from, or have transited through, a country with a risk of yellow fever transmission. Travelers coming directly from elsewher…"
    },
    "advisories": {
      "uk": {
        "level": "avoid_all_but_essential_travel_to_parts",
        "label": "Advises against all but essential travel to parts of the country",
        "url": "https://www.gov.uk/foreign-travel-advice/thailand"
      },
      "us": {
        "level": 1,
        "label": "Exercise normal precautions",
        "url": "https://travel.state.gov/content/tsg_aem/us/en/home/international-travel/travel-advisories/destination.tha.html"
      }
    },
    "rulesUpdatedAt": "2026-10-12T10:20:34+01:00",
    "updatedAt": "2026-11-14T08:32:16.103Z"
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
destinationstring"TH"Destination, ISO 3166 two-letter code
destinationNamestring"Thailand"Destination name
passportValidityobject{...}
rulestring"months_after_arrival"months_after_arrival, months_after_departure, days_after_arrival, days_after_departure, months_after_visa_application, months_after_visa_expiry, duration_of_stay, valid_on_arrival, or null when no rule is published
monthsnumber6Minimum months of passport validity the rule requires, or null
daysobjectnullMinimum days of passport validity the rule requires, when the rule is stated in days, or null
summarystring"Valid for at least 6 months after arrival"The rule as one sentence, e.g. Valid for at least 6 months after arrival
issuedWithinYearsPremiumobjectnull10 when the passport must have been issued within the last 10 years (Schengen area rules), else null
guidancePremiumstring"Your passport must be valid for at least 6 months after the day you arrive. It needs at least 1 blan…"Plain-English guidance combining the validity rule, the issue-date limit and blank pages, e.g. Your passport must be valid for at least 6 months after the day you arrive. It needs at least 1 blank page.
blankPagesRequiredPremiumnumber1Minimum blank passport pages required on entry, or null when none is stated
passportCheckobjectnull
yellowFeverobject{...}
certificatestring"from_risk_countries"all_travellers, from_risk_countries, not_listed or see_text
certificateLabelstring"Certificate required only when arriving from, or transiting, a country with yellow fever risk"Readable form of yellowFever.certificate
guidancePremiumstring"A yellow fever vaccination certificate is required only if you are arriving from, or have transited…"Plain-English guidance on the yellow fever certificate requirement
advisoriesobject{...}
ukobject{...}
levelPremiumstring"avoid_all_but_essential_travel_to_parts"UK travel advice level: no_warnings, avoid_all_but_essential_travel_to_parts, avoid_all_travel_to_parts, avoid_all_but_essential_travel or avoid_all_travel
labelPremiumstring"Advises against all but essential travel to parts of the country"Readable form of the UK advice level
urlPremiumstring"https://www.gov.uk/foreign-travel-advice/thailand"UK travel advice page for the destination
usobject{...}
levelPremiumnumber1US State Department advisory level, 1 (exercise normal precautions) to 4 (do not travel); advisories.us is null when none is published
labelPremiumstring"Exercise normal precautions"Readable form of the US advisory level
urlPremiumstring"https://travel.state.gov/content/tsg_aem/us/en/home/international-travel/travel-advisories/destinati…"US State Department advisory page for the destination
rulesUpdatedAtstring"2026-10-12T10:20:34+01:00"When this destination's entry rules were last revised (ISO 8601)
updatedAtstring"2026-11-14T08:32:16.103Z"When the dataset was last refreshed (ISO 8601)

Errors

Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.

StatusMeaningWhat to do
400Input was rejectedRead error; it names the parameter.
401Key missing or invalidCheck the header name and the key value.
403Key valid, but not permittedA key restriction or IP allow-list; see key scoping.
429Rate limited, or out of creditsRead error to tell them apart; see rate limits.

Use cases

Booking Checkout Checks
Booking sites compare the traveler's passport expiry date with the destination's validity rule and warn before payment when it falls short.
Corporate Travel Risk
Travel management tools show the UK and US advisory levels for each trip and route level 3 and 4 destinations for approval.
Travel Agency Itineraries
Agencies print passport validity, blank page and yellow fever requirements on every itinerary instead of researching each country by hand.
Trip Planning Apps
Itinerary apps list what each stop needs, such as a yellow fever certificate after a stop in a risk country, so travelers prepare before they leave.

Other ways to use Travel Entry Requirements

Set up Travel Entry Requirements on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.

Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheets →Reference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContext →Reference →

More in Transportation:

Was this page helpful?