Skip to main content
GET
/
api
/
domains
/
{domain_id}
/
changes
/
whois
cURL
curl --request GET \
  --url https://domainwarden.app/api/domains/{domain_id}/changes/whois \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "019a11e5-1234-5678-9012-123456789012",
      "domain_id": 1,
      "field_changed": "registrar",
      "old_value": "Old Registrar Inc.",
      "new_value": "New Registrar LLC",
      "identifier": "abc123def456",
      "created_at": "2024-10-27 12:00:00",
      "created_at_human": "2 hours ago"
    },
    {
      "id": "019a11e5-5678-1234-9012-987654321012",
      "domain_id": 1,
      "field_changed": "nameservers",
      "old_value": "[\"ns1.old.com\",\"ns2.old.com\"]",
      "new_value": "[\"ns1.new.com\",\"ns2.new.com\"]",
      "identifier": "xyz789ghi012",
      "created_at": "2024-10-26 08:30:00",
      "created_at_human": "1 day ago"
    }
  ],
  "links": {
    "first": "http://example.com/api/domain/1/changes/whois?page=1",
    "last": "http://example.com/api/domain/1/changes/whois?page=3",
    "prev": null,
    "next": "http://example.com/api/domain/1/changes/whois?page=2"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 3,
    "per_page": 15,
    "to": 15,
    "total": 42
  }
}

Authorizations

Authorization
string
header
required

You can obtain your API Token from your Domainwarden account settings.

Path Parameters

domain_id
string
required

The ID of the domain.

domain
integer
required

The ID of the domain.

Query Parameters

per_page
integer

Number of items per page (default: 15, max: 100).

Example:

20

page
integer

Page number for pagination.

Example:

1

Response

data
object[]
Example:
[
{
"id": "019a11e5-1234-5678-9012-123456789012",
"domain_id": 1,
"field_changed": "registrar",
"old_value": "Old Registrar Inc.",
"new_value": "New Registrar LLC",
"identifier": "abc123def456",
"created_at": "2024-10-27 12:00:00",
"created_at_human": "2 hours ago"
},
{
"id": "019a11e5-5678-1234-9012-987654321012",
"domain_id": 1,
"field_changed": "nameservers",
"old_value": "[\"ns1.old.com\",\"ns2.old.com\"]",
"new_value": "[\"ns1.new.com\",\"ns2.new.com\"]",
"identifier": "xyz789ghi012",
"created_at": "2024-10-26 08:30:00",
"created_at_human": "1 day ago"
}
]
meta
object