There's a new version of the HubSpot API

Starting November 30, 2022, API keys will be sunset as an authentication method. Learn more about this change and how to migrate an API key integration to use a private app instead.

Search for companies by domain

Last updated June 17, 2020

POST /companies/v2/domains/:domain/companies

Method Details

HTTP Methods:


Content Type:


Response Format:


Requires Authentication?


Rate Limited?





Marketing & CRM

Required Scope:

This endpoint is used to search for companies by domain name.

Use case for this endpoint: This can be used to search for existing companies based on an exact match to the domain property.

Response details

If the request is successful, this method returns a list of company records, since the domain isn't required to be unique. Up to 100 records can be included in a single response.

Required parameters How to use Description
OAuth Access Token or API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
Used to authenticate the request. Please see this page for more details about authentication.
Limit "limit": 100
Included in the request body
The number of records to return in a single request. Supports values up to 100.
Properties "requestOptions": {
  "properties": []

Included in the request body
A list of properties that will be included for the returned companies. By default, no properties will be included in the response, so you must specify any properties that you want.
Offset "offset": {
  "isPrimary": true,
  "companyId": 0

Included in the request body
Each response will include a hasMore value and an offset object. If hasMore is true, then you would use the offset object in the next request to get the next set of results.