visaindex.com APIvisaindex.com ↗
Access passport power rankings, visa requirements between any two countries, Golden Visa programs, and eTA information via the VisaIndex API.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/b8215b25-edf0-477f-8b06-a9cae8024021/get_passport_ranking' \ -H 'X-API-Key: $PARSE_API_KEY'
Get the full passport ranking list from VisaIndex. Returns all countries ranked by passport power with their rank, slug, and URL.
No input parameters required.
{
"type": "object",
"fields": {
"rankings": "array of objects with country (string), rank (string), slug (string), url (string)"
},
"sample": {
"data": {
"rankings": [
{
"url": "https://visaindex.com/country/singapore-passport-ranking/",
"rank": "1",
"slug": "singapore",
"country": "Singapore"
},
{
"url": "https://visaindex.com/country/japan-passport-ranking/",
"rank": "2",
"slug": "japan",
"country": "Japan"
}
]
},
"status": "success"
}
}About the visaindex.com API
The VisaIndex API covers 8 endpoints that expose passport power rankings, bilateral visa requirement checks, destination visa guides, Golden Visa residency programs, and eTA overviews sourced from VisaIndex.com. The get_country_passport_details endpoint, for example, returns a country's global rank, total visa-free destinations, and categorized lists of countries across five access tiers — visa free, visa on arrival, eTA, visa online, and visa required.
Passport Rankings and Country Details
The get_passport_ranking endpoint returns the full global ranking list — every country with its rank, slug, and URL. To drill into a specific passport, get_country_passport_details accepts a country_slug (e.g., 'singapore', 'united-states-of-america') and returns the country's rank, total_visa_free destinations, and a categories object broken into five keys: visa_free, visa_on_arrival, eta, visa_online, and visa_required. Each category includes a count and an array of countries.
Visa Requirements and Destination Guides
check_visa_requirement takes an origin_country and a destination_country using VisaIndex's exact naming conventions (e.g., 'United States of America', not 'United States') and returns a status string such as 'Visa is required' or 'Visa is not required'. Name mismatches return a 404, so consulting the rankings list first to confirm the exact country name is advisable. For richer destination context, get_visa_destination_info accepts a country_slug (e.g., 'schengen', 'canada', 'us') and returns a content object mapping section titles to text covering visa types, fees, requirements, and the application process.
Golden Visa Programs and eTA
list_golden_visa_programs returns all available Residency by Investment programs as an array of name, slug, and URL. get_golden_visa_info then accepts a country_slug (e.g., 'portugal', 'uae', 'malta') and returns structured content sections on eligibility, investment thresholds, benefits, and application steps. The get_eta_info endpoint requires no inputs and returns general eTA information — eligibility criteria, fees, requirements, and validity periods — as a sectioned content object.
- Build a passport comparison tool showing visa-free destination counts by country using
get_country_passport_details - Automate travel eligibility checks for a given nationality/destination pair with
check_visa_requirement - Populate a Golden Visa comparison dashboard using
list_golden_visa_programsandget_golden_visa_info - Generate destination-specific visa guides for a travel app using
get_visa_destination_info - Show ranked passport strength tables in a relocation advisory tool using
get_passport_ranking - Identify eTA-eligible travelers versus those requiring full visas using the
etacategory fromget_country_passport_details
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does VisaIndex have an official developer API?+
What exactly does `check_visa_requirement` return, and how strict is country naming?+
origin, destination, status (e.g., 'Visa is required' or 'Visa is not required'), and a url to the source page. Country names must match VisaIndex's exact format — for instance, 'United States of America' rather than 'United States', and 'South Korea' rather than 'Korea'. Passing an unrecognized name combination returns a 404. Running get_passport_ranking first to confirm exact slugs and names reduces errors.Does the API return historical passport ranking data or changes over time?+
Does `get_country_passport_details` return individual country names within each visa category?+
visa_free, visa_on_arrival, eta, visa_online, visa_required) in the categories object includes both a count string and a countries array listing the specific countries in that tier.