Vai al contenuto
GET /v1/list

List TLDs (optionally by type)

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/tld-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo 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,
         
…