How do I search deals by deal name using Hubspot API?

deals

#1

I have to get list of deals by entering some keywords as a deal name.

e.g., Just like this API given for contact search,
https://api.hubapi.com/contacts/v1/search/query?q=testingapis&hapikey=demo

the same way want to search the Deals, is there any API provided for this?

Please help me with this to resolve.

Thanks.


#2

I’m pretty sure they don’t have an endpoint for that. You could pull all the deals by paging through with with the get all deals API, pulling the dealname property. Process and save/cache the results on your end, search for your dealname, and then use the associated id to get that specific deal and its details.


Get all deal of a specific pipeline or a specific pipeline stage