Skip to main content

Supported products

The site search API allows you to search for content across HubSpot-hosted sites and retrieve indexed data for specific pages. Use this API to build custom search experiences for your website.

Search your site

To search for content across your HubSpot-hosted sites, make a GET request to /cms/v3/site-search/search. For example, the following request searches for blog posts containing “marketing” on the blog.hubspot.com domain:
The following query parameters are available:

Boosting parameters

The following parameters control how results are ranked: The response includes a total count and an array of search results:

Pagination

Results are paginated using offset-based pagination. To retrieve the next page of results, include an offset query parameter with the value from the previous response. For example, if the first request returned offset: 0 and limit: 10, retrieve the next page with offset=10:

Get indexed data for an asset

To retrieve all indexed data for a specific asset, make a GET request to /cms/v3/site-search/indexed-data/{contentId}. This is useful for debugging why a particular asset is not appearing in search results. For example, the following request retrieves indexed data for a blog post with ID 24314356:
The following parameters are available: The response includes all indexed fields for the asset:
Each field in the fields object contains:

Content types

The type parameter accepts the following values:
Last modified on April 13, 2026