List All Deals

Endpoint essentials
API key accessdeals/api/v1/opportunities/search or Master API key
OAuth scopesopportunities_list
Credit usage0 credits
Learn more about API pricing and credits.

Deals on Apollo help you track sales opportunities.

Use the list all deals endpoint to retrieve the deals in your team's Apollo account. To narrow the results, filter by keyword, account, owner, stage, pipeline, open or closed status, amount, or date.

Query Params
string

Search deals by keyword. Apollo matches the keywords against the deal name and the name of the account the deal belongs to. Every keyword you add must match.

Example: renewal

account_ids[]
array of strings

The Apollo IDs for the accounts whose deals you want to include in the results. A deal only needs to belong to 1 of the accounts you add.

To find account IDs, call the search for accounts endpoint and identify the id value for each account.

Example: 63f53afe4ceeca00016bdd2f

account_ids[]
opportunity_owner_ids[]
array of strings

The Apollo IDs for the users who own the deals you want to include in the results. A deal only needs to be owned by 1 of the users you add.

To find user IDs, call the get a list of users endpoint.

Example: 66302798d03b9601c7934ebf

opportunity_owner_ids[]
opportunity_stage_ids[]
array of strings

The Apollo IDs for the deal stages you want to include in the results. A deal only needs to be in 1 of the stages you add.

To find stage IDs, call the list deal stages endpoint.

Example: 6095a710bd01d100a506d4b1

opportunity_stage_ids[]
not_opportunity_stage_ids[]
array of strings

Exclude deals in any of these stages, identified by Apollo stage ID. This is the counterpart to opportunity_stage_ids[].

Example: 6095a710bd01d100a506d4b2

not_opportunity_stage_ids[]
opportunity_pipeline_ids[]
array of strings

The Apollo IDs for the pipelines whose deals you want to include in the results. A deal only needs to be in 1 of the pipelines you add.

To find pipeline IDs, call the list deal stages endpoint and identify the opportunity_pipeline_id value for the stages in each pipeline.

Example: 6095a710bd01d100a506d4a9

opportunity_pipeline_ids[]
boolean

Set to true to return only closed deals, or false to return only open deals. Leave this parameter out to return both.

Example: false

number

The minimum deal amount. Use this parameter in combination with opportunity_amount_range[max] to set an amount range. Apollo compares amounts in your team's default currency.

Do not enter currency symbols or commas in the figure.

Example: 10000

number

The maximum deal amount. Use this parameter in combination with opportunity_amount_range[min] to set an amount range. Apollo compares amounts in your team's default currency.

Do not enter currency symbols or commas in the figure.

Example: 50000

date

The earliest estimated close date for deals to include in the results. Use this parameter in combination with opportunity_close_date_range[max] to set a date range. Use the YYYY-MM-DD format.

Example: 2026-01-01

date

The latest estimated close date for deals to include in the results. Use this parameter in combination with opportunity_close_date_range[min] to set a date range. Use the YYYY-MM-DD format.

Example: 2026-03-31

date

The earliest date the deals were created. Use this parameter in combination with opportunity_created_at_date_range[max] to set a date range. Use the YYYY-MM-DD format.

Example: 2026-01-01

date

The latest date the deals were created. Use this parameter in combination with opportunity_created_at_date_range[min] to set a date range. Use the YYYY-MM-DD format.

Example: 2026-03-31

date

The earliest date the deals were last updated. Use this parameter in combination with opportunity_updated_at[max] to set a date range. Use the YYYY-MM-DD format.

Example: 2026-01-01

date

The latest date the deals were last updated. Use this parameter on its own to find deals that have not been updated since a date, or in combination with opportunity_updated_at[min] to set a date range. Use the YYYY-MM-DD format.

Example: 2026-03-31

string

Sort the deals by 1 of the following options. Results are sorted in descending order unless you set sort_ascending to true.

  • opportunity_created_at: The most recently created deals first. This is the default.
  • opportunity_updated_at: The most recently updated deals first.
  • opportunity_close_date: The latest estimated close dates first.
  • amount: The largest deal values first.
  • is_closed: Deals that have been closed first.
  • is_won: Deals that have been won first.

boolean

Set to true to sort the results in ascending order, which reverses the order described for each sort_by_field option. Defaults to false.

Example: true

int32

The page number of the Apollo data that you want to retrieve.

Use this parameter in combination with the per_page parameter to make search results for navigable and improve the performance of the endpoint.

Example: 4

int32

The number of search results that should be returned for each page. Limiting the number of results per page improves the endpoint's performance.

Use the page parameter to search the different pages of data. The maximum value is 100, and the default is 25.

Example: 10

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json