Contacts Search

HubSpot

Search contacts in a connected HubSpot account by property filters and sort order.

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

What this API does

Runs a HubSpot CRM search over the connected account's contacts. Billed per upstream request at $0.0050; pagination over N pages is N requests.

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

Public input and output shape

Input

bodyobject · optional

HubSpot CRM search body (filterGroups, properties, limit, sorts).

max_pagesinteger · optional

Maximum number of result pages to request.

minimum: 1 · maximum: 10

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.contacts-search",
  "input": {
    "body": {
      "limit": 10,
      "properties": [
        "email",
        "firstname",
        "lastname"
      ],
      "filterGroups": [
        {
          "filters": [
            {
              "value": "ada@example.com",
              "operator": "EQ",
              "propertyName": "email"
            }
          ]
        }
      ]
    },
    "max_pages": 1
  }
}

Output

{
  "pages": 1,
  "results": [
    {
      "id": "100000000002",
      "archived": false,
      "properties": {
        "lastname": "Lovelace (Sample Contact)",
        "firstname": "Ada"
      }
    }
  ]
}
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.
Updated
18 August 2026

Use Contacts Search 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.