API Analiza TLD
Otrzymuj szczegółową inteligencję o TLD, w tym ceny, ograniczenia, obsługę rejestratorów i statystyki użytkowania. Użyj tej referencji, aby wybrać operację i zintegrować jej udokumentowany kontrakt odpowiedzi.
Operacje
GET /v1/tlds
GET
/v1/tlds
Parametry zapytania
| Parametr | Typ | wymagane |
|---|---|---|
| type |
string
Dozwolone wartości
gtldcctldnew-gtldidn
|
opcjonalne |
| trust_tier |
string
Dozwolone wartości
premiumstandardeconomysuspicious
|
opcjonalne |
| use_case | string | opcjonalne |
Odpowiedź Fields
| Pole | Typ |
|---|---|
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 |
Przykład Request
curl "https://domscan.net/v1/tlds?type=example.com&trust_tier=example.com&use_case=startup"
Example Odpowiedź
{
"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
GET
/v1/tlds/:tld
Parametry zapytania
| Parametr | Typ | wymagane |
|---|---|---|
| tld | string | wymagane |
Odpowiedź Fields
| Pole | Typ |
|---|---|
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 |
Przykład Request
curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/tlds/com"
Example Odpowiedź
{
"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": {}
}