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")=VERVE.CALL("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")=VERVE.CALL("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.
| Input | Type | Where it goes | Description |
|---|---|---|---|
destinationRequired | string | argument 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 |
arrivalDateOptionalPremium | string | "arrivalDate", value | Trip arrival date (YYYY-MM-DD), for passportCheck date |
departureDateOptionalPremium | string | "departureDate", value | Trip departure date (YYYY-MM-DD), for passportCheck date |
passportExpiryOptionalPremium | string | "passportExpiry", value | The 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")=VERVE.CALL("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)=VERVE.CALL("entryrequirements", A2)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 field | Type | Example cell value | Description |
|---|---|---|---|
destination | string | TH | Destination, ISO 3166 two-letter code |
destinationName | string | Thailand | Destination name |
passportValidity | object | {…} | |
passportValidity.rule | string | 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 |
passportValidity.months | number | 6 | Minimum months of passport validity the rule requires, or null |
passportValidity.days | object | null | Minimum days of passport validity the rule requires, when the rule is stated in days, or null |
passportValidity.summary | string | Valid for at least 6 months after arrival | The rule as one sentence, e.g. Valid for at least 6 months after arrival |
passportValidity.issuedWithinYearsPremium | object | null | 10 when the passport must have been issued within the last 10 years (Schengen area rules), else null |
passportValidity.guidancePremium | string | 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. |
blankPagesRequiredPremium | number | 1 | Minimum blank passport pages required on entry, or null when none is stated |
passportCheck | object | null | |
yellowFever | object | {…} | |
yellowFever.certificate | string | from_risk_countries | all_travellers, from_risk_countries, not_listed or see_text |
yellowFever.certificateLabel | string | Certificate required only when arriving from, or transiting, a country with yellow fever risk | Readable form of yellowFever.certificate |
yellowFever.guidancePremium | string | 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 |
advisories | object | {…} | |
advisories.uk | object | {…} | |
advisories.uk.levelPremium | string | 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 |
advisories.uk.labelPremium | string | Advises against all but essential travel to parts of the country | Readable form of the UK advice level |
advisories.uk.urlPremium | string | https://www.gov.uk/foreign-travel-advice/thailand | UK travel advice page for the destination |
advisories.us | object | {…} | |
advisories.us.levelPremium | number | 1 | US State Department advisory level, 1 (exercise normal precautions) to 4 (do not travel); advisories.us is null when none is published |
advisories.us.labelPremium | string | Exercise normal precautions | Readable form of the US advisory level |
advisories.us.urlPremium | string | https://travel.state.gov/content/tsg_aem/us/en/home/international-travel/travel-advisories/destinati… | US State Department advisory page for the destination |
rulesUpdatedAt | string | 2026-10-12T10:20:34+01:00 | When this destination's entry rules were last revised (ISO 8601) |
updatedAt | string | 2026-11-14T08:32:16.103Z | When 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.
=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 reads | What happened |
|---|---|
#ERR Not connected | No API key saved. Open the side panel and connect your account. |
#ERR Replace <name> with a cell or value | A preview formula was copied as-is. Swap the placeholder for a cell reference. |
#ERR No "x" in entryrequirements | An 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 credits | The 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.
- Install the add-in for Google Sheets or Excel.
- Open the side panel and sign in, or paste a key from your dashboard.
- 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.
Related
More in Transportation: