Salesforce Bulk API limits for 2.0 and 1.0

See the batches, records and query jobs your org gets each rolling day under Salesforce Bulk API limits, plus job and file sizes.

Salesforce Bulk API 2.0 (and Bulk API 1.0): 1 of 76 APIs

  • SalesforceBulk API 2.0 (and Bulk API 1.0)Bulk API and Bulk API 2.0 calls count toward the org's total API request allocation (see the salesforce row).
    Daily or monthly allowance
    15,000 batches per rolling 24 hours, shared between Bulk API and Bulk API 2.0. In Bulk API 2.0 only ingest jobs consume batches, and batches are created automatically. Records uploaded per rolling 24 hours: 150,000,000 for both (Bulk API 1.0 is 15,000 batches x 10,000 records). Bulk API 2.0 query jobs: 10,000 per rolling 24 hours, with 1 TB of query results per rolling 24 hours.
    Bulk and batch
    Bulk API 2.0 ingest: up to 150 MB of base64-encoded CSV per job (upload no more than 100 MB to allow for encoding). Bulk API 1.0: up to 10,000 records, 10 MB and 10,000,000 characters per batch. Both versions: 5,000 fields and 400,000 characters per record, 131,072 characters per field. A job can stay open up to 24 hours (Bulk API 2.0: ingest jobs only). Results can be retrieved for 7 days. Queries: maximum retrieved file size 1 GB, 20 minutes to retrieve results. Bulk API 1.0 queries return at most 15 files; with PK chunking, chunks are 100,000 to 250,000 records. A Bulk API 1.0 query has a 2-minute processing limit.
    Plans with API access
    Same as the Salesforce API (Enterprise, Performance, Unlimited, Developer; Professional with the API add-on).
    When you hit the limit
    Bulk API 1.0 queries: more than 30 attempts returns 'Tried more than thirty times'; a query taking more than 2 minutes returns QUERY_TIMEOUT. Bulk API 2.0 retries automatically: for ingest, a message that it retried more than 20 times means use a smaller upload file; for queries, more than 15 retries means add filter criteria.
    Limit headers
    The /vXX.X/limits/ REST resource reports DailyBulkV2QueryJobs and DailyBulkV2QueryFileStorageMB.

    Source: developer.salesforce.com (opens in a new tab), developer.salesforce.com: salesforce app limits platform api (opens in a new tab)

Photo of Utku Zihnioglu

By

ยท CEO & co-founder

Updated Nov 11, 2026

Shorter page: the tool first, the answer in a few lines.

Salesforce Bulk API limits are counted per rolling 24 hours for the whole org: a batch allowance shared by Bulk API and Bulk API 2.0, a ceiling on records uploaded, and for Bulk API 2.0 a separate count of query jobs. Each job and file has size limits of its own.

The numbers above come from the Bulk API limits in Salesforce's limits quick reference, with the day we last checked them.

How to read the limits

Batches are shared: a Bulk API 1.0 batch and a Bulk API 2.0 ingest batch both count. Bulk API 2.0 query jobs use no batches and are counted on their own.

Two allowances apply at once. Creating, uploading, closing and polling a job are API calls, so a bulk load also draws on the org-wide API allocation. A large load can stay under one and run out of the other.

The ingest size limit is measured after base64 encoding, so the CSV you upload has to be smaller than the stated job limit.

How to size a bulk load

With Bulk API 1.0, divide the records by your batch size to see how much of the shared allowance a load uses; small batches use it up fast. With Bulk API 2.0, count jobs and upload sizes instead, since Salesforce does the batching.

Poll less often on large jobs, split files that are near the encoded limit, and narrow broad queries by date or an indexed field. Download results before the retention window closes.

What to do next

Small and medium loads may fit better in REST composite and collection requests, which count one call for many records; the REST API limits page has those sizes. If the load comes from another tool, look up its limits too.

In Oneprofile, Salesforce connects as a source or a destination, and each export can be held to a rate you set in requests per minute.

Salesforce Bulk API limits: questions

Should I use Bulk API 2.0 or Bulk API 1.0?

Bulk API 2.0 for most loads: it splits your file into batches itself, so you upload one CSV per job. Bulk API 1.0 still suits jobs that need you to control batch sizes or use PK chunking on large queries.

How long are Bulk API results kept?

Seven days. Download the results of an ingest or query job within a week of it finishing, and within the retrieval timeout for each query result file.

Why did my Bulk API 2.0 job fail after many retries?

Bulk API 2.0 retries batches itself. A message that it retried too many times means the upload is too large or the query too broad: send a smaller file, or add filters to the query.

How do I see how many Bulk API query jobs are left today?

Call the REST limits resource. It reports the daily Bulk API 2.0 query jobs and the query result storage with their maximum and remaining values.

About this article

Photo of Utku Zihnioglu

Utku Zihnioglu

CEO & co-founder

Serial entrepreneur who built infrastructure companies handling billions of requests. Now leads engineering at Oneprofile, which finds the people worth talking to, researches each one, and follows up until they reply.

Drafted with AI from our product docs and code. Utku Zihnioglu answers for what it says.

Load enriched records into Salesforce

Connect Salesforce to Oneprofile and set a per-minute rate for every export.

Free plan: 200 credits a month, 3 integrations, no card

Load enriched records into Salesforce

Connect Salesforce to Oneprofile and set a per-minute rate for every export.

Free plan: 200 credits a month, 3 integrations, no card