DaletGuard supports civilians affected by armed conflict through Families Beyond War. All sides, no political affiliation. About our humanitarian work

CRM API Rate Limits and Pagination Explained

DaletPipe moves records from many CRMs, so it must cope with their CRM API rate limits and their paging styles. This article explains cursor pagination and other paging styles, and then it shows what the DaletPipe transport does about them. It also covers daily caps, which sit in the limits table right beside each per-second rate for every single provider. Page size varies by connector as well, and you should plan for that difference early, before you scale your syncs. The wider process is mapped in the CRM integration guide that comes before this article, so read that guide first.

The wider process is mapped in the CRM integration guide.

Illustration of plug, puzzle, code for crm api rate limits
Key takeaway

Every CRM pages its results and caps its callers, in a different way each time. Pace requests below the cap, honor Retry-After, bound your retries and commit after each page. Then a limit slows a sync instead of corrupting it.

How do CRM APIs page their results for the caller?

No CRM returns a big object in one response, and CRM API rate limits make that rule firm. In fact, you get a page, and you ask for the next one. In fact, the way you ask differs from provider to provider. Also, the style decides which bugs you can have.

Each rule is written down before it is used.

People new to the cursor pagination should start with the guides.

Questions about the CRM API rate limits are welcome in the contact form. Also, readers often return to the token bucket limiter when plans change.

Readers often return to the CRM API rate limits when plans change. Thus, people new to the cursor pagination should start with the guides. Indeed, share what you learn about the retry after header with your whole team.

Every claim about the exponential backoff is checked against the code. Our team writes about the exponential backoff in plain words. Notes on the token bucket limiter are dated and reviewed by a second person.

Every claim about the daily API limits is checked against the code.

Offset and limit: You send a start position and a count. Indeed, it is simple, but it drifts. If a record is added or removed while you read, later pages shift and rows repeat or vanish.

Page number: You send page 1, then page 2. Also, it has the same drift problem. Also, some providers cap how deep you can go.

Cursor: The response includes an opaque token for the next page. Cursors resist drift, because the provider tracks the position. Besides, treat the token as a black box and never build one yourself.

Next link: The response carries a full URL for the next page. Also, you follow it until it is absent.

Check every style against two risks. Likewise, does a missing next marker mean the end, or an error that hid the marker? And can a page come back empty while further pages follow? In addition, a safe client records each page it reads, so a gap shows later.

DaletPipe connections list screen
For example, the connections list screen of DaletPipe.

How should you read CRM API rate limits for a provider?

CRM API rate limits come in several shapes. Also, a provider may cap requests per second, per minute or per day. Thus, some cap concurrent calls today.

Each count is checked against the source.

Others charge a cost per query. Therefore, one heavy call spends extra budget compared with ten light ones.

Each page on the token bucket limiter is reviewed before it is published.

Each page on the CRM API rate limits is reviewed before it is published. Each page on the retry after header is reviewed before it is published.

Questions about the CRM API rate limits are welcome in the contact form. Notably, short answers on the cursor pagination are kept up to date. In fact, people new to the retry after header should start with the guides.

Share what you learn about the exponential backoff with your whole team. Indeed, every claim about the token bucket limiter is checked against the code. Readers often return to the daily API limits when plans change.

Limits also differ by context. They can depend on the plan of the customer, on the app you registered or on the endpoint you call. Also, do not copy a number from a blog post into code.

When you cross one of the CRM API rate limits, a well-behaved API answers 429 Too Many Requests. Thus, it may add a Retry-After header, which gives seconds to wait or a date. Indeed, some APIs send other codes or put the error in the body of a 200 response. Test the real behavior in a sandbox.

Keep two budgets in mind when you read CRM API rate limits. Indeed, a short burst limit protects the provider from spikes. Besides, a daily limit protects it from steady heavy use. Besides, a sync can pass the first and still hit the second halfway through a large account.

Illustration for CRM API Rate Limits and Pagination Explained

How do pacing, backoff and the token bucket fit together?

There are two ways to live under CRM API rate limits. Also, you can send fast and react to 429 errors. Or you can pace requests so you rarely see one. Pacing is kinder to everyone, including the customer's own CRM users.

Each step is recorded with its date. Also, every claim is tied to a line of code.

Our team writes about the CRM API rate limits in plain words.

A short checklist keeps the CRM API rate limits under control. Questions about the exponential backoff are welcome in the contact form.

A second look at the CRM API rate limits pays off. Likewise, notes on the cursor pagination are dated and reviewed by a second person. Likewise, each page on the retry after header is reviewed before it is published.

