/passport-index-dataset

Passport Index 2021: visa requirements for 199 countries, in .csv

Primary LanguageJupyter NotebookMIT LicenseMIT

2021 Passport Index Dataset

Travel visa requirements for 199 countries, in .csv

Last updated on February 19, 2021. This update still includes a lot of travel bans related to Covid-19. For pre-pandemic requirements, check out the /legacy folder.

Passport

About datasets

There are 6 datasets with identical visa requirements data. Three datasets are matrix and three are long (tidy) format. Each comes in 3 versions: with country codes as specified in ISO-2 (two-letter codes), ISO-3 (three-letter codes), and full country names from no particular standard.

  • In distance matrices (files with matrix in the filename), the first column represents a passport (=from), each remaining column represents a destination (=to).
  • Files in tidy format (with tidy in filename) have three columns: passport (from), destination (to), and the requirement.

Dataset values

For visa-free regimes, the number of days (a positive integer) is specified whenever available. When not available, visa free code is used (for example, in the EU countries with the freedom of movement days are not limited).

Value Explanation
7-360 Number of visa-free days, where available
visa free Visa-free travel (where number of days is unknown or not applicable, such as freedom of movement), including tourist registration requirement for Seychelles
visa on arrival Destinations that grant visa on arrival, basically visa-free
e-visa Includes eTA (electronic travel authorization), eVisas, eVisitors (Australia), eTourist cards (Suriname), and pre-enrollment (Ivory Coast)
visa required Obtaining a visa is required for travel. Includes Cuba's tourist cards
covid ban Travelling is banned for most people. This is perhaps the most dynamic category right now, with varying exemptions
no admission Includes Trump's ban, as well as Armenia/Azerbaijan, Yemen/Iran, and other tricky situations
-1 where passport=destination

Update data with Jupyter notebook

You should be able to run the Jupyter notebook to update datasets whenever you want.

Source & License

Since "Passport Index is a free tool, built with publicly available information and with content contributed by fans and government agencies around the world", feel free to use the dataset under the MIT license.

Source: https://www.passportindex.org

Related

  • visa-cli, a CLI tool to lookup visa requirements.