Skip to content

Entry formalities script

The entry formalities script (infos.js) is a deeper integration of the Visamundi API into your own product pages, with no technical work on your side: one script tag, no backend call, no token. It displays, as plain text on the page, what a traveller needs to enter the destination country:

  • Visa verdict: visa-free (with the allowed stay), visa on arrival, e-visa or eTA, visa required.
  • Visas and authorisations: duration, validity, fee, whether it is online, documents to provide.
  • Vaccines: mandatory ones listed, recommended ones in a closed accordion.
  • Customs: alcohol, tobacco, currency and medicines limits.

The output is basic HTML (<p>, <strong>, <ul>, native <details>), with no iframe, so it inherits your site’s fonts and can be styled with your own CSS. Text is available in French and English.

Entry formalities scriptREST API
IntegrationOne <script> tagServer-to-server HTTP
AuthAllowed domain (no token)Secret API token
OutputReady-made text in your pageRaw data
Best forProduct pages of partner sites and of platforms’ clients, such as Orchestra (tours, hotels, destination guides)Custom apps and backends

For an interactive lookup form, see the visa widget.

  1. The script finds the destination country: parameter, meta tag, a regex on your URLs, or the country slug in the URL path (see Configuration).
  2. It fetches the data from embed.visamundi.app, which relays the Visamundi API.
  3. It writes the text into your container. If anything fails, nothing is displayed and your page is left untouched.

Responses are cached for one hour (CDN, browser and sessionStorage).

The widget is available to partner sites: the domains allowed to call the service are registered by Visamundi (see Allowed domains). Contact us to register yours.

Next: Installation and Configuration.

Request API access

Full access is free in most cases: it's for travel professionals who also offer Visamundi's visa assistance to their customers. Tell us about your business and we'll get back to you within one business day.

Just want to try it? Get a trial key now (India, 100 requests/month).

Get a trial key

No sales call: we're engineers, we'd rather you judge the data on a real request. Confirm your email and your key is ready.

  • India as a destination
  • 100 requests / month
  • No card needed
Lost your key?

What's included · Travel pro? Full access is free in most cases: request it