# Saved filter with API

**URL:** <https://community.hubspot.com/t/saved-filter-with-api/15447>\
**Category:** APIs & Integrations\
**Tags:** companies\
**Created:** [July 23, 2019, 2:01pm UTC](https://community.hubspot.com/t/saved-filter-with-api/15447 "2019-07-23T14:01:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xalbi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/xalbi/32/99949_2.png) [@Xalbi](https://community.hubspot.com/u/Xalbi)\
**Post date:** [July 23, 2019, 2:01pm UTC](https://community.hubspot.com/t/saved-filter-with-api/15447/1 "2019-07-23T14:01:02Z")

</div>

Hi all,  
I have some Saved filters for companies.  
I’d like to get these filters via the API and use that result to get filtred companies.  
first call : i will get all my saved filters.  
second call: i will choose one filter and get some filtred companies.  
Is it possible ? if yes, what endpoints should i call in order to accomplish this.

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![WendyGoh](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wendygoh/32/42320_2.png) [@WendyGoh](https://community.hubspot.com/u/WendyGoh)\
**Post date:** [July 24, 2019, 3:51am UTC](https://community.hubspot.com/t/saved-filter-with-api/15447/2 "2019-07-24T03:51:44Z")

</div>

Hi @Xalbi,

I hope all is well with you 🙂

Presently, it is not possible to retrieve both saved filters or retrieve filtered company records. We are only able to search companies by domain name - [Search for companies by domain](https://developers.hubspot.com/docs/methods/companies/search_companies_by_domain).

That said, @IsaacTakushi shared the best approach here: [Can we filter the companies using a custom property](https://community.hubspot.com/t5/APIs-Integrations/Can-we-filter-the-companies-using-a-custom-property/m-p/224339) which I’d recommend for you to check it out.

Moving forward, if you’d like, please jump over to this similar idea posted on our HubSpot idea forum here: [Search contacts, companies and deals by custom properties](https://community.hubspot.com/t5/HubSpot-Ideas/Search-contacts-companies-and-deals-by-custom-properties/idi-p/32113) to give it an upvote and comment. I can honestly see a use case for this request and I’ve also given it an upvote. Hopefully this will gather more interest!

Hope this helps to clarify!
