# Optimize activity download

**URL:** <https://community.hubspot.com/t/optimize-activity-download/64397>\
**Category:** APIs & Integrations\
**Created:** [September 2, 2022, 7:46pm UTC](https://community.hubspot.com/t/optimize-activity-download/64397 "2022-09-02T19:46:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![annamaria](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/annamaria/32/78471_2.png) [@annamaria](https://community.hubspot.com/u/annamaria)\
**Post date:** [September 2, 2022, 7:46pm UTC](https://community.hubspot.com/t/optimize-activity-download/64397/1 "2022-09-02T19:46:39Z")

</div>

`Is it possible to get only activities created the day before or updated the day before, using Api? In my company we extract all the recorded activity every day and it takes a long time to download this information.`

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [September 6, 2022, 3:04pm UTC](https://community.hubspot.com/t/optimize-activity-download/64397/2 "2022-09-06T15:04:33Z")

</div>

@annamaria , you could probably use the [Search the CRM API](https://developers.hubspot.com/docs/api/crm/search) and then filter to whatever time range you are looking for
