Zum Hauptinhalt springen
POST
/
companies
/
v2
/
domains
/
{domain}
/
companies
Search for companies by domain
curl --request POST \
  --url https://api.hubapi.com/companies/v2/domains/{domain}/companies \
  --header 'Content-Type: application/json' \
  --data '
{
  "limit": 123,
  "requestOptions": {
    "properties": [
      "<string>"
    ]
  },
  "offset": {
    "isPrimary": true,
    "companyId": 123
  }
}
'
[
  {
    "limit": 2,
    "requestOptions": {
      "properties": [
        "domain",
        "createdate",
        "name",
        "hs_lastmodifieddate"
      ]
    },
    "offset": {
      "isPrimary": true,
      "companyId": 0
    }
  },
  {
    "value": "1502872954691",
    "timestamp": 1502872954691,
    "source": "CALCULATED",
    "sourceId": null,
    "versions": [
      {
        "name": "hs_lastmodifieddate",
        "value": "1502872954691",
        "timestamp": 1502872954691,
        "source": "CALCULATED",
        "sourceVid": []
      }
    ]
  },
  {
    "value": "hubspot.com",
    "timestamp": 1457708103847,
    "source": "COMPANIES",
    "sourceId": null,
    "versions": [
      {
        "name": "domain",
        "value": "hubspot.com",
        "timestamp": 1457708103847,
        "source": "COMPANIES",
        "sourceVid": []
      }
    ]
  },
  {
    "value": "Hubspot, Inc.",
    "timestamp": 1457708103906,
    "source": "BIDEN",
    "sourceId": "name",
    "versions": [
      {
        "name": "name",
        "value": "Hubspot, Inc.",
        "timestamp": 1457708103906,
        "sourceId": "name",
        "source": "BIDEN",
        "sourceVid": []
      }
    ]
  },
  {
    "value": "1457708103847",
    "timestamp": 1457708103847,
    "source": "API",
    "sourceId": null,
    "versions": [
      {
        "name": "createdate",
        "value": "1457708103847",
        "timestamp": 1457708103847,
        "source": "API",
        "sourceVid": []
      }
    ]
  },
  {
    "value": "1498644245669",
    "timestamp": 1498644245669,
    "source": "CALCULATED",
    "sourceId": null,
    "versions": [
      {
        "name": "hs_lastmodifieddate",
        "value": "1498644245669",
        "timestamp": 1498644245669,
        "source": "CALCULATED",
        "sourceVid": []
      }
    ]
  },
  {
    "value": "hubspot.com",
    "timestamp": 1490280388204,
    "source": "API",
    "sourceId": null,
    "versions": [
      {
        "name": "domain",
        "value": "hubspot.com",
        "timestamp": 1490280388204,
        "source": "API",
        "sourceVid": []
      }
    ]
  },
  {
    "value": "qweqwe2323",
    "timestamp": 1490280388204,
    "source": "API",
    "sourceId": null,
    "versions": [
      {
        "name": "name",
        "value": "qweqwe2323",
        "timestamp": 1490280388204,
        "source": "API",
        "sourceVid": []
      }
    ]
  },
  {
    "value": "1490280388204",
    "timestamp": 1490280388204,
    "source": "API",
    "sourceId": "API",
    "versions": [
      {
        "name": "createdate",
        "value": "1490280388204",
        "timestamp": 1490280388204,
        "sourceId": "API",
        "source": "API",
        "sourceVid": []
      }
    ]
  },
  {
    "companyId": 418736767,
    "isPrimary": true
  }
]

Pfadparameter

domain
string
erforderlich

The domain to search for companies by.

Body

application/json
limit
integer
erforderlich

The number of records to return in a single request. Supports values up to 100.

requestOptions
object

A list of properties that will be included for the returned companies.

offset
object

Each response will include a hasMore value and an offset object.

Antwort

200 - application/json

Successful response

The response is of type object.

Last modified on April 9, 2026