Back to Connected apps

Objects List

HubSpot

List records for a selected HubSpot CRM object type with properties and paging.

Current price
$0.0050/call
Availability
Connected app
Last accepted verification

What this API does

Lists records for one supported standard or custom CRM object type. Use HubSpot's numeric object type id, such as 0-2 for companies or 2-123 for a custom type. Billed per upstream page at $0.0050.

Agents select this operation with tool ID hubspot.objects-list, then inspect its current executable contract before a run.

Public input and output shape

Input

max_pagesinteger · optional

Maximum number of result pages to request.

minimum: 1 · maximum: 10

pathobject · required

Identifier path for the authorised connected-app record.

queryobject · optional

Search terms used to find relevant records.

Output

pagesnumber

Returned pages value.

resultsarray

Returned results value.

Example request and output

This reviewed worked example is shared with inspect. Inspect also returns the current executable schema and price estimate before a paid run.

Request

{
  "tool_id": "hubspot.objects-list",
  "input": {
    "path": {
      "objectType": "0-2"
    },
    "query": {
      "limit": 1,
      "properties": "name,domain"
    },
    "max_pages": 1
  }
}

Output

{
  "pages": 1,
  "results": [
    {
      "id": "400000000003",
      "url": "https://app-eu1.hubspot.com/contacts/123456789/record/0-2/400000000003",
      "archived": false,
      "createdAt": "2026-07-27T12:19:07.486Z",
      "updatedAt": "2026-07-30T12:21:38.024Z",
      "properties": {
        "name": "Example Company",
        "domain": "example.com",
        "createdate": "2026-07-27T12:19:07.486Z",
        "hs_object_id": "400000000003",
        "hs_lastmodifieddate": "2026-07-30T12:21:38.024Z"
      }
    }
  ]
}
Teaching errors and limitations
  • connection_required: This capability acts on your own HubSpot account, which isn't connected yet.Open connect_url, approve access, then retry this run unchanged.
  • permission_required: The connected HubSpot grant does not include a scope required by this object type.Reconnect HubSpot and approve the requested scope, or choose an object type available to this account.
Updated
18 August 2026

Use Objects List with Scrollport

Scrollport validates tools for connected apps and provides them on a pay-as-you-go basis so your agent can use accounts you already own without receiving sensitive API keys.

Give your agent the setup prompt to receive $1 in trial credit and start using the tools right away.