API referansı

TLD İstihbaratı API ürünü

Fiyatlandırma, kısıtlamalar, kayıt kuruluşu desteği ve kullanım istatistikleri de dahil olmak üzere bir TLD hakkında ayrıntılı istihbarat alın. Bir işlem seçmek ve belgelenen yanıt sözleşmesini entegre etmek için bu referansı kullanın.

İşlemler

GET /v1/tlds

İşlem: getTlds Krediler ve kimlik doğrulama: Ücretsiz Kimlik doğrulama isteğe bağlı
GET /v1/tlds

Sorgu Parametreleri

Parametre Tür gerekli
type string
İzin verilen değerler gtldcctldnew-gtldidn
isteğe bağlı
trust_tier string
İzin verilen değerler premiumstandardeconomysuspicious
isteğe bağlı
use_case string isteğe bağlı

Yanıt Alanları

Alan Tür
tlds[] object[]
tlds[] object
tlds[].tld string
tlds[].type string
tlds[].name string
tlds[].rdap_supported boolean
tlds[].trust_tier string
tlds[].popularity_rank integer
tlds[].registration_usd number
total integer
by_type object
by_type.gTLD integer
by_type.ccTLD integer
by_type.newTLD integer
by_type.idn integer
by_trust_tier object
by_trust_tier.premium integer
by_trust_tier.standard integer
by_trust_tier.economy integer
use_case string
meta object

Örnek İstek

curl "https://domscan.net/v1/tlds?type=example.com&trust_tier=example.com&use_case=startup"

Örnek Yanıt

{
  "tlds": [
    {
      "tld": "com",
      "type": "gTLD",
      "name": "string",
      "rdap_supported": true,
      "trust_tier": "premium",
      "popularity_rank": 1,
      "registration_usd": 1
    }
  ],
  "total": 1,
  "by_type": {
    "gTLD": 1,
    "ccTLD": 1,
    "newTLD": 1,
    "idn": 1
  },
  "by_trust_tier": {
    "premium": 1,
    "standard": 1,
    "economy": 1
  },
  "use_case": "string",
  "meta": {}
}

GET /v1/tlds/:tld

İşlem: getTldDetail Krediler ve kimlik doğrulama: 1 Kimlik doğrulama gerekli
GET /v1/tlds/:tld

Sorgu Parametreleri

Parametre Tür gerekli
tld string gerekli

Yanıt Alanları

Alan Tür
tld string
type string
name string
description string
introduced integer
operator string | null
country string | null
restrictions string
rdap_supported boolean
rdap_endpoint string | null
idn_supported boolean
dnssec_supported boolean
pricing object
pricing.registration_usd number
pricing.renewal_usd number
pricing.transfer_usd number
pricing.currency string
pricing.source string
popularity object
popularity.rank integer
popularity.tier string
popularity.use_cases[] string[]
trust object
trust.score number
trust.tier string
trust.notes string | null
meta object

Örnek İstek

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/tlds/com"

Örnek Yanıt

{
  "tld": "com",
  "type": "gTLD",
  "name": "string",
  "description": "198.51.100.10",
  "introduced": 1,
  "operator": "string",
  "country": "string",
  "restrictions": "string",
  "rdap_supported": true,
  "rdap_endpoint": "string",
  "idn_supported": true,
  "dnssec_supported": true,
  "pricing": {
    "registration_usd": 1,
    "renewal_usd": 1,
    "transfer_usd": 1,
    "currency": "USD",
    "source": "estimate"
  },
  "popularity": {
    "rank": 1,
    "tier": "top10",
    "use_cases": [
      "string"
    ]
  },
  "trust": {
    "score": 1,
    "tier": "premium",
    "notes": "string"
  },
  "meta": {}
}

Referans kaynakları