# API Filter company by property

**URL:** <https://community.hubspot.com/t/api-filter-company-by-property/17579>\
**Category:** HubSpot Ideas\
**Tags:** integrations\
**Created:** [December 5, 2019, 4:26pm UTC](https://community.hubspot.com/t/api-filter-company-by-property/17579 "2019-12-05T16:26:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anne-Marie](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anne-marie/32/22074_2.png) [@Anne-Marie](https://community.hubspot.com/u/Anne-Marie)\
**Post date:** [December 5, 2019, 4:26pm UTC](https://community.hubspot.com/t/api-filter-company-by-property/17579/1 "2019-12-05T16:26:43Z")

</div>

Would it be possible to return a list of company according to a certain property?

In our case, we need to retreive the Company for a specific Company Owner so our user can select only the ones he’s allowed. The solution so far is to get all companies (that implies dealing with offset) then add a filter in the app. The fact that we have to get all companies will make the app less responsive than get all the companies based on a filter.

---

<div class="post-metadata">

**Author:** ![gelflex-cc](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gelflex-cc/32/25042_2.png) [@gelflex-cc](https://community.hubspot.com/u/gelflex-cc)\
**Post date:** [December 9, 2019, 4:29pm UTC](https://community.hubspot.com/t/api-filter-company-by-property/17579/2 "2019-12-09T16:29:42Z")

</div>

@Anne-Marie great idea. companies can be limiting.

---

<div class="post-metadata">

**Author:** ![alansp](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alansp/32/99730_2.png) [@alansp](https://community.hubspot.com/u/alansp)\
**Post date:** [January 14, 2020, 5:46pm UTC](https://community.hubspot.com/t/api-filter-company-by-property/17579/3 "2020-01-14T17:46:01Z")

</div>

How is this still not possible? Is there a business reason for making the API almost infuriatingly difficult to use?

Can someone from Hubspot answer this thread, and let us know when retrieving companies via API based on a property (or properties) will be possible, or if it has been decided on the HS side that it will never be made possible?

---

<div class="post-metadata">

**Author:** ![Derek\_Gervais](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/derek_gervais/32/17429_2.png) [@Derek\_Gervais](https://community.hubspot.com/u/Derek_Gervais)\
**Post date:** [April 29, 2020, 5:30pm UTC](https://community.hubspot.com/t/api-filter-company-by-property/17579/4 "2020-04-29T17:30:04Z")

</div>

Hey all,

This is now possible with the CRM V3 API; specifically, the Search API allows for custom searching/filtering of company records:

> **[Search the CRM - HubSpot docs](https://developers.hubspot.com/docs/api-reference/latest/crm/search-the-crm)**
>
> The CRM search endpoints make getting data more efficient by allowing developers to filter, sort, and search across any CRM object type.
