# Calculating API Calls Required for Property Update

**URL:** <https://community.hubspot.com/t/calculating-api-calls-required-for-property-update/11745>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [November 2, 2018, 6:08pm UTC](https://community.hubspot.com/t/calculating-api-calls-required-for-property-update/11745 "2018-11-02T18:08:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![erikaatrecurly](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/erikaatrecurly/32/84335_2.png) [@erikaatrecurly](https://community.hubspot.com/u/erikaatrecurly)\
**Post date:** [November 2, 2018, 6:08pm UTC](https://community.hubspot.com/t/calculating-api-calls-required-for-property-update/11745/1 "2018-11-02T18:08:21Z")

</div>

I want to do a mass update on one property for ~20K contacts and ~2K companies. Once the property is updated, the plan is push the new values into SFDC. Is there a way to calculate or estimate the number of API calls this update would require? The goal is to stay under our daily limit of API calls.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [November 5, 2018, 5:28pm UTC](https://community.hubspot.com/t/calculating-api-calls-required-for-property-update/11745/2 "2018-11-05T17:28:07Z")

</div>

Hi [@erika\_at\_recurly](https://community.hubspot.com/u/erika_at_recurly),

We can certainly try to ballpark this:

**Updating 20,000 contacts** : If you’re using the [batch contacts endpoint](https://developers.hubspot.com/docs/methods/contacts/batch_create_or_update) with a batch size of `100` (optimal performance), then that would be **200** calls.

**Updating 2,000 companies** : If you’re using the [batch companies endpoint](https://developers.hubspot.com/docs/methods/companies/batch-update-companies) with a batch size of `100` (maximum), then that would be **20** calls.

**Syncing these values to Salesforce** : This is much more difficult to estimate and draws from SFDC’s API call limit rather than HubSpot’s. According to the [documentation](https://knowledge.hubspot.com/articles/kcs_article/salesforce/install-the-hubspot-salesforce-integration) on the HubSpot-Salesforce connector: “A single contact sync can take up to four API calls per record, but this number can vary.” Depending on your [Salesforce Edition](https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_api.htm) and [HubSpot usage limit](https://knowledge.hubspot.com/salesforce-integration-user-guide-v2/how-to-adjust-your-salesforce-api-call-limit), it may not be possible to sync all of this data in one day.
