{"api":{"id":"api_95c5e382f2ecd862e2b10b99","slug":"visa-requirements-by-passport","name":"Visa Requirements by Passport","description":"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.","kind":"ready_made","visibility":"public","domain":"en.wikipedia.org","source_url":"https://en.wikipedia.org/wiki/Category:Visa_requirements_by_nationality","category":"travel","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":15,"created_at":"2026-12-06T03:57:27.729Z","updated_at":"2026-12-06T03:57:27.729Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"passport_country","type":"string","description":"The passport's country, such as Canada.","required":false,"coverage":1,"example":"Canada"},{"name":"passport_code","type":"string","description":"ISO 3166-1 two-letter code of the passport's country, such as CA.","required":false,"coverage":1,"example":"CA"},{"name":"destination_country","type":"string","description":"The destination as the page names it; an area inside a country reads \"Country – area\".","required":true,"coverage":1,"example":"Afghanistan"},{"name":"destination_code","type":"string","description":"ISO 3166-1 two-letter code of the destination, such as AL; empty for areas inside a country and places without one.","required":false,"coverage":1,"example":"AF"},{"name":"is_territory","type":"boolean","description":"True for rows from the page's territories table: dependent territories, disputed areas and special zones.","required":false,"coverage":1,"example":false},{"name":"requirement","type":"string","description":"The entry requirement as the page words it, such as Visa not required, eVisa, Visa on arrival or Visa required.","required":false,"coverage":1,"example":"eVisa"},{"name":"requirement_type","type":"string","description":"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.","required":false,"coverage":1,"example":"evisa"},{"name":"allowed_stay","type":"string","description":"How long a visit may last, as the page words it, such as 90 days or 3 months.","required":false,"coverage":0.67,"example":"30 days"},{"name":"allowed_stay_days","type":"integer","description":"The allowed stay in days (a month counts 30, a year 365); empty when unlimited or not given.","required":false,"coverage":0.67,"example":30},{"name":"notes","type":"string","description":"The page's notes for the destination: conditions, fees, entry points and exceptions, one per line, without references.","required":false,"coverage":0.67,"example":"e-Visa : Visitors must arrive at Kabul International (KBL).\nThe Canadian government advises its citizens not to visit…"},{"name":"is_reciprocal","type":"boolean","description":"Whether the passport's country treats the destination's citizens the same way, where the page has a reciprocity column.","required":false,"coverage":1,"example":false},{"name":"page_title","type":"string","description":"Title of the Wikipedia page the row comes from.","required":false,"coverage":1,"example":"Visa requirements for Canadian citizens"},{"name":"page_revision_id","type":"string","description":"Id of the page revision that was read; every edit makes a new one.","required":false,"coverage":1,"example":"1389514417"},{"name":"page_revised_at","type":"datetime","description":"When that revision was saved (UTC), that is, the page's latest edit.","required":false,"coverage":1,"example":"2026-12-04T03:52:23.000Z"},{"name":"source_url","type":"url","description":"Link to the Wikipedia page.","required":false,"coverage":1,"example":"https://en.wikipedia.org/wiki/Visa_requirements_for_Canadian_citizens"}],"inputs":[{"name":"passports","type":"array","description":"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"],"required":true},{"name":"destinations","type":"array","description":"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"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"allowed_stay":{"description":"How long a visit may last, as the page words it, such as 90 days or 3 months.","type":"string"},"allowed_stay_days":{"description":"The allowed stay in days (a month counts 30, a year 365); empty when unlimited or not given.","type":"integer"},"destination_code":{"description":"ISO 3166-1 two-letter code of the destination, such as AL; empty for areas inside a country and places without one.","type":"string"},"destination_country":{"description":"The destination as the page names it; an area inside a country reads \"Country – area\".","type":"string"},"is_reciprocal":{"description":"Whether the passport's country treats the destination's citizens the same way, where the page has a reciprocity column.","type":"boolean"},"is_territory":{"description":"True for rows from the page's territories table: dependent territories, disputed areas and special zones.","type":"boolean"},"notes":{"description":"The page's notes for the destination: conditions, fees, entry points and exceptions, one per line, without references.","type":"string"},"page_revised_at":{"description":"When that revision was saved (UTC), that is, the page's latest edit.","format":"date-time","type":"string"},"page_revision_id":{"description":"Id of the page revision that was read; every edit makes a new one.","type":"string"},"page_title":{"description":"Title of the Wikipedia page the row comes from.","type":"string"},"passport_code":{"description":"ISO 3166-1 two-letter code of the passport's country, such as CA.","type":"string"},"passport_country":{"description":"The passport's country, such as Canada.","type":"string"},"requirement":{"description":"The entry requirement as the page words it, such as Visa not required, eVisa, Visa on arrival or Visa required.","type":"string"},"requirement_type":{"description":"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.","type":"string"},"source_url":{"description":"Link to the Wikipedia page.","format":"uri","type":"string"}},"required":["destination_country"],"title":"Visa Requirements by Passport","type":"object"},"samples":[{"passport_country":"Canada","passport_code":"CA","destination_country":"Afghanistan","destination_code":"AF","is_territory":false,"requirement":"eVisa","requirement_type":"evisa","allowed_stay":"30 days","allowed_stay_days":30,"notes":"e-Visa : Visitors must arrive at Kabul International (KBL).\nThe 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…","is_reciprocal":false,"page_title":"Visa requirements for Canadian citizens","page_revision_id":"1389514417","page_revised_at":"2026-12-04T03:52:23.000Z","source_url":"https://en.wikipedia.org/wiki/Visa_requirements_for_Canadian_citizens"},{"passport_country":"Canada","passport_code":"CA","destination_country":"Albania","destination_code":"AL","is_territory":false,"requirement":"Visa not required","requirement_type":"visa_free","allowed_stay":"90 days","allowed_stay_days":90,"notes":null,"is_reciprocal":false,"page_title":"Visa requirements for Canadian citizens","page_revision_id":"1389514417","page_revised_at":"2026-12-04T03:52:23.000Z","source_url":"https://en.wikipedia.org/wiki/Visa_requirements_for_Canadian_citizens"},{"passport_country":"Canada","passport_code":"CA","destination_country":"Algeria","destination_code":"DZ","is_territory":false,"requirement":"Visa required","requirement_type":"visa_required","allowed_stay":null,"allowed_stay_days":null,"notes":"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.\nThe visa is issued upon arrival…","is_reciprocal":true,"page_title":"Visa requirements for Canadian citizens","page_revision_id":"1389514417","page_revised_at":"2026-12-04T03:52:23.000Z","source_url":"https://en.wikipedia.org/wiki/Visa_requirements_for_Canadian_citizens"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"allowed_stay":0.67,"allowed_stay_days":0.67,"destination_code":1,"destination_country":1,"is_reciprocal":1,"is_territory":1,"notes":0.67,"page_revised_at":1,"page_revision_id":1,"page_title":1,"passport_code":1,"passport_country":1,"requirement":1,"requirement_type":1,"source_url":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_95c5e382f2ecd862e2b10b99/run","openapi":"https://pullrow.dev/v1/apis/api_95c5e382f2ecd862e2b10b99/openapi.json","contract":"https://pullrow.dev/v1/apis/api_95c5e382f2ecd862e2b10b99/contract.json","page":"https://pullrow.dev/catalog/visa-requirements-by-passport"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["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."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"passport_country","label":"Passport country","description":"The passport's country, such as Canada.","group":"Location","shown":true,"written":false},{"name":"passport_code","label":"Passport code","description":"ISO 3166-1 two-letter code of the passport's country, such as CA.","group":"Basics","shown":true,"written":false},{"name":"destination_country","label":"Destination country","description":"The destination as the page names it; an area inside a country reads \"Country – area\".","group":"Location","shown":true,"written":false},{"name":"destination_code","label":"Destination code","description":"ISO 3166-1 two-letter code of the destination, such as AL; empty for areas inside a country and places without one.","group":"Basics","shown":true,"written":false},{"name":"is_territory","label":"Territory","description":"True for rows from the page's territories table: dependent territories, disputed areas and special zones.","group":"Basics","shown":true,"written":false},{"name":"requirement","label":"Requirement","description":"The entry requirement as the page words it, such as Visa not required, eVisa, Visa on arrival or Visa required.","group":"Basics","shown":true,"written":false},{"name":"requirement_type","label":"Requirement type","description":"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.","group":"Basics","shown":true,"written":false},{"name":"allowed_stay","label":"Allowed stay","description":"How long a visit may last, as the page words it, such as 90 days or 3 months.","group":"Basics","shown":true,"written":false},{"name":"allowed_stay_days","label":"Allowed stay days","description":"The allowed stay in days (a month counts 30, a year 365); empty when unlimited or not given.","group":"Basics","shown":true,"written":false},{"name":"notes","label":"Notes","description":"The page's notes for the destination: conditions, fees, entry points and exceptions, one per line, without references.","group":"Basics","shown":true,"written":false},{"name":"is_reciprocal","label":"Reciprocal","description":"Whether the passport's country treats the destination's citizens the same way, where the page has a reciprocity column.","group":"Basics","shown":true,"written":false},{"name":"page_title","label":"Page title","description":"Title of the Wikipedia page the row comes from.","group":"Basics","shown":true,"written":false},{"name":"page_revision_id","label":"Page revision ID","description":"Id of the page revision that was read; every edit makes a new one.","group":"Technical","shown":false,"written":false},{"name":"page_revised_at","label":"Page revised","description":"When that revision was saved (UTC), that is, the page's latest edit.","group":"Dates","shown":true,"written":false},{"name":"source_url","label":"Source link","description":"Link to the Wikipedia page.","group":"Links","shown":true,"written":false}],"inputs":[{"name":"passports","label":"Passports","help":"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","written":false},{"name":"destinations","label":"Destinations","help":"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","written":false}]}},"incidents":[]}