Calling third party API to read data and show on a page



We have an existing marketing site which has a functionality of showing data (like rates, fees etc) based some of the selection user has done. This data comes from our database which is set on daily basis. We are planning to migrate to hubspot. Would like to know if from hubspot I can call out REST API which returns JSON data and show the result to user so that he/she can start with next step.



Hi @ashutosh.sharma,

That's absolutely possible; the HubSpot CMS supports client side Javascript if you're looking to just make AJAX requests to pull that data. You might also be interested in HubDB, which is a public database used in tandem with HubL to render dynamic web pages: