# Sales Analytics API

**URL:** <https://community.hubspot.com/t/sales-analytics-api/63672>\
**Category:** APIs & Integrations\
**Created:** [August 24, 2022, 7:54pm UTC](https://community.hubspot.com/t/sales-analytics-api/63672 "2022-08-24T19:54:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![VXiong](https://avatars.discourse-cdn.com/v4/letter/v/919ad9/32.png) [@VXiong](https://community.hubspot.com/u/VXiong)\
**Post date:** [August 24, 2022, 7:54pm UTC](https://community.hubspot.com/t/sales-analytics-api/63672/1 "2022-08-24T19:54:31Z")

</div>

Hi. Is there an API to retrieve sales information that is visible in the UI via the “Reports \> Analytics Tools \> Sales Analytics \> Total Completed Activities”? We want to pull this information daily to our data lake for internal reporting purposes.  
As far as I can tell, the Engagement API seems to be the cloest to what we want, but would require multiple calls based on the engagement type since as far as I can tell, there is no single get all engagements option.  
Any clarity would be great. Thanks

---

<div class="post-metadata">

**Author:** ![abdussamadbello](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@abdussamadbello](https://community.hubspot.com/u/abdussamadbello)\
**Post date:** [August 24, 2022, 10:55pm UTC](https://community.hubspot.com/t/sales-analytics-api/63672/2 "2022-08-24T22:55:36Z")

</div>

Thats right, you will have to make multiple calls with different APIS and do some aggregation. However, there are still some hacks you can use like web scraping( **copy the screen section** _Sales Analytics \> Total Completed Activities_ then automatically send it to your data lake).  
The ideal solution we use for our client is to build a proper ETL pipeline to sync all HubSpot data to your data lake daily.
