/v1/compare
Rank passports by mobility
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/visa-api/v1/compare" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/visa-api/v1/compare", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/visa-api/v1/compare");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/visa-api/v1/compare",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"count": 4,
"results": [
{
"rank": 1,
"passport": {
"code": "DEU",
"iso2": "DE",
"name": "Germany",
"region": "Europe"
},
"by_category": {
"eta": 8,
"e_visa": 18,
"visa_free": 126,
"visa_required": 15,
"visa_on_arrival": 31
},
"mobility_score": 183
},
{
"rank": 2,
"passport": {
"code": "JPN",
"iso2": "JP",
"name": "Japan",
"region": "Asia"
},
"by_category": {
"eta": 9,
"e_visa": 18,
"visa_free": 117,
"visa_required": 16,
"visa_on_arrival": 38
},
"mobility_score": 182
},
{
"rank": 3,
"passport": {
"code": "SGP",
"iso2": "SG",
"name": "Singapore",
"region": "Asia"
},
"by_category": {
"eta": 8,
"e_visa": 16,
"visa_free": 130,
"visa_required": 17,
"visa_on_arrival": 27
},
"mobility_score": 181
},
{
"rank": 4,
"passport": {
"code": "USA",
"iso2": "US",
"name": "United States",
"region": "Americas"
},
"by_category": {
"eta": 7,
"e_visa": 20,
"visa_free": 116,
"visa_required": 19,
"visa_on_arrival": 36
},
"mobility_score": 179
}
]
},
"meta": {
"timestamp": "2026-05-30T22:48:33.322Z",
"request_id": "a5054935-d652-4414-8937-eac191907307"
},
"status": "ok",
"message": "Comparison completed",
"success": true
}