API Cykl życia domeny
Otrzymuj szczegółowe informacje o cyklu życia domeny, w tym rejestrację, wygaśnięcie i historię statusu. Użyj tej referencji, aby wybrać operację i zintegrować jej udokumentowany kontrakt odpowiedzi.
Operacje
GET /v1/lifecycle
GET
/v1/lifecycle
Parametry zapytania
| Parametr | Typ | wymagane |
|---|---|---|
| domain | string | wymagane |
Odpowiedź Fields
| Pole | Typ |
|---|---|
domain |
string |
tld |
string |
registered |
string |
expires |
string |
updated |
string |
age_days |
integer |
expires_in_days |
integer |
phase |
string |
status_flags[] |
string[] |
status |
string |
events[] |
object[] |
events[] |
object |
events[].action |
string |
events[].date |
string |
Przykład Request
curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/lifecycle?domain=bbc.co.uk"
Example Odpowiedź
{
"domain": "bbc.co.uk",
"tld": "co.uk",
"registered": "1997-08-01T00:00:00Z",
"expires": "2026-08-01T00:00:00Z",
"updated": "2024-08-01T00:00:00Z",
"age_days": 10515,
"expires_in_days": 474,
"phase": "active",
"status_flags": [
"clientTransferProhibited",
"serverTransferProhibited"
],
"status": "clientTransferProhibited serverTransferProhibited",
"events": [
{
"action": "registration",
"date": "1997-08-01T00:00:00Z"
},
{
"action": "last changed",
"date": "2024-08-01T00:00:00Z"
},
{
"action": "expiration",
"date": "2026-08-01T00:00:00Z"
}
]
}