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.
Script or API?
Section titled “Script or API?”| Entry formalities script | REST API | |
|---|---|---|
| Integration | One <script> tag | Server-to-server HTTP |
| Auth | Allowed domain (no token) | Secret API token |
| Output | Ready-made text in your page | Raw data |
| Best for | Product 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.
How it works
Section titled “How it works”- The script finds the destination country: parameter, meta tag, a regex on your URLs, or the country slug in the URL path (see Configuration).
- It fetches the data from
embed.visamundi.app, which relays the Visamundi API. - 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).
Access
Section titled “Access”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.