Visa Requirements by Passport

Visa rules for any passport from Wikipedia's per-nationality pages: one record per destination with the entry requirement (visa-free, eTA, eVisa, on arrival, required), its type, allowed stay in days, notes, reciprocity and the page revision it came from.

$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, 15 fieldsv1.0

Data from en.wikipedia.org/wiki/Category:Visa_requirements_by_nationality

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

Passports
Passport countries by name or two-letter code, such as ["Canada"] or ["CA", "IN"]. A page title such as "Visa requirements for British Nationals (Overseas)" also works. One per line, or separated by commas.
Example: Canada
Destinationsoptional
Destinations to keep, by name or two-letter code, such as ["Albania", "JP"]. Leave empty to get every destination on each passport's page. One per line, or separated by commas.
Example: Albania, Algeria, Afghanistan

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/visa-requirements-by-passport/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/visa-requirements-by-passport/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"passports":["Canada"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

passportslistrequired
Passport countries by name or two-letter code, such as ["Canada"] or ["CA", "IN"]. A page title such as "Visa requirements for British Nationals (Overseas)" also works.
example: Canada
destinationslist
Destinations to keep, by name or two-letter code, such as ["Albania", "JP"]. Leave empty to get every destination on each passport's page.
example: Albania, Algeria, Afghanistan

What's in each record

15 fields: 14 here, 1 technical one under Technical details.

Basics

  • Passport code

    ISO 3166-1 two-letter code of the passport's country, such as CA.

    Example CA

  • Destination code

    ISO 3166-1 two-letter code of the destination, such as AL; empty for areas inside a country and places without one.

    Example AF

  • Territory

    True for rows from the page's territories table: dependent territories, disputed areas and special zones.

    Example No

  • Requirement

    The entry requirement as the page words it, such as Visa not required, eVisa, Visa on arrival or Visa required.

    Example eVisa

  • Requirement type

    The requirement as one value: visa_free, eta, evisa, visa_on_arrival, evisa_or_visa_on_arrival, visa_required, permit_required, freedom_of_movement, entry_refused, not_established or other.

    Example evisa

  • Allowed stay

    How long a visit may last, as the page words it, such as 90 days or 3 months.

    Example 30 days

  • Allowed stay days

    The allowed stay in days (a month counts 30, a year 365); empty when unlimited or not given.

    Example 30

  • Notes

    The page's notes for the destination: conditions, fees, entry points and exceptions, one per line, without references.

    Example e-Visa : Visitors must arrive at Kabul International (KBL). The Canadian government advises its citizens not to visit…

  • Reciprocal

    Whether the passport's country treats the destination's citizens the same way, where the page has a reciprocity column.

    Example No

  • Page title

    Title of the Wikipedia page the row comes from.

    Example Visa requirements for Canadian citizens

Location

  • Passport country

    The passport's country, such as Canada.

    Example Canada

  • Destination country

    The destination as the page names it; an area inside a country reads "Country – area".

    Example Afghanistan

Dates

  • Page revised

    When that revision was saved (UTC), that is, the page's latest edit.

    Example Dec 4, 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.

  • Page revision ID page_revision_idId of the page revision that was read; every edit makes a new one.

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
passport_countrytextPassport country3 of 3
passport_codetextPassport code3 of 3
destination_countrytextDestination country3 of 3
destination_codetextDestination code3 of 3
is_territoryyes or noTerritory3 of 3
requirementtextRequirement3 of 3
requirement_typetextRequirement type3 of 3
allowed_staytextAllowed stay2 of 3
allowed_stay_daysnumberAllowed stay days2 of 3
notestextNotes2 of 3
is_reciprocalyes or noReciprocal3 of 3
page_titletextPage title3 of 3
page_revision_idtextPage revision ID (hidden)3 of 3
page_revised_atdate and timePage revised3 of 3
source_urllinkSource link3 of 3

How it reads the site

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

Sample records

Sample records
RecordPassport codeDestination codeTerritoryRequirementRequirement typeAllowed stayAllowed stay daysNotesReciprocalPage titlePassport countryDestination countryPage revisedSource link
1CAAFNoeVisaevisa30 days30e-Visa : Visitors must arrive at Kabul International (KBL). The Canadian government advises its citizens not to visit Afghanistan due to hostile and unpredictable security situation, likely terrorist attacks, ongoing armed conflict, the risk of kidnapping, arbitrary arrest and…NoVisa requirements for Canadian citizensCanadaAfghanistanDec 4, 2026en.wikipedia.org/wiki/Visa_requirements_for_Canadian_citizens
2CAALNoVisa not requiredvisa_free90 days90—NoVisa requirements for Canadian citizensCanadaAlbaniaDec 4, 2026en.wikipedia.org/wiki/Visa_requirements_for_Canadian_citizens
3CADZNoVisa requiredvisa_required——Visa Issuance: Passengers with a boarding authorization issued by the Ministry of Tourism traveling as tourists can obtain a visa on arrival for a maximum of 30 days. They must have: a return/onward ticket and a hotel reservation confirmation. The visa is issued upon arrival…YesVisa requirements for Canadian citizensCanadaAlgeriaDec 4, 2026en.wikipedia.org/wiki/Visa_requirements_for_Canadian_citizens

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
  • Rules come from English Wikipedia's community-edited "Visa requirements for ... citizens" pages, not from governments: they can lag behind real changes, so confirm with the destination's official source before travel.
  • Text is licensed CC BY-SA 4.0: credit Wikipedia with a link to the page in source_url, and share changed versions under the same licence, when you publish it.
  • One request per passport, spaced at least half a second apart (Wikimedia asks for requests in series): each passport returns about 190 to 290 destinations, and all 200 or so passports take a few minutes.
  • Only rows of the pages' tables are read. Territories that a page lists as bullet points instead of a table (the Canadian page does) are not included, and a layout change on a page can drop rows from it.
  • allowed_stay is usually empty when a visa is required. allowed_stay_days is empty for unlimited or unstated stays and counts a month as 30 days and a year as 365.
  • is_reciprocal is filled only for pages with a reciprocity column (such as the Canadian, American, Australian, German and Russian pages); destination_code is empty for areas inside a country and places without an ISO code.
  • Passports are matched to their page by country name or two-letter code; Hong Kong and Macau have their own pages, and other documents (European Union, British Nationals (Overseas)) can be asked for by page title.

Version history

A run uses the live version unless the request names another one with version.