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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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
Links
- Source link
Link to the Wikipedia page.
Example en.wikipedia.org/wiki/Visa_requirements_for_Canadian_citizens
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
passport_country | text | Passport country | 3 of 3 |
passport_code | text | Passport code | 3 of 3 |
destination_country | text | Destination country | 3 of 3 |
destination_code | text | Destination code | 3 of 3 |
is_territory | yes or no | Territory | 3 of 3 |
requirement | text | Requirement | 3 of 3 |
requirement_type | text | Requirement type | 3 of 3 |
allowed_stay | text | Allowed stay | 2 of 3 |
allowed_stay_days | number | Allowed stay days | 2 of 3 |
notes | text | Notes | 2 of 3 |
is_reciprocal | yes or no | Reciprocal | 3 of 3 |
page_title | text | Page title | 3 of 3 |
page_revision_id | text | Page revision ID (hidden) | 3 of 3 |
page_revised_at | date and time | Page revised | 3 of 3 |
source_url | link | Source link | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Passport code | Destination code | Territory | Requirement | Requirement type | Allowed stay | Allowed stay days | Notes | Reciprocal | Page title | Passport country | Destination country | Page revised | Source link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | CA | AF | No | eVisa | evisa | 30 days | 30 | e-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… | No | Visa requirements for Canadian citizens | Canada | Afghanistan | Dec 4, 2026 | en.wikipedia.org/wiki/Visa_requirements_for_Canadian_citizens |
| 2 | CA | AL | No | Visa not required | visa_free | 90 days | 90 | — | No | Visa requirements for Canadian citizens | Canada | Albania | Dec 4, 2026 | en.wikipedia.org/wiki/Visa_requirements_for_Canadian_citizens |
| 3 | CA | DZ | No | Visa required | visa_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… | Yes | Visa requirements for Canadian citizens | Canada | Algeria | Dec 4, 2026 | en.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.
- 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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.