Skip to content

Entry formalities script installation

<div id="visamundi-infos"></div>
<script async src="https://embed.visamundi.app/infos.js"
data-target="#visamundi-infos"
data-lang="en"></script>

If you omit data-target, the block is inserted just before the <script> tag. With no other attribute, the destination is auto-detected and the nationality is FRA (see Configuration).

<script async src="https://embed.visamundi.app/infos.js"
data-target="#visamundi-infos"
data-country="EG"
data-nationality="FRA"
data-lang="en"></script>

Several countries (e.g. a multi-country tour) render one block each, with a title:

<script async src="https://embed.visamundi.app/infos.js" data-country="TH,VN"></script>
<!-- verdict sentence and vaccines only -->
<script async src="https://embed.visamundi.app/infos.js" data-sections="visa,vaccines"></script>

If data-target matches several elements (for instance a desktop panel and a mobile accordion that both contain the same section), each of them is filled with the same data, fetched once.

Disable the automatic run and call init when your container exists:

<script async src="https://embed.visamundi.app/infos.js" data-manual></script>
<script>
VisamundiInfo.init({ target: '#visamundi-infos', country: 'JP', lang: 'en' });
</script>

init takes the same options as the data-* attributes, in camelCase (isoPattern, detectJsonld, apiBase…).

The service only answers browsers on registered domains (the Origin / Referer hostname). Any other origin receives 403 origin_not_allowed, with no data and no CORS headers. Subdomains are covered only when registered with a wildcard (*.example.com). To add or change a domain, contact Visamundi.

For local development, ask us for an allowed test host: localhost is not accepted by the production service.

The default CSS is minimal and scoped to the vm-info classes. Set data-style="none" to remove it and style the vm-info__* classes yourself.

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