Domain Names: Retrieve All
This documentation entry provides a comprehensive guide to using the "Retrieve All" domain names endpoint, including all relevant details about the request, response, and data structures.
Endpoint
GET /api/domain-names/
/api/domain-names/Retrieve a list of all domain names associated with your account.
Request
HTTP Request
GET https://uptimekeep.com/api/domain-names/Headers
Authorization
String
Bearer token for API authentication.
Query Parameters
page
Integer
(Optional) The page number to retrieve.
1
results_per_page
Integer
(Optional) Number of results per page. Allowed values: 10, 25, 50, 100, 250, 500, 1000.
25
Example of a request:
curl --request GET \
--url 'https://uptimekeep.com/api/domain-names/' \
--header 'Authorization: Bearer {api_key}'Response
A successful response returns a JSON object with the list of domain names and associated metadata.
Response Example
Fields
Data Object
id
Integer
Unique identifier for the domain name.
project_id
Integer
ID of the associated project (if applicable).
name
String
Name of the domain.
target
String
The domain name being monitored.
whois
Object
WHOIS information for the domain (see below for details).
whois_notifications
Array
Notification settings for WHOIS changes.
ssl
Object
SSL certificate information for the domain (see below for details).
ssl_notifications
Array
Notification settings for SSL certificate changes.
total_checks
Integer
Total number of checks performed.
last_check_datetime
String
Timestamp of the last domain check (in YYYY-MM-DD HH:MM:SS format).
next_check_datetime
String
Timestamp of the next scheduled domain check (in YYYY-MM-DD HH:MM:SS format).
is_enabled
Boolean
Indicates if the domain monitoring is currently active.
last_datetime
String
Timestamp of the last update to the domain monitor (in YYYY-MM-DD HH:MM:SS format).
datetime
String
Timestamp when the domain monitor was created (in YYYY-MM-DD HH:MM:SS format).
WHOIS Object
start_datetime
String
Start date of the domain registration.
updated_datetime
String
Last updated date of the WHOIS record.
end_datetime
String
Expiration date of the domain registration.
registrar
String
Registrar managing the domain.
nameservers
Array
List of nameservers associated with the domain.
SSL Object
organization
String
Organization that issued the SSL certificate.
common_name
String
Common name of the SSL certificate.
start_datetime
String
Start date of the SSL certificate.
end_datetime
String
Expiration date of the SSL certificate.
Meta Object
page
Integer
Current page number of the results.
results_per_page
Integer
Number of results per page.
total
Integer
Total number of domain names.
total_pages
Integer
Total number of pages available based on the current query.
Links Object
first
String
URL of the first page of results.
last
String
URL of the last page of results.
next
String
URL of the next page of results (if applicable).
prev
String
URL of the previous page of results (if applicable).
self
String
URL of the current page of results.
Errors
If the request fails, the API will return an error message with an appropriate HTTP status code.
Last updated