GET
/
companies
/
v2
/
companies
/
paged
Get all companies
curl --request GET \
  --url https://api.hubapi.com/companies/v2/companies/paged
"\nExample GET URL:\nhttps://api.hubapi.com/companies/v2/companies/paged?properties=name&properties=website&limit=2\n\nExample Response:\n{\n  \"companies\": [\n    {\n      \"portalId\": 62515,\n      \"additionalDomains\": [\n        \n      ],\n      \"properties\": {\n        \"website\": {\n          \"sourceId\": null,\n          \"timestamp\": 1457513066540,\n          \"versions\": [\n            {\n              \"timestamp\": 1457513066540,\n              \"sourceVid\": [\n                \n              ],\n              \"name\": \"website\",\n              \"value\": \"example.com\",\n              \"source\": \"COMPANIES\"\n            }\n          ],\n          \"value\": \"example.com\",\n          \"source\": \"COMPANIES\"\n        },\n        \"name\": {\n          \"sourceId\": \"name\",\n          \"timestamp\": 1464484587592,\n          \"versions\": [\n            {\n              \"name\": \"name\",\n              \"sourceId\": \"name\",\n              \"timestamp\": 1464484587592,\n              \"value\": \"Example Company\",\n              \"source\": \"BIDEN\",\n              \"sourceVid\": [\n                \n              ]\n            }\n          ],\n          \"value\": \"Example Company\",\n          \"source\": \"BIDEN\"\n        }\n      },\n      \"isDeleted\": false,\n      \"companyId\": 115200636\n    },\n    {\n      \"portalId\": 62515,\n      \"additionalDomains\": [\n        \n      ],\n      \"properties\": {\n        \"website\": {\n          \"sourceId\": null,\n          \"timestamp\": 1457535205549,\n          \"versions\": [\n            {\n              \"timestamp\": 1457535205549,\n              \"sourceVid\": [\n                \n              ],\n              \"name\": \"website\",\n              \"value\": \"test.com\",\n              \"source\": \"COMPANIES\"\n            }\n          ],\n          \"value\": \"test.com\",\n          \"source\": \"COMPANIES\"\n        },\n        \"name\": {\n          \"sourceId\": \"name\",\n          \"timestamp\": 1468832771769,\n          \"versions\": [\n            {\n              \"name\": \"name\",\n              \"sourceId\": \"name\",\n              \"timestamp\": 1468832771769,\n              \"value\": \"Test Company\",\n              \"source\": \"BIDEN\",\n              \"sourceVid\": [\n                \n              ]\n            }\n          ],\n          \"value\": \"Test Company\",\n          \"source\": \"BIDEN\"\n        }\n      },\n      \"isDeleted\": false,\n      \"companyId\": 115279791\n    }\n  ],\n  \"has-more\": true,\n  \"offset\": 115279791\n}"

Query Parameters

offset
string

Used to page through the results. Each request will return an offset value that you use in the next request to get the next set of result.

count
string

Specifies the number of companies to be returned.

Response

200 - application/json

Successful response - Returns a list of all companies sorted by the date the companies were created

The response is of type object.