Quickstart
This guide makes your first call in under a minute. You’ll need an API token — see Authentication to obtain one.
1. Make a request
Section titled “1. Make a request”Fetch metadata for a single country by its ISO code:
curl https://connect.visamundi.io/v3/country/FRA?language=en \ -H "Authorization: Bearer $VISAMUNDI_TOKEN"2. Read the response
Section titled “2. Read the response”{ "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.
3. From JavaScript
Section titled “3. From JavaScript”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"Next steps
Section titled “Next steps”- Explore every endpoint interactively in the API reference — it’s the complete, live source of truth for paths, fields, and responses.