> For the complete documentation index see https://domscan.net/llms.txt. Markdown versions of every docs page are available by appending .md to the page URL.

Source: https://domscan.net/pt/docs/lifecycle

# Ciclo de vida do domínio

API da DomScan: Obtenha a data de registro, o vencimento, a idade do domínio, os dias restantes e a fase atual do ciclo de vida.

Obtenha a data de registro, o vencimento, a idade do domínio, os dias restantes e a fase atual do ciclo de vida. A resposta inclui os indicadores de estado fornecidos pelo registro.

GET /v1/lifecycle

#### Parâmetros de consulta

| Parâmetro | Tipo | Descrição |
| --- | --- | --- |
| domain obrigatório | string | Domínio cujo ciclo de vida será consultado (por exemplo, "example.com") |

#### Exemplo de resposta

```json
{
  "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": "expiration", "date": "2026-08-01T00:00:00Z" }
  ]
}
```

#### Campos da resposta

| Campo | Tipo |
| --- | --- |
| `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 |
| `meta` | object |
| `meta.served_by` | string |
