# v3 API search operators - START WITH?

**URL:** <https://community.hubspot.com/t/v3-api-search-operators-start-with/19875>\
**Category:** APIs & Integrations\
**Tags:** developer-tools, contacts\
**Created:** [April 6, 2020, 2:05pm UTC](https://community.hubspot.com/t/v3-api-search-operators-start-with/19875 "2020-04-06T14:05:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stanDM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/standm/32/99949_2.png) [@stanDM](https://community.hubspot.com/u/stanDM)\
**Post date:** [April 6, 2020, 2:05pm UTC](https://community.hubspot.com/t/v3-api-search-operators-start-with/19875/1 "2020-04-06T14:05:18Z")

</div>

Hi,

I am exploring v3 APi and so far it looks, but I could not find a way to search companies, which name start with some string. EQ (equal) oparator delivers exact match, GT (greater than) works probably only for numbers and datetime.  
So is there any other way how to get list of items, which name start with (or contains, this would be also nice) with some string?

Thanks, Stan

---

<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:** [April 8, 2020, 3:13am UTC](https://community.hubspot.com/t/v3-api-search-operators-start-with/19875/2 "2020-04-08T03:13:44Z")

</div>

Hey @stanDM,

When looking to perform a search to find all companies with domain/name property containing a particular letter(s)/word(s), you can use the query key

e.g. Find all companies with name/domain value containing the word “test”

```auto
curl https://api.hubapi.com/crm/v3/objects/companies/search?hapikey=YOUR_HUBSPOT_API_KEY \
 --request POST \
 --header "Content-Type: application/json" \
 --data '{
 "query" : "test"
 }'

```

---

<div class="post-metadata">

**Author:** ![stanDM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/standm/32/99949_2.png) [@stanDM](https://community.hubspot.com/u/stanDM)\
**Post date:** [April 8, 2020, 7:48am UTC](https://community.hubspot.com/t/v3-api-search-operators-start-with/19875/3 "2020-04-08T07:48:50Z")

</div>

Hi Wendy,

great, thanks! I guess it is an acceptable workaround - though I would still like to be able to limit the search to some specific fields …

Stan
