# Query Private App Call limits via API Call

**URL:** <https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559>\
**Category:** HubSpot Ideas\
**Tags:** api\
**Created:** [March 4, 2022, 8:54am UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559 "2022-03-04T08:54:42Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![JPanama](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jpanama/32/43754_2.png) [@JPanama](https://community.hubspot.com/u/JPanama)\
**Post date:** [March 4, 2022, 8:54am UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/1 "2022-03-04T08:54:42Z")

</div>

Posting on behalf of a customer.

Currently, to get the daily API usage/limit _for your account,_ you can make a GET request to:

`https://api.hubapi.com/integrations/v1/limit/daily?hapikey=demo`

(documented [here](https://developers.hubspot.com/docs/api/usage-details#:~:text=%C2%A0-,Example%20GET%20URL%3A,-https%3A//api.hubapi))

However, it’s not possible for Private App users to query daily usage/limits by API call _for each app_ without using [API call monitoring](https://developers.hubspot.com/docs/api/developer-tools-overview#app-monitoring) in the app’s settings.

Making this publicly available by API call would be a great quality of life improvement for our developers and power users who don’t spend a lot of time in the UI.

---

<div class="post-metadata">

**Author:** ![THammer](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/thammer/32/89876_2.png) [@THammer](https://community.hubspot.com/u/THammer)\
**Post date:** [August 10, 2022, 1:00pm UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/2 "2022-08-10T13:00:09Z")

</div>

This would be great! Seeing as the API keys are about to be sunset, it would be really helpful to be able to use the private app tokens to check the portal’s overall daily usage as well 🙂

---

<div class="post-metadata">

**Author:** ![KAdhikary](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kadhikary/32/48852_2.png) [@KAdhikary](https://community.hubspot.com/u/KAdhikary)\
**Post date:** [November 4, 2022, 11:41am UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/3 "2022-11-04T11:41:22Z")

</div>

I have the same question. Now that I have updated my code to use a private app key, how do I continue to query API call limits/usage programatically?

---

<div class="post-metadata">

**Author:** ![BStrange](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@BStrange](https://community.hubspot.com/u/BStrange)\
**Post date:** [November 4, 2022, 3:54pm UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/4 "2022-11-04T15:54:08Z")

</div>

It’s ridiculous that key auth is getting depreciated while basic functionality like this is not developed yet.

---

<div class="post-metadata">

**Author:** ![Yupvoted](https://avatars.discourse-cdn.com/v4/letter/y/e36b37/32.png) [@Yupvoted](https://community.hubspot.com/u/Yupvoted)\
**Post date:** [November 15, 2022, 9:21am UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/5 "2022-11-15T09:21:20Z")

</div>

THis is really important to have seeing as how API keys are going to be sunset soon. We need to have a way for to check the call limits without accessing the app each time.

---

<div class="post-metadata">

**Author:** ![FredrikWendt](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/fredrikwendt/32/76746_2.png) [@FredrikWendt](https://community.hubspot.com/u/FredrikWendt)\
**Post date:** [November 15, 2022, 9:39pm UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/6 "2022-11-15T21:39:35Z")

</div>

Without this, we can’t get alerting or monitoring, forecasting, … on how/when our integrations and solutions will hit the limit. Asking someone to repeatedly (every 30 mins?) log in to a web page is just no going to happen.

---

<div class="post-metadata">

**Author:** ![samdelamotte](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@samdelamotte](https://community.hubspot.com/u/samdelamotte)\
**Post date:** [November 25, 2022, 1:45pm UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/7 "2022-11-25T13:45:50Z")

</div>

Dear HubSpot devs, this honestly shouldn’t be a difficult endpoint to migrate from API keys to Private App Access Tokens … considering that you’ve already migrated most of the existing endpoints 🙂

---

<div class="post-metadata">

**Author:** ![ViniciusLeite](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/viniciusleite/32/23246_2.png) [@ViniciusLeite](https://community.hubspot.com/u/ViniciusLeite)\
**Post date:** [February 17, 2023, 2:28pm UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/8 "2023-02-17T14:28:52Z")

</div>

This is huge important for bigger companies who work with processes that need to execute lots of requests from different endpoints, internal or external ones from HubSpot.

---

<div class="post-metadata">

**Author:** ![CBN](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbn/32/95196_2.png) [@CBN](https://community.hubspot.com/u/CBN)\
**Post date:** [March 7, 2023, 3:48pm UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/9 "2023-03-07T15:48:07Z")

</div>

FYI - submitted this improvement

[https://community.hubspot.com/t5/HubSpot-Ideas/Private-Apps-Logs-add-time-as-condition-for-the-search/idi-p/765275](https://community.hubspot.com/t5/HubSpot-Ideas/Private-Apps-Logs-add-time-as-condition-for-the-search/idi-p/765275)

---

<div class="post-metadata">

**Author:** ![CBN](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbn/32/95196_2.png) [@CBN](https://community.hubspot.com/u/CBN)\
**Post date:** [March 7, 2023, 3:52pm UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/10 "2023-03-07T15:52:31Z")

</div>

And this one as well:

[https://community.hubspot.com/t5/HubSpot-Ideas/Private-Apps-It-must-be-possible-to-export-Log-data/idc-p/765286](https://community.hubspot.com/t5/HubSpot-Ideas/Private-Apps-It-must-be-possible-to-export-Log-data/idc-p/765286)

---

<div class="post-metadata">

**Author:** ![LudmillaGarcia](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ludmillagarcia/32/17331_2.png) [@LudmillaGarcia](https://community.hubspot.com/u/LudmillaGarcia)\
**Post date:** [April 3, 2023, 4:33pm UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/11 "2023-04-03T16:33:36Z")

</div>

this would be extremely helpful to our customers 🙂

---

<div class="post-metadata">

**Author:** ![CBN](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbn/32/95196_2.png) [@CBN](https://community.hubspot.com/u/CBN)\
**Post date:** [April 3, 2023, 5:39pm UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/12 "2023-04-03T17:39:27Z")

</div>

Yes @LudmillaGarcia but personally I would need the two items here before this feature:

- [https://community.hubspot.com/t5/HubSpot-Ideas/Private-Apps-Logs-add-time-as-condition-for-the-search/idi-p/765275](https://community.hubspot.com/t5/HubSpot-Ideas/Private-Apps-Logs-add-time-as-condition-for-the-search/idi-p/765275)
- [https://community.hubspot.com/t5/HubSpot-Ideas/Private-Apps-It-must-be-possible-to-export-Log-data/idc-p/765286](https://community.hubspot.com/t5/HubSpot-Ideas/Private-Apps-It-must-be-possible-to-export-Log-data/idc-p/765286)

Not to mention the useless and limiting limit of searches per second set to 4?!?!?!?!?!

---

<div class="post-metadata">

**Author:** ![kolaps](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kolaps/32/198451_2.png) [@kolaps](https://community.hubspot.com/u/kolaps)\
**Post date:** [May 4, 2023, 7:52am UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/13 "2023-05-04T07:52:59Z")

</div>

and still nothing? One year we can’t get daily limit values, great 🙂 Get back API key!

---

<div class="post-metadata">

**Author:** ![CBN](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbn/32/95196_2.png) [@CBN](https://community.hubspot.com/u/CBN)\
**Post date:** [March 12, 2024, 9:27am UTC](https://community.hubspot.com/t/query-private-app-call-limits-via-api-call/52559/14 "2024-03-12T09:27:58Z")

</div>

References to the issue with Search Rate Limitation:

> **[CRM Search API Rate Limit Increase](https://developers.hubspot.com/changelog/crm-search-api-rate-limit-increase)**
>
> We are increasing the CRM Search API rate limit as are part of our ongoing effort to create the next generation of HubSpot's APIs.

[API usage guidelines and limits - HubSpot docs](https://developers.hubspot.com/docs/api/usage-details) scroll down to ‘other limits’
