# Salesforce Salesforce API Usage

Source: https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/api-usage/

Salesforce meters access to an org by API call. Every request Qualytics sends, and every Bulk API query job it runs, counts against daily allowances that your org shares with all its other integrations: your ETL tools, your marketing platform, and anything else that reads or writes through the API. This page explains what Qualytics spends, how to see it before a scan or profile runs, and what happens when the allowance runs out.

## The two allowances

| Allowance | What counts against it |
| --- | --- |
| **Daily API requests** | Every request Qualytics sends: listing and describing objects, counting records, creating and following query jobs, and fetching their results. |
| **Daily Bulk API query jobs** | Every query job Qualytics runs to read records. |

Both are rolling 24-hour windows, and their size depends on your Salesforce edition and licenses. Your Salesforce admin can see what is left today under **System Overview** in Salesforce Setup.

## What each operation spends

**Sync.** A few requests to list the org's objects and read their fields, in batches. Narrowing **Objects** to the ones you monitor keeps it small.

**Profile and scan.** For each object read: a handful of requests to read its fields and count its records, then one or more query jobs to read the records. Each query job takes a few requests to create, follow, and remove it, plus one request per page of results, and a page holds at least 50,000 records. A large object is read as several query jobs at once, up to **Maximum Parallel Jobs**.

**Counts and freshness.** Record counts and the newest SystemModstamp of an object are asked of Salesforce directly, which costs one request rather than reading every record.

**Incremental scans** read only the records changed since the previous scan, so they cost far less than full scans of the same objects. The first incremental scan of an object has nothing to start from, so it reads every record.

**Filters** are passed to Salesforce wherever it can apply them, so a filtered read returns fewer records and fewer pages of results.

## Estimate a scan or profile before it runs

In the **Scan Operation** and **Profile Operation** dialogs, the **Read Settings** step of a Salesforce datastore shows a **Salesforce API Usage** section with an **Estimate API usage** button. Click it to see what the operation would spend, for the containers you selected and with the read settings you chose:

- **Scan:** the strategy (**Incremental** or **Full**), starting threshold and **Record Limit**. An incremental scan reads only the records changed since the previous scan, or past the starting threshold when you set one.
- **Profile:** the starting threshold and **Record Limit**. A profile reads every record of each object, up to the **Record Limit**, unless you set a starting threshold.

The estimate reports, in one sentence, about how many API requests and Bulk API query jobs the operation would use against what your org has left today, for example:

> This scan would use about 17 of the 13,529 Salesforce API requests your org has left today (under 1% of its daily 15,000) and 2 Bulk API query jobs.

Below it, the estimate shows how many records the operation would read across how many objects, and how many API requests the estimate itself used. An object Salesforce would not count is listed with Salesforce's reason, and computed containers in the selection are listed as not estimated.

When the operation would need more than your org has left, the estimate says so and suggests running it after the allowance resets, or selecting fewer containers.

Keep in mind:

- **Estimating costs requests too**, about one API request per object, so the estimate is made only when you click the button.
- **The estimate does not refresh by itself.** Changing the selected containers or any of the read settings clears it; click **Estimate API usage** again to see the new figure.
- **It reads within the Record Limit.** A small limit reads each object in a single query job. A larger one still runs every query job a full read would, each stopped once it has its share of the limit, so it saves pages of results rather than query jobs.
- **Computed containers are not estimated.** What they read from Salesforce depends on their query, so the estimate names them and says the operation would use more than it shows. When the selection holds only computed containers, there is nothing to estimate.
- **It is an estimate.** How many times a query job is followed and how Salesforce pages its results vary from run to run, so the real figure can differ somewhat.

The same estimate is available over the API; see [Estimate an Operation's API Usage](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/api/#estimate-an-operations-api-usage).

## When the allowance runs out

When your org has used its daily API request allowance, or reached a Bulk API limit, Salesforce refuses further requests. The operation fails under **Source quota or rate limit reached**, with a message saying which Salesforce limit was reached. Qualytics does not retry it, because retrying would only spend more of an allowance that is already gone and that your other integrations also depend on. A Sync stops at the first refused object, rather than cataloguing the rest without their fields. Objects refused this way are never marked Unloadable, since nothing is wrong with them.

Run the operation again once the allowance has recovered, or ask your Salesforce admin about raising it. When a Bulk API limit was reached because too many query jobs ran at once, lowering **Maximum Parallel Jobs** on the connection also helps.

---

## See Also

- **Authentication**

  The Salesforce app, the client credentials flow, and the Run As user Qualytics reads as.

  [Authentication](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/authentication/)
- **Examples**

  Worked scenarios: a first connection, a short list of objects, a large object read in parallel, and a scan checked against the allowance.

  [Examples](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/examples/)
- **Best Practices**

  Recommendations for choosing objects, sizing parallel reads, and keeping API usage low.

  [Best Practices](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/best-practices/)
- **Permissions**

  The access the Run As user needs in Salesforce.

  [Permissions](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/permissions/)

*Last updated: November 23, 2026.*
