Skip to content

Quickstart

This guide makes your first call in under a minute. You’ll need an API token — see Authentication to obtain one.

Fetch metadata for a single country by its ISO code:

Terminal window
curl https://connect.visamundi.io/v3/country/FRA?language=en \
-H "Authorization: Bearer $VISAMUNDI_TOKEN"
{
"success": true,
"statusCode": 200,
"code": "ok",
"data": {
"country": {
"name": { "common": "France", "official": "French Republic" },
"cca2": "FR",
"cca3": "FRA",
"flag": "🇫🇷",
"latlng": [46.2276, 2.2137]
// ...
}
}
}

On success, code is "ok" and the payload lives under data (here data.country). Check success to branch on errors.

const res = await fetch(
'https://connect.visamundi.io/v3/country/FRA?language=en',
{ headers: { Authorization: `Bearer ${process.env.VISAMUNDI_TOKEN}` } },
);
const body = await res.json();
if (!body.success) throw new Error(body.message);
console.log(body.data.country.name.common); // "France"
  • Explore every endpoint interactively in the API reference — it’s the complete, live source of truth for paths, fields, and responses.

Request API access

Tell us a little about your integration and we'll get back to you within one business day with a partner token.