# How offset works \[API-DB Sync\]

**URL:** <https://community.hubspot.com/t/how-offset-works-api-db-sync/16428>\
**Category:** APIs & Integrations\
**Tags:** object\
**Created:** [September 25, 2019, 7:13pm UTC](https://community.hubspot.com/t/how-offset-works-api-db-sync/16428 "2019-09-25T19:13:31Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [October 1, 2019, 2:17am UTC](https://community.hubspot.com/t/how-offset-works-api-db-sync/16428/6 "2019-10-01T02:17:58Z")

</div>

Hi @caiorochap,

Currently the object API doesn’t have parameter such as date to retrieve object based on a specific date or specific property.

That said, if you have access to the [list tool](https://knowledge.hubspot.com/articles/kcs_article/lists/create-active-or-static-lists), you can use this endpoint: [Get contacts in a list | Contact Lists API](https://developers.hubspot.com/docs/methods/lists/get_list_contacts) to retrieve contacts in a particular list. The list can be easily created in your HubSpot portal with criteria set. The list tool is applicable to contact records only.

For both deals and companies, the best way to go about doing this is to use the get recently created/modified endpoint if you’re not looking to request the whole collection.

---

_[View the full topic](https://community.hubspot.com/t/how-offset-works-api-db-sync/16428)._
