Afspraak maken
Menu
Sluiten
Afspraak maken
Menu
Sluiten
Afspraak maken
Menu
Sluiten
HubSpot Content Search API with React
In this video, I will show you how we, at Bright Digital, used this API together with React to create a module that allows you to create a search functionality anywhere on your HubSpot website AND fine-tune the results per page this module is used on.
Bekijk video - 7 min
Teun Rutten

In this video

One of my favorite hidden gems of the HubSpot API is definitely the content search API.

The content search API allows you to search for a specific term within your website pages, blog posts, HubDB rows, knowledge base articles and landing pages. Not only will it return all the results that use that term, but it's also going to decide the best results based on where the term is being used.

Now, this API has a LOT of options, so you can also fine-tune what results you want to show by passing it several parameters. Some of them are;

✅ Limiting results by language
✅ Limiting results by path prefix
✅ Limiting results by type (blog post, website page etc.)

But you can also determine which type of content should get a higher priority in the results.

Teun Rutten
Over Teun Rutten
Teun is lead developer at Bright Digital. He loves developing for the HubSpot CMS, but gets really excited for API work, NodeJS applications and React.

Hé HubSpot fan! Ontvang ook dé maandelijkse HubSpot updates in jouw mailbox

Hé HubSpot fan! Ontvang ook dé maandelijkse HubSpot updates in jouw mailbox

HubSpot newsletter