Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Prevents HubSpot API rate-limit failures using batch calls, token buckets, queues, and Retry-After handling.
41% 77%+36 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 9 of 22 without it.
Which exact HTTP response header names does HubSpot use to communicate daily quota allocation, remaining daily calls, 10-second burst window capacity, and remaining burst window calls?
Identifies X-HubSpot-RateLimit-Max and X-HubSpot-RateLimit-Remaining for window burst limits.
3 of 3 safety checks passed
Rate-limit your HubSpot integration so it survives production volume without burning the portal's daily quota before lunch. This skill covers the six failure modes that take down integrations at scale and gives you the code to prevent each one.
Key invariant: HubSpot rate limits are portal-scoped, not app-scoped. Every private app and OAuth app in the same portal shares the same daily and per-10s buckets. There is no per-app isolation.
The six production failures this skill prevents:
GET /contacts/{id} costs 1 quota unit and returns 1 record. POST /contacts/batch/read with 100 IDs costs 1 unit and returns 100 records. Single-record reads waste 99% of available throughput.Retry-After: N. Backing off by 1s when N=30 produces 29 consecutive failures. Backing off by 30s when N=1 adds unnecessary latency. Always parse and honor the header exactly.@hubspot/api-client (npm) or hubspot (pip) for SDK-based integrationsbullmq (npm) or celery+redis-py (Python)Auth: Every API call requires Authorization: Bearer {token}. For token acquisition and caching, see hubspot-auth skill. This skill assumes a valid token is already available.
Build in this order. Steps 1–3 are mandatory. Steps 4–6 apply when volume exceeds ~50,000 calls/day or when multiple apps share the portal.
Every HubSpot response carries both bucket states. Never fly blind.
interface RateLimitState {
dailyLimit: number;
dailyRemaining: number;
windowMs: number;
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.