List domains


Use this endpoint to list all domains in your account.

curl -X GET \
  '' \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
import requests

url = ""

querystring = {"include_validation":"true"}

headers = {
    'X-DC-DEVKEY': "{{api_key}}",
    'Content-Type': "application/json"

response = requests.request("GET", url, headers=headers, params=querystring)

package main

import (

func main() {

	url := ""

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-DC-DEVKEY", "{{api_key}}")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := ioutil.ReadAll(res.Body)


var request = require("request");

var options = { method: 'GET',
  url: '',
  qs: { include_validation: 'true' },
   { 'Content-Type': 'application/json',
     'X-DC-DEVKEY': '{{api_key}}' } };

request(options, function (error, response, body) {
  if (error) throw new Error(error);

200 OK
  "domains": [
      "id": 2,
      "is_active": true,
      "name": "",
      "date_created": "2018-11-08T23:38:02+00:00",
      "organization": {
        "id": 516680,
        "status": "active",
        "name": "Example Company, Inc.",
        "display_name": "Example Company, Inc.",
        "is_active": "1"
      "container": {
        "id": 93288,
        "parent_id": 0,
        "name": "DigiCert Inc.",
        "is_active": true
      "id": 1,
      "is_active": true,
      "name": "",
      "date_created": "2018-11-01T17:44:31+00:00",
      "organization": {
        "id": 516681,
        "status": "active",
        "name": "Lackadaisically Fumiest Inc.",
        "assumed_name": "Lackadaisically Fumiest",
        "display_name": "Lackadaisically Fumiest Inc. (Lackadaisically Fumiest)",
        "is_active": "1"
      "container": {
        "id": 93288,
        "parent_id": 0,
        "name": "DigiCert Inc.",
        "is_active": true
  "page": {
    "total": 2,
    "limit": 1000,
    "offset": 0

URL query strings

Name Req/Opt Type Description
container_id optional int List domains assigned to the specified container.
include_validation optional bool Includes validation info if true.
Default: false
limit optional int Start list at the specified number for pagination.
offset optional int Truncate list to the specified number for pagination.

Response parameters

Name Type Description
domains array List of domains returned by request.
.. id int Domain ID.
.. is_active bool Active status of the domain.
.. status string Validation status of the domain.
.. name string Name of the domain.
.. date_created string Timestamp of when the domain was added.
Format: UTC timezone and ISO 8601 date
.. organization object Organization attached to the domain.
.. .. id int Organization ID.
.. .. status string Validation status of the organization.
.. .. name string Legal name of the organization.
.. .. assumed_name string Public name of the organization.
Also called DBA name.
.. .. display_name string Full name of the organization.
Constructed using name + assumed_name.
.. is_active string Active status of the organization.
.. validations array List of validation details for the domain.
Only returned if URL query include_validation=true.
See Structures – Validations object
.. dcv_method string Domain control validation method configured for the domain.
See Glossary – DCV methods
.. dcv_token object If DCV method uses a random value token, this object is returned and contains token information.
.. .. token string Random value used to prove control over the domain.
.. .. status string Status of the domain validation process.
.. .. expiration_date string Timestamp of when the token will expire.
Format: UTC timezone and ISO 8601 date
.. container object Container the domain is attached to.
.. .. id int Container ID.
.. .. parent_id int ID of the container's parent.
.. .. name string Name of the container.
.. .. is_active bool Active status of the container.
page object Details about results.
Modified using URL query strings.