Questions about the exponential backoff are welcome in the contact form. Also, readers often return to the token bucket limiter when plans change. Short answers on the daily API limits are kept up to date.

DaletPipe connector catalog screen
For example, the catalog shows each provider with its status and API style.

Why is the retry after header read just one time?

The transport reads the header once and caps the wait at 60 seconds.

All of these facts are kept in one place.

Share what you learn about the CRM API rate limits with your whole team.

A short checklist keeps the retry after header under control.

Share what you learn about the cursor pagination with your whole team. Share what you learn about the daily API limits with your whole team.

A short checklist keeps the CRM API rate limits under control. In addition, our team writes about the cursor pagination in plain words. Moreover, notes on the retry after header are dated and reviewed by a second person.

Each page on the exponential backoff is reviewed before it is published. In fact, questions about the token bucket limiter are welcome in the contact form. Overall, people new to the token bucket limiter should start with the guides.

Each page on the daily API limits is reviewed before it is published.

A token bucket is the usual pacing tool. Also, the bucket holds a few tokens and refills at a steady rate. Moreover, each request takes one token.

When the bucket is empty, the caller waits until a token appears. Notably, the refill rate sets the sustained speed. Also, the bucket size sets the allowed burst.

Backoff handles what pacing misses. After a 429 or a server error, wait before you try again, and wait longer after each failure. In fact, many clients add random jitter to avoid retry storms. Cap the number of attempts and the length of any single wait.

Retries have a safety rule too. Repeating a read is safe. Repeating a write can create a duplicate unless the call is idempotent. Indeed, so treat reads and writes differently when a server error comes back.

DaletPipe field mapping workbench screen
For example, field mappings are previewed and each field gets a named outcome.

What does the DaletPipe transport do about such API limits?

The DaletPipe HTTP transport wraps every connector call. Besides, it makes up to three attempts. Indeed, the waits between attempts follow a fixed schedule of 0.5 s, 1 s and 2 s. The schedule has no random jitter, which keeps runs repeatable.

The result is stored with the run.

Short answers on the daily API limits are kept up to date.

Share what you learn about the CRM API rate limits with your whole team. In addition, share what you learn about the retry after header with your whole team.

Every claim about the CRM API rate limits is checked against the code. Also, teams often ask us about the cursor pagination in practice. Thus, our team writes about the retry after header in plain words.

Notes on the exponential backoff are dated and reviewed by a second person. Moreover, each page on the token bucket limiter is reviewed before it is published. Notably, a short checklist keeps the daily API limits under control.

A 429 gets special handling. If the response has a Retry-After header on the first try, the transport waits that long, capped at 60 s. Indeed, then it tries again today.

Without the header, or on later tries, it uses the fixed schedule. Also, after the last attempt it raises a rate-limit error. Indeed, a 5xx response is retried only for reads.

Before each call, a per-provider token bucket spends one token. Notably, the limits table has an entry for each of the 72 adapters, measured in requests per second. Besides, most entries use 5 or 10 per second.

Requests-per-second entries in the DaletPipe limits table are listed below, one line per row.

  • HubSpot: 10, 500,000 in practice.
  • Pipedrive: 10, none in practice.
  • Salesforce: 10, 15,000 in practice.
  • Dynamics 365: 20, none today.
  • Zoho: 3.3, 15,000 in practice.
  • Monday: 1, none in practice.
  • Freshsales: 0.8, none in practice.

The daily figures sit in the same table, as the next section explains. Indeed, a provider with no entry gets the default of 10.

When a run ends on a rate-limit error, its status is rate_limited. Besides, the stream lease is released, the pages already committed stay, and a later run continues. See sync jobs for scheduling and coverage receipts for the per-page record.

DaletPipe sync activity outcomes screen
For example, every sync run ends in a named outcome you can read.

How do daily caps shape the pacing and the paging?

Daily caps are the second budget in CRM API rate limits. Also, five providers have a daily figure in the table: HubSpot, Salesforce, Zoho, Zoho Bigin and Salesforce Health. Also, the limiter paces each request per second, and the schedule keeps the day inside the cap.

The notes are shared with the whole team.

A large account on a short interval can reach a daily cap. Also, the run then ends with a clear status, and the pages already committed stay.

Short answers on the CRM API rate limits are kept up to date.

Questions about the CRM API rate limits are welcome in the contact form. Our team writes about the token bucket limiter in plain words.

Readers often return to the CRM API rate limits when plans change. In addition, people new to the cursor pagination should start with the guides. Likewise, share what you learn about the retry after header with your whole team.

Every claim about the exponential backoff is checked against the code. Also, a short checklist keeps the token bucket limiter under control. In addition, teams often ask us about the daily API limits in practice.

