You can retrieve all visa requirements for all countries using the Procedures endpoint with specific filters. However, due to API response size limitations, it's recommended to break down requests by selecting a few countries at a time.
Use these filters to get visa requirements:
Filter | Value |
---|---|
country | (select countries) |
category | DOC_REQUIRED |
documentType | VISA, E_VISA, EMBASSY_VISA, ETA |
Note: Attempting to retrieve all procedures for all countries in a single request will likely fail due to exceeding the API response's maximum size limit.
A UK traveler is planning a trip from London Heathrow to JFK on August 30, 2022, for tourism purposes.
Filter | Value |
---|---|
country | US |
category | DOC_REQUIRED |
nationalities | GBR |
documentType | VISA, E_VISA, EMBASSY_VISA, ETA |
The API returns two procedures with these IDs:
Procedure 33a0e979-29eb-430d-a636-eb075baff42f
TRANSIT
Procedure 5683d46a-9338-41b1-a1f5-897a598e9a57
TOURISM
Use the travelPurpose
property to filter procedures:
data.attributes.travelPurpose
equals "TRANSIT"
data.attributes.travelPurpose
equals "TOURISM"
The API response includes both active and upcoming procedures. Use data.attributes.startDate
to differentiate between:
A traveler is viewing tour details for Cambodia. The departure location is unknown, nationality will be selected via dropdown, and there are no specific tour dates (tours run monthly).
Filter | Value |
---|---|
country | KHM |
category | DOC_REQUIRED |
nationalities | GBR |
documentType | VISA, E_VISA, EMBASSY_VISA, ETA |
The API returns two procedures with these IDs:
Procedure 53aa1073-d0a5-4a08-af40-773448a6db45
E_VISA
Procedure bfd08ae5-122e-44cd-8b3f-88ec386d59a0
VISA
Display both visa options to travelers since multiple visa types are available for this itinerary.
The API response includes both active and upcoming procedures. Use data.attributes.startDate
to differentiate between: