Find an API

Search public APIs with auth details & Postman guides

← All APIs

Domains

hubapi · Company

Company No Auth Free & Open API

Domains API

Authentication

No authentication requiredFree to use with no key needed.

Sample Requests

GET Get current domains

Returns all existing domains that have been created. Results can be limited and filtered by creation or updated date.

https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains?sort=desc&after=example&limit=10&archived=true&createdAt=example&updatedAt=example&createdAfter=example&updatedAfter=example&createdBefore=example&updatedBefore=example

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/?sort=desc&after=example&limit=10&archived=true&createdAt=example&updatedAt=example&createdAfter=example&updatedAfter=example&createdBefore=example&updatedBefore=example"
import requests
params = {
    "sort": "desc",
    "after": "example",
    "limit": "10",
    "archived": "true",
    "createdAt": "example",
    "updatedAt": "example",
    "createdAfter": "example",
    "updatedAfter": "example",
    "createdBefore": "example",
    "updatedBefore": "example"
}
response = requests.get(
    "https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/",
    params=params,
)
print(response.json())
const url = new URL('https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/');
url.searchParams.set('sort', 'desc');
url.searchParams.set('after', 'example');
url.searchParams.set('limit', '10');
url.searchParams.set('archived', 'true');
url.searchParams.set('createdAt', 'example');
url.searchParams.set('updatedAt', 'example');
url.searchParams.set('createdAfter', 'example');
url.searchParams.set('updatedAfter', 'example');
url.searchParams.set('createdBefore', 'example');
url.searchParams.set('updatedBefore', 'example');

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
	"net/url"
)

func main() {
	baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/")
	q := baseURL.Query()
	q.Set("sort", "desc")
	q.Set("after", "example")
	q.Set("limit", "10")
	q.Set("archived", "true")
	q.Set("createdAt", "example")
	q.Set("updatedAt", "example")
	q.Set("createdAfter", "example")
	q.Set("updatedAfter", "example")
	q.Set("createdBefore", "example")
	q.Set("updatedBefore", "example")
	baseURL.RawQuery = q.Encode()
	targetURL := baseURL.String()
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/")
uri.query = URI.encode_www_form({
  "sort" => "desc",
  "after" => "example",
  "limit" => "10",
  "archived" => "true",
  "createdAt" => "example",
  "updatedAt" => "example",
  "createdAfter" => "example",
  "updatedAfter" => "example",
  "createdBefore" => "example",
  "updatedBefore" => "example"
})

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/?" . http_build_query([
    "sort" => "desc",
    "after" => "example",
    "limit" => "10",
    "archived" => "true",
    "createdAt" => "example",
    "updatedAt" => "example",
    "createdAfter" => "example",
    "updatedAfter" => "example",
    "createdBefore" => "example",
    "updatedBefore" => "example"
]);
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET Get a single domain

Returns a single domains with the id specified.

https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/{domainId}

Hover any highlighted part to learn what it does

curl -X GET "https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/{domainId}"
import requests
response = requests.get(
    "https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/{domainId}",
)
print(response.json())
const url = 'https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/{domainId}';

const response = await fetch(url); 
const data = await response.json();
console.log(data);
package main

import (
	"fmt"
	"io"
	"net/http"
)

func main() {
	targetURL := "https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/{domainId}"
	req, _ := http.NewRequest("GET", targetURL, nil)

	client := &http.Client{}
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	body, _ := io.ReadAll(resp.Body)
	fmt.Println(string(body))
}
require "net/http"
require "json"

uri = URI("https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/{domainId}")

http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"

req = Net::HTTP::Get.new(uri)

res = http.request(req)
puts JSON.parse(res.body)
<?php
$url = "https://api.apis.guru/v2/specs/hubapi.com/cms/v3/cms/v3/domains/{domainId}";
$opts = ["http" => [
    "method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));

Postman Setup Guide

Get Postman ↗
  1. See official documentation for authentication and setup.

What can you build with Domains?

Domains is a Company API. Developers commonly use company APIs for:

  • enriching CRM records with company firmographics
  • building lead-generation and prospecting tools
  • verifying business identity and registration details
  • monitoring competitors and market intelligence
  • powering B2B data enrichment pipelines

No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Domains is free to use, making it a low-risk choice to experiment with.

New to APIs? Read our beginner's guide

Open documentation ↗