API External Search Possibilities within CMS

Participant | Diamond Partner

Hi all,

I'm currently migrating clients's website made in Wordpress. They have a search tool for real state, wich is an external API that can be managed from Wordpress, that shows houses via properties, similar to hotels search.


My question is, how can i take this into a HubSpot website? Do i need external servers in order to manipulate the API first? Do i have to create an external portal? The search results are shown like blog posts in Wordpress. So, i'ts possible to be done in HubSpot?

Any help is appreciated!

1 Reply 1
HubSpot Alumni

Hi @Bruno_Amico, is the API endpoint that gets requested able to be accessed from anywhere? As long as the endpoint is secure (HTTPS) you should be able to use AJAX to make the request, and do any sort of custom filtering with JavaScript. Is the endpoint just pulling properties that you currently have on your website? Or are these stored in an external database? If they're stored in a DB, you could use HubDB with the Website Addon, or you could just use our site search module if these properties would all get moved over to a HubSpot hosted domain: https://knowledge.hubspot.com/articles/kcs_article/cos-general/site-search-faq