Page size is set per connector. In fact, each adapter uses the page size its provider's API documents.

Each connector sets its own size in its own code. HubSpot and Pipedrive use 100. Indeed, do not assume 100 records per page for the other adapters.

The table of limits also records what the vendor documentation said at build time. Providers change their caps, so CRM API rate limits need a review date. Also, treat the numbers as starting points and review them when you run a trial. Overall, a sandbox trial shows how each live limit behaves on your account.

Because each page commits on its own, a limit costs time and not data. Moreover, read incremental sync strategies for how the next run picks up. Also, the connector catalog for each adapter's API style.

DaletPipe sync coverage receipts screen
For example, each page read leaves a coverage receipt with its label.

Which checklist helps you test limits on a sandbox account?

A trial is the cheapest place to learn how a provider really behaves. Notably, use one sandbox and the record type with the most rows. In fact, then walk through a short list.

Every figure is taken from the code.

Notes on the exponential backoff are dated and reviewed by a second person.

A short checklist keeps the cursor pagination under control. Besides, a short checklist keeps the daily API limits under control.

Short answers on the CRM API rate limits are kept up to date. Also, each page on the cursor pagination is reviewed before it is published. Indeed, questions about the retry after header are welcome in the contact form.

Readers often return to the exponential backoff when plans change. In addition, teams often ask us about the token bucket limiter in practice. Also, people new to the daily API limits should start with the guides.

Readers often return to the daily API limits when plans change.

  • Read the provider's own limit documentation, and write down every cap you find.
  • Run a full pull and note how long it takes at the paced speed.
  • Force a 429 from a stub, with and without Retry-After, and read the run status.
  • Kill the worker in the middle of a page and check what the next run does.
  • Compare the count of rows read with the count the CRM shows.
  • Check the run against the daily cap before you schedule it every 15 minutes.

A team plans a pull every 15 minutes for an account with a small daily cap. Also, the first day looks fine. Thus, on day two the cap runs out by afternoon, and later runs fail. The fix is a longer interval or a smaller entity list, not a bigger retry count.

DaletPipe workspace index screen
For example, the workspace index screen of DaletPipe.

Why should you plan around limits before you scale up?

CRM API rate limits are a design input, not an error to catch late. Indeed, pick the paging style per provider and test its edge cases.

Every change is reviewed by a second person.

Our team writes about the CRM API rate limits in plain words. Also, a short checklist keeps the exponential backoff under control.

Notes on the CRM API rate limits are dated and reviewed by a second person. Short answers on the cursor pagination are kept up to date. People new to the retry after header should start with the guides.

Share what you learn about the exponential backoff with your whole team. Every claim about the token bucket limiter is checked against the code. Each page on the daily API limits is reviewed before it is published.

Teams that treat CRM API rate limits as a design input finish trials with fewer surprises. Pace requests with a token bucket, honor Retry-After and cap your retries. Commit after every page so a stop is cheap.

Then write down the daily caps and check your schedule against them. Revisit CRM API rate limits whenever a provider changes plans. DaletPipe paces each request, and the schedule keeps each day inside the cap.

Run a trial on one sandbox and force a 429 from a stub. Indeed, then confirm the run ends with a clear status.

The DaletPipe platform overview shows where this transport sits in the product.

A diagram with the topic at the centre and four connected parts: Daily api limits, Api rate, Adapter's api.

Questions and answers on this topic from the product team

What do CRM API rate limits usually measure?

Most providers cap requests per second, per minute or per day, and some cap concurrent calls or a cost score per query. The cap may differ by plan, by app or by endpoint. Read the provider's own documentation and test in a sandbox, because published numbers change.

How should a sync react to an HTTP 429?

Stop sending, wait, then try again a bounded number of times. If the response has a Retry-After header, use it within a sensible ceiling; Otherwise back off for a growing delay. After the last attempt, end the run with a clear status and keep the progress already saved.

How does DaletPipe handle daily CRM limits?

The limits table lists a daily figure for five providers beside the per-second rate, and the limiter paces every request. Size your schedule and runs with the daily cap of each provider in mind, so a large account stays inside its budget.

What page size does DaletPipe use?

It depends on the connector; HubSpot and Pipedrive use pages of 100. Each connector sets the page size that fits its provider's API.

What happens when a run is rate limited?

After its attempts are spent, the transport raises a rate-limit error; the run ends with the status rate_limited. The stream lease is released and the progress already committed stays. The next scheduled run can pick up from there, and the failed page is recorded as a failed boundary in the receipts.

See how DaletPipe fits the providers your team uses today

Book a short meeting for a walkthrough with your own providers in mind, or join an in-person class to learn the method first.