Docs/Sources/Travel Entry Requirements

Travel Entry Requirements

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

OperationalCredits 20 per callp50 237msTransportation

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 Source →

Formula

One function covers the whole catalog: the first argument names the source, the next are its inputs, and the field after them says which single value lands in the cell. Formulas covers the grammar that applies to all of them.

=VERVE("entryrequirements", A2, "destinationName")

A2 holds the destination you are looking up. Drag the formula down and each row resolves on its own.

With literal values

Nothing has to come from a cell — typed values work the same way.

=VERVE("entryrequirements", "TH", "destinationName")

Inputs

Required inputs are positional, in the order below, followed by the field. Everything else is passed as a "name", value pair after that — the same shape as SUMIFS. Premium inputs are accepted on every plan but only take effect on plans that include them.

InputTypeWhere it goesDescription
destinationRequiredstringargument 2 (A2)The destination country or territory: a two-letter ISO code such as TH, or an English name such as Thailand
length 0–60
arrivalDateOptionalPremiumstring"arrivalDate", valueTrip arrival date (YYYY-MM-DD), for passportCheck
date
departureDateOptionalPremiumstring"departureDate", valueTrip departure date (YYYY-MM-DD), for passportCheck
date
passportExpiryOptionalPremiumstring"passportExpiry", valueThe traveler's passport expiry date (YYYY-MM-DD); passportCheck says whether it meets the destination's rule
date

Passing an option

=VERVE("entryrequirements", A2, "destinationName", "arrivalDate", "2027-03-01")

What lands in your sheet

The field — the argument after the inputs — is what makes the formula resolve to one cell. Its value is a dot-path from the table below, so swapping it is how you pull a different value — one formula per column.

Seeing everything at once

Leave the field out and the formula returns the whole response instead: two columns, field name on the left and value on the right, spilling from the cell you typed in.

=VERVE("entryrequirements", A2)
Good for exploring, not for filling down

The second row's table would land on top of the first's, and every cell after the first reads #REF! (#SPILL! in Excel). Keep one per sheet, or name a field, and leave the cells below and to the right empty.

Response fields

Paths are relative to data. Each one is exactly what the field argument accepts, so swapping it is how you pull a different value into a cell. On a plan without a Premium field the cell reads #PREMIUM(field) rather than a value, so a locked field never looks like a real answer.

Use as the fieldTypeExample cell valueDescription
destinationstringTHDestination, ISO 3166 two-letter code
destinationNamestringThailandDestination name
passportValidityobject{…}
passportValidity.rulestringmonths_after_arrivalmonths_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
passportValidity.monthsnumber6Minimum months of passport validity the rule requires, or null
passportValidity.daysobjectnullMinimum days of passport validity the rule requires, when the rule is stated in days, or null
passportValidity.summarystringValid for at least 6 months after arrivalThe rule as one sentence, e.g. Valid for at least 6 months after arrival
passportValidity.issuedWithinYearsPremiumobjectnull10 when the passport must have been issued within the last 10 years (Schengen area rules), else null
passportValidity.guidancePremiumstringYour 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{…}
yellowFever.certificatestringfrom_risk_countriesall_travellers, from_risk_countries, not_listed or see_text
yellowFever.certificateLabelstringCertificate required only when arriving from, or transiting, a country with yellow fever riskReadable form of yellowFever.certificate
yellowFever.guidancePremiumstringA 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{…}
advisories.ukobject{…}
advisories.uk.levelPremiumstringavoid_all_but_essential_travel_to_partsUK 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
advisories.uk.labelPremiumstringAdvises against all but essential travel to parts of the countryReadable form of the UK advice level
advisories.uk.urlPremiumstringhttps://www.gov.uk/foreign-travel-advice/thailandUK travel advice page for the destination
advisories.usobject{…}
advisories.us.levelPremiumnumber1US State Department advisory level, 1 (exercise normal precautions) to 4 (do not travel); advisories.us is null when none is published
advisories.us.labelPremiumstringExercise normal precautionsReadable form of the US advisory level
advisories.us.urlPremiumstringhttps://travel.state.gov/content/tsg_aem/us/en/home/international-travel/travel-advisories/destinati…US State Department advisory page for the destination
rulesUpdatedAtstring2026-10-12T10:20:34+01:00When this destination's entry rules were last revised (ISO 8601)
updatedAtstring2026-11-14T08:32:16.103ZWhen the dataset was last refreshed (ISO 8601)

Filling a whole column

Both platforms make one batched call for a column rather than one request per cell, and both cost the same — 20 credits per row looked up. How you write it differs, because the two runtimes batch at different points.

Rows 2–100 in one call
=VERVE("entryrequirements", A2:A100, "destinationName")

In Google Sheets, give the arguments ranges and the answers spill down from the cell you typed in. Custom functions there run synchronously and in isolation, so dragged cells cannot be coalesced — the range form is how a column becomes one call. The field is required here: a per-row two-column table has nowhere to spill. Use a full column per input (A2:A100, not A2) — a single-cell reference is read as row 1 only and the rest of the column comes back blank.

In Excel, type the formula once and fill down — no range form and none needed, because its runtime is asynchronous and the add-in coalesces the calls a fill produces into a single batched request. Do not hand VERVE.CALL a range: Excel flattens it into positional arguments, so A2:A100 arrives as a hundred separate arguments and the cell reads #ERR rather than filling.

Either way, column A holds your destination values and the answers land beside them, one row each, blank rows skipped.

When a cell doesn't fill

A failed lookup returns readable text starting with #ERR rather than a spreadsheet error, because Excel cannot show a custom message on a real error — you would get a bare #VALUE! with no reason. The trade-off is that IFERROR() will not catch it; test with LEFT(cell, 4) = "#ERR" instead. Error handling covers the rest.

Cell readsWhat happened
#ERR Not connectedNo API key saved. Open the side panel and connect your account.
#ERR Replace <name> with a cell or valueA preview formula was copied as-is. Swap the placeholder for a cell reference.
#ERR No "x" in entryrequirementsAn option name this source does not take. The message lists the ones it does.
#ERR No data point "…"The field path is not in the response. Check it against the table above.
#PREMIUM(field)The field exists but your plan does not include it.
#ERR Out of creditsThe cycle's credits are spent. Usage resets on your billing date.

Before the formula works

The add-in reads the API key you saved once in the side panel — the key never goes in the formula, so a shared sheet does not leak it and a collaborator without access simply sees the last calculated values.

  1. Install the add-in for Google Sheets or Excel.
  2. Open the side panel and sign in, or paste a key from your dashboard.
  3. Type the formula above into any cell.

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 VerveSheets, or reach the same source a different way. Your VerveSheets account and credits work on all of them — one key, one balance.

Call it as a REST APIOne HTTPS endpoint and an x-api-key header, with SDKs for Node, Python and .NET.APIVerve →Reference →
Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →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?