| [ Web Proxy ] |
| Viewing: https://developers.cloudflare.com/api/resources/registrar/subresources/registrations/methods/get | [Back] [Original] |
Returns the current state of a domain registration.
This is the canonical read endpoint for a domain you own. It returns
the full registration resource including current settings and expiration.
When the registration resource is ready, both created_at and expires_at
are present in the response.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYYThe previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
X-Auth-Email: user@example.comThe previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194A domain registration resource representing the current state of a registered domain.
When the domain was registered. Present when the registration resource exists.
Fully qualified domain name (FQDN) including the extension
(e.g., example.com, mybrand.app). The domain name uniquely
identifies a registration the same domain cannot be registered
twice, making it a natural idempotency key for registration requests.
When the domain registration expires. Present when the registration is ready; may be null only while status is registration_pending.
Current registration status.
active: Domain is registered and operationalregistration_pending: Registration is in progressexpired: Domain has expiredsuspended: Domain is suspended by the registryredemption_period: Domain is in the redemption grace periodpending_delete: Domain is pending deletion by the registrycurl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/registrar/registrations/$DOMAIN_NAME \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN"{
"errors": [],
"messages": [],
"result": {
"auto_renew": true,
"created_at": "2025-01-15T10:00:00Z",
"domain_name": "example.com",
"expires_at": "2026-01-15T10:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
"success": true
}{
"errors": [
{
"code": 10000,
"message": "Domain not found"
}
],
"messages": [],
"result": null,
"success": false
}{
"errors": [
{
"code": 10000,
"message": "Invalid domain name"
}
],
"messages": [],
"result": null,
"success": false
}{
"errors": [],
"messages": [],
"result": {
"auto_renew": true,
"created_at": "2025-01-15T10:00:00Z",
"domain_name": "example.com",
"expires_at": "2026-01-15T10:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
"success": true
}{
"errors": [
{
"code": 10000,
"message": "Domain not found"
}
],
"messages": [],
"result": null,
"success": false
}{
"errors": [
{
"code": 10000,
"message": "Invalid domain name"
}
],
"messages": [],
"result": null,
"success": false
}| Web Proxy Viewer | New URL | Original Page |