APIHub
Back to Explore

Domains

The Domains API provides read‑only access to domain records, letting you retrieve a list of current domains with optional filtering by creation or update timestamps, sorting, pagination, and archive status, as well as fetch the details of an individual domain by its unique ID.

Uncategorized
apiKeyQuery
HTTPS
CORS: Unknown
Description enriched
Visit official documentation

Latency

393ms p95

Uptime

100.0% 30d

Playground

Verified

live

Endpoints

REST · JSON
GET

/cms/v3/domains/

Get current domains

  • createdAt (query) — Only return domains created at this date.
  • createdAfter (query) — Only return domains created after this date.
  • createdBefore (query) — Only return domains created before this date.
  • updatedAt (query) — Only return domains updated at this date.
  • updatedAfter (query) — Only return domains updated after this date.
  • updatedBefore (query) — Only return domains updated before this date.
  • sort (query)
  • after (query) — The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results.
  • limit (query, limit) — Maximum number of results per page.
  • archived (query) — Whether to return only results that have been archived.
GET

/cms/v3/domains/{domainId}

Get a single domain

  • domainId (path, required) — The unique ID of the domain.

2 endpoints auto-detected

Authentication

This API uses an API key, passed as the "hapikey" query parameter. No OAuth required.

curl -X GET \
  "https://api.hubapi.com/cms/v3/domains/?hapikey=YOUR_API_KEY"

api.hubapi.com · HTTPS only