# API Search Objects

**URL:** <https://community.datagerry.com/t/api-search-objects/745>\
**Category:** Development\
**Created:** [May 9, 2025, 5:36am UTC](https://community.datagerry.com/t/api-search-objects/745 "2025-05-09T05:36:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![duongdz123](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@duongdz123](https://community.datagerry.com/u/duongdz123)\
**Post date:** [May 9, 2025, 5:36am UTC](https://community.datagerry.com/t/api-search-objects/745/1 "2025-05-09T05:36:59Z")

</div>

Hi Datagerry community,  
I want to search an object in a type. But I can’t find an API to do this action. Can you give me docs or give me an option to do search objects with API?  
Thanks for your help !

---

<div class="post-metadata">

**Author:** ![abdullah-khalid](https://dub1.discourse-cdn.com/flex013/user_avatar/community.datagerry.com/abdullah-khalid/32/860_2.png) [@abdullah-khalid](https://community.datagerry.com/u/abdullah-khalid)\
**Post date:** [May 9, 2025, 1:05pm UTC](https://community.datagerry.com/t/api-search-objects/745/2 "2025-05-09T13:05:26Z")

</div>

Hi @duongdz123,

To retrieve all objects of a specific type in DATAGERRY via the REST API, you can use the following endpoint:

```auto
GET /rest/objects/?filter={"type_id": TYPE_ID}

```

Replace `TYPE_ID` with the public ID of the type you’re interested in. This will return all objects associated with that type.

For more detailed information and additional API capabilities, please refer to the official DATAGERRY documentation:

👉 [DATAGERRY Documentation](https://docs.datagerry.com/)

**sincerely,**  
Your DataGerry Team

---

<div class="post-metadata">

**Author:** ![duongdz123](https://avatars.discourse-cdn.com/v4/letter/d/7bcc69/32.png) [@duongdz123](https://community.datagerry.com/u/duongdz123)\
**Post date:** [May 9, 2025, 5:18pm UTC](https://community.datagerry.com/t/api-search-objects/745/3 "2025-05-09T17:18:12Z")

</div>

Can I search by keyword or field in type? If in type has field “ip-private” value “192.168.0.1”, can I search with ip-private with keyword 192.168.0.1?
