Guides / n8n × HubSpot / Rate limits

HubSpot API 429 errors: the real burst-limit numbers by app type

HubSpot publishes three different rate limits, and a 429 tells you nothing about which one you crossed. The exact figures per app type and tier, how to read the response to identify the limit, and a backoff that respects it.

FlowPatch diagram: Request burst to rate window to backoff. Honor Retry-After and spread requests.
429 Too Many Requests — {"status":"error","message":"You have reached your secondly limit.","errorType":"RATE_LIMIT","policyName":"SECONDLY"}
Short answer: HubSpot enforces three separate ceilings: a short rolling window (110 requests per 10 seconds for a Marketplace public app, 100 per 10 seconds for a Free/Starter private app, 190 per 10 seconds for Professional/Enterprise), a daily account cap (250,000 / 625,000 / 1,000,000 by tier), and a much stricter CRM Search ceiling of 5 requests per second combined across all object types. Read policyName in the 429 body to identify which one fired, then batch or pace against that specific number instead of adding a blanket sleep.

The actual numbers, not "it depends on your plan"

HubSpot's usage guidelines publish concrete figures, and every sensible limiter is configured from them rather than from a guess. A public app distributed through the HubSpot Marketplace gets 110 requests per 10 seconds per installing account, and that window explicitly excludes the CRM Search API. A private app is limited by the portal's subscription tier instead: Free and Starter get 100 requests per 10 seconds per app plus a 250,000-request daily account cap; Professional and Enterprise get 190 requests per 10 seconds, with daily caps of 625,000 and 1,000,000 respectively. Portals that buy the API Limit Increase add-on raise the burst ceiling above those figures.

The CRM Search API sits outside all of that. HubSpot raised its burst ceiling from 4 to 5 requests per second per account, and that 5-per-second figure is combined across every search endpoint — searching contacts and searching deals draw from the same budget. Any call to /crm/v3/objects/{objectType}/search is governed by 5 per second, not by 110 or 190 per 10 seconds, which is why a workflow can start throwing 429s the moment someone replaces a client-side filter with a server-side search and changes nothing else.

HubSpot API rate limits by app type and tier

App type / tierShort-window limitDaily capNotes
Public app (Marketplace)110 req / 10 sec per installing accountNo published daily capExcludes CRM Search
Private app — Free / Starter100 req / 10 sec per app250,000 / account / day
Private app — Professional190 req / 10 sec per app625,000 / account / day
Private app — Enterprise190 req / 10 sec per app1,000,000 / account / day
CRM Search API (any app type)5 req / sec per accountCounts toward the daily capCombined across all object types

Read policyName before you change anything

A HubSpot 429 carries a JSON body with an errorType of RATE_LIMIT and a policyName field naming the policy that fired. That single field is the difference between a problem that clears in eight seconds and one that does not clear until the daily window resets. A secondly or ten-second policy means you burst; back off and the next window admits you. A DAILY policy means the account's cap is spent, and every retry you send is wasted traffic that will still fail an hour later.

Capture the body, not just the status code. In an n8n HTTP Request node, enable the option that returns the error response as data instead of failing the node, then branch on the parsed policyName.

HTTP/1.1 429 Too Many Requests
X-HubSpot-RateLimit-Daily: 250000
X-HubSpot-RateLimit-Daily-Remaining: 0

{
  "status": "error",
  "message": "You have reached your daily limit.",
  "errorType": "RATE_LIMIT",
  "policyName": "DAILY",
  "correlationId": "4f2a..."
}

# policyName DAILY    -> stop the job, checkpoint, resume tomorrow
# policyName SECONDLY -> back off a few seconds and retry the same item
Retrying a DAILY 429 is the single most common mistake here. It cannot succeed, it burns the retry budget a genuine burst 429 needs, and it hides the real cause behind thousands of identical failures.

Batching removes the requests; backoff only reschedules them

HubSpot's CRM batch endpoints accept up to 100 records per call for create, read, update and archive on contacts, companies, deals and custom objects. A loop that creates 80 contacts individually spends 80 of your 100-per-10-seconds budget and 80 of the daily cap; the same 80 records posted to /crm/v3/objects/contacts/batch/create spend one of each. No amount of waiting between individual calls achieves that, because the daily cap counts requests, not elapsed time.

The built-in HubSpot node does not expose the batch endpoints, so the pattern is an Aggregate node collecting items into an array followed by an HTTP Request node posting that array.

POST https://api.hubapi.com/crm/v3/objects/contacts/batch/create
Authorization: Bearer pat-na1-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Content-Type: application/json

{
  "inputs": [
    { "properties": { "email": "ada@example.com", "firstname": "Ada" } },
    { "properties": { "email": "bo@example.com",  "firstname": "Bo"  } }
  ]
}

# 100 inputs max per call.
# 80 records: 80 requests -> 1 request. Same effect on BOTH the
# 10-second window and the 250,000/day cap.

Pace to the number, then back off only on an actual burst 429

Where batching is impossible, pace the loop to the published figure rather than to a round number that felt safe. A Free/Starter private app at 100 requests per 10 seconds is 10 requests per second sustained; a 120 ms delay between items keeps a single-threaded loop under that with headroom for other workflows sharing the same token. A workflow that calls the Search API needs 200 ms between calls to stay under 5 per second — twenty times more conservative than the general limit allows.

Backoff is a separate mechanism from pacing and should fire only when a burst-policy 429 actually arrives. Exponential doubling from a 1-second base, capped around 30 seconds, plus a few hundred milliseconds of random jitter so a batch of simultaneously failed items does not retry in lockstep and recreate the burst.

// n8n Code node used inside the retry branch
const attempt = $json.attempt ?? 0;
const base = 1000, cap = 30000;
const delay = Math.min(cap, base * 2 ** attempt) + Math.floor(Math.random() * 400);

// Pacing (separate, always-on) between every item:
//   100 req/10s tier  -> 120 ms
//   190 req/10s tier  -> 60 ms
//   /search endpoints -> 200 ms   (5 req/sec ceiling)
return [{ json: { ...$json, attempt: attempt + 1, waitMs: delay } }];

The budget is per app, not per workflow

Three unrelated n8n workflows using the same private app token share one 100-or-190-per-10-seconds allowance and one daily cap. A backfill that consumes the 250,000 daily requests at 11:00 takes every other workflow on that token down with it for the rest of the day. Before a large one-time job, multiply records by requests per record — a read, an update and a confirmation read is three — and compare the total against the account's actual cap for its tier. If the estimate is within reach of the cap, split the job across days or batch it down rather than starting and hoping.

If separating workloads matters, create a second private app in the same portal. Each private app carries its own short-window allowance, though the daily cap remains an account-level figure they still share.

  • Confirm the tier: 100 or 190 per 10 seconds, 250,000 / 625,000 / 1,000,000 per day.
  • Branch on policyName — retry a burst policy, stop on DAILY.
  • Replace per-record loops with /batch/create, /batch/update or /batch/read (100 per call).
  • Pace /search calls at 200 ms; they are governed by 5 per second, not the general window.
  • Estimate total requests for bulk jobs against the daily cap before starting them.

Where these facts come from