/v1/list
List TLDs (optionally by type)
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/tld-api/v1/list" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/tld-api/v1/list", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/tld-api/v1/list");
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/tld-api/v1/list",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"tlds": [
{
"idn": false,
"tld": "ac",
"type": "cctld",
"country": "Ascension Island",
"unicode": "ac"
},
{
"idn": false,
"tld": "ad",
"type": "cctld",
"country": "Andorra",
"unicode": "ad"
},
{
"idn": false,
"tld": "ae",
"type": "cctld",
"country": "United Arab Emirates",
"unicode": "ae"
},
{
"idn": false,
"tld": "af",
"type": "cctld",
"country": "Afghanistan",
"unicode": "af"
},
{
"idn": false,
"tld": "ag",
"type": "cctld",
"country": "Antigua & Barbuda",
"unicode": "ag"
},
{
"idn": false,
"tld": "ai",
"type": "cctld",
"country": "Anguilla",
"unicode": "ai"
},
{
"idn": false,
"tld": "al",
"type": "cctld",
"country": "Albania",
"unicode": "al"
},
{
"idn": false,
"tld": "am",
"type": "cctld",
"country": "Armenia",
"unicode": "am"
},
{
"idn": false,
"tld": "ao",
"type": "cctld",
"country": "Angola",
"unicode": "ao"
},
{
"idn": false,
"tld": "aq",
"type": "cctld",
"country": "Antarctica",
"unicode": "aq"
},
{
"idn": false,
"tld": "ar",
"type": "cctld",
"country": "Argentina",
"unicode": "ar"
},
{
"idn": false,
"tld": "as",
"type": "cctld",
"country": "American Samoa",
"unicode": "as"
},
{
"idn": false,
"tld": "at",
"type": "cctld",
"country": "Austria",
"unicode": "at"
},
{
"idn": false,
"tld": "au",
"type": "cctld",
"country": "Australia",
"unicode": "au"
},
{
"idn": false,
"tld": "aw",
"type": "cctld",
"country": "Aruba",
"unicode": "aw"
},
{
"idn": false,
…