# Search Postal Code from Wordpress

**URL:** <https://community.hubspot.com/t/search-postal-code-from-wordpress/119174>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [October 25, 2024, 9:46am UTC](https://community.hubspot.com/t/search-postal-code-from-wordpress/119174 "2024-10-25T09:46:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AIstrator](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@AIstrator](https://community.hubspot.com/u/AIstrator)\
**Post date:** [October 25, 2024, 9:46am UTC](https://community.hubspot.com/t/search-postal-code-from-wordpress/119174/1 "2024-10-25T09:46:33Z")

</div>

I have just signed up for Hubspot and wondered if it is possible to have a textbox on my wordpress website which can search the postal code of all my contacts in hubspot.  
Example: if I add a contact into hubspot using name, address etc.. and the postal code is 12345, a user on my wordpress site wants to see if their details are in our system so they write 12345 into the search box and it will display a message that their details are in and display a contact us form, else if they typed 11234 it will just display a message that it isnt in and don’t display a contact us form.

Is this possible?

Any help would be greatly appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![evaldas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/evaldas/32/69160_2.png) [@evaldas](https://community.hubspot.com/u/evaldas)\
**Post date:** [October 25, 2024, 4:48pm UTC](https://community.hubspot.com/t/search-postal-code-from-wordpress/119174/2 "2024-10-25T16:48:01Z")

</div>

Hi @AIstrator,

In order to set up something like that, you would likely need to utilize the [CRM Search API](https://developers.hubspot.com/docs/api/crm/search). The search box could be used to search your contacts for that specific value on a specified property and then you could use the results from that API call to determine whether to show the contatct form.

Also wanted to mention that, as an alternative, you can also utilize [Memberhsips](https://knowledge.hubspot.com/website-pages/require-member-registration-to-access-private-content) that would restrict a page only to contacts that are in your HubSpot CRM.

Hope this helps!
