---
updatedAt: 2026-11-12T17:14:18.000Z
agentTools:
  projectIndex: https://docs.apollo.io/llms.txt
---

# List All Deals

 

<table>
  <thead>
    <tr style="background-color :#FEFFD9; color:#000000">
      <th colspan="2" align="left">Endpoint essentials</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><strong>API key access</strong></td>
      <td><code>deals/api/v1/opportunities/search</code> or <code>Master API key</code></td>
    </tr>
    <tr>
      <td><strong>OAuth scopes</strong></td>
      <td><code>opportunities_list</code></td>
    </tr>
    <tr>
      <td><strong>Credit usage</strong></td>
      <td><code>0 credits</code><br><a href="https://docs.apollo.io/docs/api-pricing">Learn more about API pricing and credits</a>.</td>
    </tr>
  </tbody>
</table>

<a href="https://knowledge.apollo.io/hc/en-us/articles/4415062467725-Deals-Overview" target="_blank">Deals</a> on Apollo help you track sales opportunities.<br><br>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.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "apollo-rest-api",
    "summary": "Programmatic access to Apollo's sales intelligence and engagement platform — data enrichment, prospect and company search, and go-to-market workflow management.",
    "description": "The Apollo API provides programmatic access to [Apollo](https://www.apollo.io/), the all-in-one sales intelligence and engagement platform. Use it to enrich people and company data (individually or in bulk), search Apollo's database of over 240 million contacts and 30 million companies, and manage accounts, contacts, deals, sequences, tasks, calls, and conversations in your go-to-market workflows.\n\n## Base URL\n\nAll API requests are made to `https://api.apollo.io/api/v1`.\n\n## Authentication\n\n- **Apollo users** authenticate with an API key passed in the `x-api-key` request header. See [Create API Keys](https://docs.apollo.io/docs/create-api-key).\n- **Apollo partners** building integrations on behalf of mutual users authenticate with the [OAuth 2.0 authorization flow](https://docs.apollo.io/docs/use-oauth-20-authorization-flow-to-access-apollo-user-information-partners).\n\n## Rate limits & credits\n\nRate limits and credit consumption depend on your [Apollo pricing plan](https://docs.apollo.io/docs/api-pricing). Check your current limits and usage with the [view API usage stats and rate limits](https://docs.apollo.io/reference/view-api-usage-stats) endpoint. For more details, see [Rate Limits](https://docs.apollo.io/reference/rate-limits) and the [API FAQs](https://docs.apollo.io/docs/apollo-api-faqs).\n\nNew to the API? Start with the [Apollo API overview](https://docs.apollo.io/reference/apollo-api).",
    "termsOfService": "https://www.apollo.io/terms/api",
    "contact": {
      "name": "Apollo API Support",
      "url": "https://docs.apollo.io/"
    },
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.apollo.io/api/v1"
    }
  ],
  "tags": [
    {
      "name": "Deals",
      "description": "Create, update, and track deals in your pipeline."
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key",
        "description": "[Recommended] API key, passed in the `x-api-key` request header.\nSee [Create API Keys](https://docs.apollo.io/docs/create-api-key)."
      },
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "description": "OAuth 2.0 access token, used by Apollo partners building integrations.\nSee the [OAuth 2.0 authorization flow](https://docs.apollo.io/docs/use-oauth-20-authorization-flow-to-access-apollo-user-information-partners)."
      }
    },
    "schemas": {
      "ErrorDetails": {
        "type": "object",
        "description": "Machine-readable detail for an error that uses the new format, returned alongside the endpoint's existing error fields. The legacy error fields at the root level (`error`, `error_code`, `message`, etc) are removed on 2027-02-16, after which `error_details` is the only error payload. Some errors already return `error_details` on its own.",
        "properties": {
          "code": {
            "type": "string",
            "description": "Stable identifier in the form `DOMAIN.CATEGORY.REASON`. Branch on this value; the human-readable `message` can change.",
            "example": "AUTH.AUTHENTICATION.CREDENTIALS_MISSING"
          },
          "message": {
            "type": "string",
            "description": "Human-readable explanation of what went wrong.",
            "example": "This request carried no credential Apollo could authenticate."
          },
          "suggestions": {
            "type": "array",
            "description": "Ordered, actionable next steps. Each entry carries a `label`, and where relevant the `parameter`, `header`, or `url` it refers to.",
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string",
                  "example": "Send your API key in the X-Api-Key header"
                },
                "url": {
                  "type": "string",
                  "example": "https://docs.apollo.io/reference/authentication"
                },
                "parameter": {
                  "type": "string",
                  "example": "webhook_url"
                },
                "parameters": {
                  "type": "array",
                  "description": "Several parameters, any one of which satisfies the requirement.",
                  "items": {
                    "type": "string"
                  },
                  "example": [
                    "name",
                    "domain",
                    "website_url",
                    "linkedin_url"
                  ]
                },
                "header": {
                  "type": "string",
                  "example": "X-Api-Key"
                },
                "example": {
                  "type": "string",
                  "description": "A valid sample value for the parameter named above."
                },
                "retry_after_seconds": {
                  "type": "integer",
                  "description": "On a rate-limit refusal, how long to wait before retrying.",
                  "example": 60
                }
              }
            }
          },
          "context": {
            "type": "object",
            "description": "Values from your request that explain the refusal. Each entry is an object rather than a bare value, so read `context.<key>.value`. Absent when the error needs no context.",
            "additionalProperties": {
              "type": "object",
              "properties": {
                "value": {
                  "oneOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "number"
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  ]
                },
                "description": {
                  "type": "string"
                }
              }
            },
            "example": {
              "window": {
                "value": "hourly",
                "description": "The rate-limit window your request exceeded"
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "apiKey": []
    },
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/opportunities/search": {
      "get": {
        "summary": "List all deals",
        "description": "## Endpoint essentials\n\n**API key access:** `deals/api/v1/opportunities/search` or `Master API key`\n\n**OAuth scopes:** `opportunities_list`\n\n**Credit usage:** `0 credits` — [Learn more about API pricing and credits](https://docs.apollo.io/docs/api-pricing).\n\n<a href=\"https://knowledge.apollo.io/hc/en-us/articles/4415062467725-Deals-Overview\" target=\"_blank\">Deals</a> on Apollo help you track sales opportunities.<br><br>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.",
        "tags": [
          "Deals"
        ],
        "operationId": "list-all-deals",
        "parameters": [
          {
            "name": "q_opportunity_name",
            "in": "query",
            "required": false,
            "description": "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. <br><br>Example: `renewal`",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "account_ids[]",
            "in": "query",
            "required": false,
            "description": "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. <br><br>To find account IDs, call the <a href=\"https://docs.apollo.io/reference/search-for-accounts\">search for accounts endpoint</a> and identify the `id` value for each account. <br><br>Example: `63f53afe4ceeca00016bdd2f`",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "opportunity_owner_ids[]",
            "in": "query",
            "required": false,
            "description": "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. <br><br>To find user IDs, call the <a href=\"https://docs.apollo.io/reference/get-a-list-of-users\">get a list of users endpoint</a>. <br><br>Example: `66302798d03b9601c7934ebf`",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "opportunity_stage_ids[]",
            "in": "query",
            "required": false,
            "description": "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. <br><br>To find stage IDs, call the <a href=\"https://docs.apollo.io/reference/list-deal-stages\">list deal stages endpoint</a>. <br><br>Example: `6095a710bd01d100a506d4b1`",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "not_opportunity_stage_ids[]",
            "in": "query",
            "required": false,
            "description": "Exclude deals in any of these stages, identified by Apollo stage ID. This is the counterpart to `opportunity_stage_ids[]`. <br><br>Example: `6095a710bd01d100a506d4b2`",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "opportunity_pipeline_ids[]",
            "in": "query",
            "required": false,
            "description": "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. <br><br>To find pipeline IDs, call the <a href=\"https://docs.apollo.io/reference/list-deal-stages\">list deal stages endpoint</a> and identify the `opportunity_pipeline_id` value for the stages in each pipeline. <br><br>Example: `6095a710bd01d100a506d4a9`",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          {
            "name": "opportunity_is_closed",
            "in": "query",
            "required": false,
            "description": "Set to `true` to return only closed deals, or `false` to return only open deals. Leave this parameter out to return both. <br><br>Example: `false`",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "opportunity_amount_range[min]",
            "in": "query",
            "required": false,
            "description": "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. <br><br>Do not enter currency symbols or commas in the figure. <br><br>Example: `10000`",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "opportunity_amount_range[max]",
            "in": "query",
            "required": false,
            "description": "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. <br><br>Do not enter currency symbols or commas in the figure. <br><br>Example: `50000`",
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "opportunity_close_date_range[min]",
            "in": "query",
            "required": false,
            "description": "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. <br><br>Example: `2026-01-01`",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "opportunity_close_date_range[max]",
            "in": "query",
            "required": false,
            "description": "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. <br><br>Example: `2026-03-31`",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "opportunity_created_at_date_range[min]",
            "in": "query",
            "required": false,
            "description": "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. <br><br>Example: `2026-01-01`",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "opportunity_created_at_date_range[max]",
            "in": "query",
            "required": false,
            "description": "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. <br><br>Example: `2026-03-31`",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "opportunity_updated_at[min]",
            "in": "query",
            "required": false,
            "description": "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. <br><br>Example: `2026-01-01`",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "opportunity_updated_at[max]",
            "in": "query",
            "required": false,
            "description": "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. <br><br>Example: `2026-03-31`",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "sort_by_field",
            "in": "query",
            "description": "Sort the deals by 1 of the following options. Results are sorted in descending order unless you set `sort_ascending` to `true`. <ul> <li> `opportunity_created_at`: The most recently created deals first. This is the default. </li> <li> `opportunity_updated_at`: The most recently updated deals first. </li> <li> `opportunity_close_date`: The latest estimated close dates first. </li> <li> `amount`: The largest deal values first. </li> <li> `is_closed`: Deals that have been closed first. </li> <li> `is_won`: Deals that have been won first. </li> </ul>",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort_ascending",
            "in": "query",
            "required": false,
            "description": "Set to `true` to sort the results in ascending order, which reverses the order described for each `sort_by_field` option. Defaults to `false`. <br><br>Example: `true`",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "The page number of the Apollo data that you want to retrieve. <br><br>Use this parameter in combination with the `per_page` parameter to make search results for navigable and improve the performance of the endpoint. <br><br>Example: `4`",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "per_page",
            "in": "query",
            "description": "The number of search results that should be returned for each page. Limiting the number of results per page improves the endpoint's performance. <br><br>Use the `page` parameter to search the different pages of data. The maximum value is `100`, and the default is `25`. <br><br>Example: `10`",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"breadcrumbs\": [],\n  \"opportunities\": [\n    {\n      \"id\": \"66e09ea8e3cfcf01b2208ec7\",\n      \"team_id\": \"6095a710bd01d100a506d4ac\",\n      \"owner_id\": \"66302798d03b9601c7934ebf\",\n      \"salesforce_owner_id\": null,\n      \"amount\": 9999999999,\n      \"closed_date\": \"2026-10-15T00:00:00.000+00:00\",\n      \"account_id\": \"60afffecbff6de00a4b82be7\",\n      \"description\": null,\n      \"is_closed\": false,\n      \"is_won\": false,\n      \"name\": \"Ridiculously Massive Space Deal\",\n      \"stage_name\": null,\n      \"opportunity_stage_id\": \"66bb94fbc1695c00017fba5f\",\n      \"source\": \"api\",\n      \"salesforce_id\": null,\n      \"created_at\": \"2024-09-10T19:31:52.436Z\",\n      \"actual_close_date\": null,\n      \"next_step\": null,\n      \"next_step_date\": null,\n      \"closed_lost_reason\": null,\n      \"closed_won_reason\": null,\n      \"forecast_category\": \"pipeline\",\n      \"deal_probability\": 25,\n      \"created_by_id\": \"60affe7d6e270a00f5db6fe4\",\n      \"current_solutions\": null,\n      \"deal_source\": null,\n      \"manually_updated_probability\": null,\n      \"manually_updated_forecast\": null,\n      \"crm_id\": null,\n      \"crm_record_url\": null,\n      \"crm_owner_id\": null,\n      \"probability\": null,\n      \"opportunity_pipeline_id\": null,\n      \"stage_updated_at\": \"2024-09-10T21:50:18.113+00:00\",\n      \"next_step_last_updated_at\": null,\n      \"exchange_rate_code\": \"USD\",\n      \"exchange_rate_value\": 1,\n      \"amount_in_team_currency\": 9999999999,\n      \"forecasted_revenue\": 2499999999.75,\n      \"last_activity_date\": \"2024-09-10T21:50:18.113Z\",\n      \"existence_level\": \"full\",\n      \"typed_custom_fields\": {},\n      \"opportunity_rule_config_statuses\": [],\n      \"opportunity_contact_roles\": [],\n      \"currency\": {\n        \"name\": \"US Dollar\",\n        \"iso_code\": \"USD\",\n        \"symbol\": \"$\"\n      },\n      \"account\": {\n        \"id\": \"60afffecbff6de00a4b82be7\",\n        \"name\": \"NASA - National Aeronautics and Space Administration\",\n        \"website_url\": \"http://www.nasa.gov\",\n        \"blog_url\": null,\n        \"angellist_url\": null,\n        \"linkedin_url\": \"http://www.linkedin.com/company/nasa\",\n        \"twitter_url\": \"https://twitter.com/NASA\",\n        \"facebook_url\": \"http://www.facebook.com/NASAJPL\",\n        \"primary_phone\": {\n          \"number\": \"+1 202-555-0117\",\n          \"source\": \"Owler\",\n          \"sanitized_number\": \"+12025550117\"\n        },\n        \"languages\": [\n          \"English\"\n        ],\n        \"alexa_ranking\": 1751,\n        \"phone\": \"+1 202-555-0117\",\n        \"linkedin_uid\": \"2003\",\n        \"founded_year\": 1958,\n        \"publicly_traded_symbol\": null,\n        \"publicly_traded_exchange\": \"nyse\",\n        \"logo_url\": \"https://zenprospect-production.s3.amazonaws.com/uploads/pictures/139afb7258561417c1d70d4c/picture\",\n        \"crunchbase_url\": null,\n        \"primary_domain\": \"nasa.gov\",\n        \"sanitized_phone\": \"+12025550117\",\n        \"domain\": \"nasa.gov\",\n        \"team_id\": \"6095a710bd01d100a506d4ac\",\n        \"organization_id\": \"55e16cfbf3e5bb66cf0026f3\",\n        \"account_stage_id\": \"6095a710bd01d100a506d4b9\",\n        \"source\": \"deployment\",\n        \"original_source\": \"deployment\",\n        \"creator_id\": null,\n        \"owner_id\": null,\n        \"created_at\": \"2021-05-27T20:24:12.644Z\",\n        \"phone_status\": \"no_status\",\n        \"hubspot_id\": null,\n        \"salesforce_id\": null,\n        \"crm_owner_id\": null,\n        \"parent_account_id\": null,\n        \"account_playbook_statuses\": [],\n        \"account_rule_config_statuses\": [\n          {\n            \"_id\": \"6466e8047759270001e53509\",\n            \"created_at\": null,\n            \"rule_action_config_id\": \"64650edd434f8f00a3b13938\",\n            \"rule_config_id\": \"64650edd434f8f00a3b13939\",\n            \"status_cd\": \"completed\",\n            \"updated_at\": null,\n            \"id\": \"6466e8047759270001e53509\",\n            \"key\": \"6466e8047759270001e53509\"\n          },\n          {\n            \"_id\": \"664f9e867bc0ad0001bd4230\",\n            \"created_at\": null,\n            \"rule_action_config_id\": \"65735e0ea63d2700faba5c6e\",\n            \"rule_config_id\": \"65735e0ea63d2700faba5c6f\",\n            \"status_cd\": \"completed\",\n            \"updated_at\": null,\n            \"id\": \"664f9e867bc0ad0001bd4230\",\n            \"key\": \"664f9e867bc0ad0001bd4230\"\n          }\n        ],\n        \"existence_level\": \"full\",\n        \"label_ids\": [\n          \"6466e8261e13be000133f25d\"\n        ],\n        \"typed_custom_fields\": {},\n        \"custom_field_errors\": null,\n        \"modality\": \"account\",\n        \"source_display_name\": \"Requested from Apollo\",\n        \"crm_record_url\": null,\n        \"contact_emailer_campaign_ids\": [],\n        \"contact_campaign_status_tally\": {},\n        \"num_contacts\": 2,\n        \"last_activity_date\": null\n      }\n    },\n    {\n      \"id\": \"66e0ab918c3aab02d0fc1484\",\n      \"team_id\": \"6095a710bd01d100a506d4ac\",\n      \"owner_id\": \"66302798d03b9601c7934ebf\",\n      \"salesforce_owner_id\": null,\n      \"amount\": 3543535353,\n      \"closed_date\": \"2025-01-24T00:00:00.000+00:00\",\n      \"account_id\": \"6598a1ff9998b100011e62e8\",\n      \"description\": null,\n      \"is_closed\": false,\n      \"is_won\": false,\n      \"name\": \"Massive Big Deal\",\n      \"stage_name\": null,\n      \"opportunity_stage_id\": \"6095a710bd01d100a506d4bd\",\n      \"source\": \"ui_form\",\n      \"salesforce_id\": null,\n      \"created_at\": \"2024-09-10T20:26:57.250Z\",\n      \"actual_close_date\": null,\n      \"next_step\": null,\n      \"next_step_date\": null,\n      \"closed_lost_reason\": null,\n      \"closed_won_reason\": null,\n      \"forecast_category\": \"pipeline\",\n      \"deal_probability\": 10,\n      \"created_by_id\": \"66302798d03b9601c7934ebf\",\n      \"current_solutions\": null,\n      \"deal_source\": null,\n      \"manually_updated_probability\": null,\n      \"manually_updated_forecast\": null,\n      \"crm_id\": null,\n      \"crm_record_url\": null,\n      \"crm_owner_id\": null,\n      \"probability\": null,\n      \"opportunity_pipeline_id\": \"654b989fcb2a5200010a90db\",\n      \"stage_updated_at\": \"2024-09-10T20:26:57.250+00:00\",\n      \"next_step_last_updated_at\": null,\n      \"exchange_rate_code\": \"USD\",\n      \"exchange_rate_value\": 1,\n      \"amount_in_team_currency\": 3543535353,\n      \"forecasted_revenue\": 354353535.3,\n      \"last_activity_date\": \"2024-09-10T20:27:04.893Z\",\n      \"existence_level\": \"full\",\n      \"typed_custom_fields\": {},\n      \"opportunity_rule_config_statuses\": [],\n      \"opportunity_contact_roles\": [],\n      \"currency\": {\n        \"name\": \"US Dollar\",\n        \"iso_code\": \"USD\",\n        \"symbol\": \"$\"\n      },\n      \"account\": {\n        \"id\": \"6598a1ff9998b100011e62e8\",\n        \"name\": \"NVIDIA\",\n        \"website_url\": \"http://www.nvidia.com\",\n        \"blog_url\": null,\n        \"angellist_url\": null,\n        \"linkedin_url\": \"http://www.linkedin.com/company/nvidia\",\n        \"twitter_url\": \"https://twitter.com/NVIDIANetworkng\",\n        \"facebook_url\": \"https://www.facebook.com/NVIDIANetworking\",\n        \"primary_phone\": {\n          \"number\": \"+1 408-555-0142\",\n          \"source\": \"Owler\",\n          \"sanitized_number\": \"+14085550142\"\n        },\n        \"languages\": [],\n        \"alexa_ranking\": 256,\n        \"phone\": \"+1-408-555-0142\",\n        \"linkedin_uid\": \"3608\",\n        \"founded_year\": 1993,\n        \"publicly_traded_symbol\": \"NVDA\",\n        \"publicly_traded_exchange\": \"nasdaq\",\n        \"logo_url\": \"https://zenprospect-production.s3.amazonaws.com/uploads/pictures/07f1389988fefd17c25c9b4e/picture\",\n        \"crunchbase_url\": null,\n        \"primary_domain\": \"nvidia.com\",\n        \"sanitized_phone\": \"+14085550142\",\n        \"market_cap\": \"2921.5B\",\n        \"domain\": \"nvidia.com\",\n        \"team_id\": \"6095a710bd01d100a506d4ac\",\n        \"organization_id\": \"5f50a22da4560d00e3eddf31\",\n        \"account_stage_id\": \"6095a710bd01d100a506d4b7\",\n        \"source\": \"deployment\",\n        \"original_source\": \"deployment\",\n        \"creator_id\": \"60affe7d6e270a00f5db6fe4\",\n        \"owner_id\": null,\n        \"created_at\": \"2024-01-06T00:42:39.874Z\",\n        \"phone_status\": \"no_status\",\n        \"hubspot_id\": null,\n        \"salesforce_id\": null,\n        \"crm_owner_id\": null,\n        \"parent_account_id\": null,\n        \"account_playbook_statuses\": [],\n        \"account_rule_config_statuses\": [\n          {\n            \"_id\": \"664f9ea42bd8b70001d5125f\",\n            \"created_at\": null,\n            \"rule_action_config_id\": \"65735e0ea63d2700faba5c6e\",\n            \"rule_config_id\": \"65735e0ea63d2700faba5c6f\",\n            \"status_cd\": \"completed\",\n            \"updated_at\": null,\n            \"id\": \"664f9ea42bd8b70001d5125f\",\n            \"key\": \"664f9ea42bd8b70001d5125f\"\n          },\n          {\n            \"_id\": \"666599704a8c4e0001eb707a\",\n            \"created_at\": null,\n            \"rule_action_config_id\": \"64650edd434f8f00a3b13938\",\n            \"rule_config_id\": \"64650edd434f8f00a3b13939\",\n            \"status_cd\": \"failed\",\n            \"updated_at\": null,\n            \"id\": \"666599704a8c4e0001eb707a\",\n            \"key\": \"666599704a8c4e0001eb707a\"\n          }\n        ],\n        \"existence_level\": \"full\",\n        \"label_ids\": [\n          \"6466e8261e13be000133f25d\"\n        ],\n        \"typed_custom_fields\": {},\n        \"custom_field_errors\": null,\n        \"modality\": \"account\",\n        \"source_display_name\": \"Requested from Apollo\",\n        \"crm_record_url\": null,\n        \"contact_emailer_campaign_ids\": [],\n        \"contact_campaign_status_tally\": {},\n        \"num_contacts\": 287,\n        \"last_activity_date\": null\n      }\n    },\n    {\n      \"id\": \"64e4d9d3f1b93a00b6e9afcd\",\n      \"team_id\": \"6095a710bd01d100a506d4ac\",\n      \"owner_id\": \"60affe7d6e270a00f5db6fe4\",\n      \"salesforce_owner_id\": null,\n      \"amount\": 20000000,\n      \"closed_date\": \"2024-01-31T00:00:00.000+00:00\",\n      \"account_id\": \"62c5b05b09b10900cb37616a\",\n      \"description\": null,\n      \"is_closed\": false,\n      \"is_won\": false,\n      \"name\": \"Huge Deal\",\n      \"stage_name\": null,\n      \"opportunity_stage_id\": \"6153414bc0559d00016ce5fe\",\n      \"source\": \"ui_form\",\n      \"salesforce_id\": null,\n      \"created_at\": \"2023-08-22T15:52:51.142Z\",\n      \"actual_close_date\": null,\n      \"next_step\": null,\n      \"next_step_date\": null,\n      \"closed_lost_reason\": null,\n      \"closed_won_reason\": null,\n      \"forecast_category\": \"pipeline\",\n      \"deal_probability\": 10,\n      \"created_by_id\": \"60affe7d6e270a00f5db6fe4\",\n      \"current_solutions\": null,\n      \"deal_source\": null,\n      \"manually_updated_probability\": null,\n      \"manually_updated_forecast\": null,\n      \"crm_id\": null,\n      \"crm_record_url\": null,\n      \"crm_owner_id\": null,\n      \"probability\": null,\n      \"opportunity_pipeline_id\": \"654b989fcb2a5200010a90db\",\n      \"stage_updated_at\": null,\n      \"next_step_last_updated_at\": null,\n      \"exchange_rate_code\": \"USD\",\n      \"exchange_rate_value\": 1,\n      \"amount_in_team_currency\": 20000000,\n      \"forecasted_revenue\": 2000000,\n      \"last_activity_date\": \"2023-11-09T02:06:28.283Z\",\n      \"existence_level\": \"full\",\n      \"typed_custom_fields\": {},\n      \"opportunity_rule_config_statuses\": [],\n      \"opportunity_contact_roles\": [],\n      \"currency\": {\n        \"name\": \"US Dollar\",\n        \"iso_code\": \"USD\",\n        \"symbol\": \"$\"\n      },\n      \"account\": {\n        \"id\": \"62c5b05b09b10900cb37616a\",\n        \"name\": \"Amazon\",\n        \"website_url\": \"http://www.amazon.com\",\n        \"blog_url\": null,\n        \"angellist_url\": null,\n        \"linkedin_url\": \"http://www.linkedin.com/company/amazon\",\n        \"twitter_url\": \"https://twitter.com/amazon\",\n        \"facebook_url\": \"https://facebook.com/Amazon/\",\n        \"primary_phone\": {\n          \"number\": \"+1 206-555-0108\",\n          \"source\": \"Owler\",\n          \"sanitized_number\": \"+12065550108\"\n        },\n        \"languages\": [],\n        \"alexa_ranking\": 18,\n        \"phone\": \"+1 206-555-0108\",\n        \"linkedin_uid\": \"1586\",\n        \"founded_year\": 1994,\n        \"publicly_traded_symbol\": \"AMZN\",\n        \"publicly_traded_exchange\": \"nasdaq\",\n        \"logo_url\": \"https://zenprospect-production.s3.amazonaws.com/uploads/pictures/4b090fa1d16c355d80faff04/picture\",\n        \"crunchbase_url\": null,\n        \"primary_domain\": \"amazon.com\",\n        \"sanitized_phone\": \"+12065550108\",\n        \"market_cap\": \"1957.3B\",\n        \"domain\": \"amazon.com\",\n        \"team_id\": \"6095a710bd01d100a506d4ac\",\n        \"organization_id\": \"5f2a39cb77a7440112460cf5\",\n        \"account_stage_id\": \"6095a710bd01d100a506d4b7\",\n        \"source\": \"deployment\",\n        \"original_source\": \"deployment\",\n        \"creator_id\": null,\n        \"owner_id\": null,\n        \"created_at\": \"2022-07-06T15:55:07.205Z\",\n        \"phone_status\": \"no_status\",\n        \"hubspot_id\": null,\n        \"salesforce_id\": null,\n        \"crm_owner_id\": null,\n        \"parent_account_id\": null,\n        \"account_playbook_statuses\": [\n          {\n            \"_id\": \"6360ba2b7eb0be00cbea1356\",\n            \"added_by_id\": \"60affe7d6e270a00f5db6fe4\",\n            \"added_on\": \"2022-11-01T06:18:19.578+00:00\",\n            \"completed_step_ids\": [],\n            \"created_at\": null,\n            \"current_step_id\": \"6360b83b3f99e300a3d3d20e\",\n            \"finished_reason_cd\": null,\n            \"paused_reason_cd\": 0,\n            \"playbook_id\": \"634832438e3ac500cc66265b\",\n            \"position\": 1,\n            \"status_cd\": \"paused\",\n            \"updated_at\": null,\n            \"id\": \"6360ba2b7eb0be00cbea1356\",\n            \"key\": \"6360ba2b7eb0be00cbea1356\"\n          }\n        ],\n        \"account_rule_config_statuses\": [\n          {\n            \"_id\": \"6466e8047759270001e53509\",\n            \"created_at\": null,\n            \"rule_action_config_id\": \"64650edd434f8f00a3b13938\",\n            \"rule_config_id\": \"64650edd434f8f00a3b13939\",\n            \"status_cd\": \"completed\",\n            \"updated_at\": null,\n            \"id\": \"6466e8047759270001e53509\",\n            \"key\": \"6466e8047759270001e53509\"\n          },\n          {\n            \"_id\": \"658118c6b2714c0001e4efe5\",\n            \"created_at\": null,\n            \"rule_action_config_id\": \"6580939a36272f01c6eda909\",\n            \"rule_config_id\": \"6580939a36272f01c6eda90b\",\n            \"status_cd\": \"completed\",\n            \"updated_at\": null,\n            \"id\": \"658118c6b2714c0001e4efe5\",\n            \"key\": \"658118c6b2714c0001e4efe5\"\n          },\n          {\n            \"_id\": \"662698e8b5d78e0007897f55\",\n            \"created_at\": null,\n            \"rule_action_config_id\": \"66268d54ce4494030093b962\",\n            \"rule_config_id\": \"66268d54ce4494030093b963\",\n            \"status_cd\": \"active\",\n            \"updated_at\": null,\n            \"id\": \"662698e8b5d78e0007897f55\",\n            \"key\": \"662698e8b5d78e0007897f55\"\n          },\n          {\n            \"_id\": \"664f9e7887829d0001373206\",\n            \"created_at\": null,\n            \"rule_action_config_id\": \"65735e0ea63d2700faba5c6e\",\n            \"rule_config_id\": \"65735e0ea63d2700faba5c6f\",\n            \"status_cd\": \"completed\",\n            \"updated_at\": null,\n            \"id\": \"664f9e7887829d0001373206\",\n            \"key\": \"664f9e7887829d0001373206\"\n          }\n        ],\n        \"existence_level\": \"full\",\n        \"label_ids\": [\n          \"6466e8261e13be000133f25d\"\n        ],\n        \"typed_custom_fields\": {},\n        \"custom_field_errors\": null,\n        \"modality\": \"account\",\n        \"source_display_name\": \"Requested from Apollo\",\n        \"crm_record_url\": null,\n        \"contact_emailer_campaign_ids\": [],\n        \"contact_campaign_status_tally\": {},\n        \"num_contacts\": 11,\n        \"last_activity_date\": null\n      }\n    }\n  ],\n  \"salesforce_users\": [],\n  \"partial_results_only\": false,\n  \"has_join\": false,\n  \"disable_eu_prospecting\": false,\n  \"partial_results_limit\": 10000,\n  \"pagination\": {\n    \"page\": 1,\n    \"per_page\": 3,\n    \"total_entries\": 35,\n    \"total_pages\": 12\n  },\n  \"num_fetch_result\": null\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "breadcrumbs": {
                      "type": "array"
                    },
                    "opportunities": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "example": "66e09ea8e3cfcf01b2208ec7"
                          },
                          "team_id": {
                            "type": "string",
                            "example": "6095a710bd01d100a506d4ac"
                          },
                          "owner_id": {
                            "type": "string",
                            "example": "66302798d03b9601c7934ebf"
                          },
                          "salesforce_owner_id": {},
                          "amount": {
                            "type": "integer",
                            "example": 9999999999,
                            "default": 0
                          },
                          "closed_date": {
                            "type": "string",
                            "example": "2026-10-15T00:00:00.000+00:00"
                          },
                          "account_id": {
                            "type": "string",
                            "example": "60afffecbff6de00a4b82be7"
                          },
                          "description": {},
                          "is_closed": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "is_won": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "name": {
                            "type": "string",
                            "example": "Ridiculously Massive Space Deal"
                          },
                          "stage_name": {},
                          "opportunity_stage_id": {
                            "type": "string",
                            "example": "66bb94fbc1695c00017fba5f"
                          },
                          "source": {
                            "type": "string",
                            "example": "api"
                          },
                          "salesforce_id": {},
                          "created_at": {
                            "type": "string",
                            "example": "2024-09-10T19:31:52.436Z"
                          },
                          "actual_close_date": {},
                          "next_step": {},
                          "next_step_date": {},
                          "closed_lost_reason": {},
                          "closed_won_reason": {},
                          "forecast_category": {
                            "type": "string",
                            "example": "pipeline"
                          },
                          "deal_probability": {
                            "type": "integer",
                            "example": 25,
                            "default": 0
                          },
                          "created_by_id": {
                            "type": "string",
                            "example": "60affe7d6e270a00f5db6fe4"
                          },
                          "current_solutions": {},
                          "deal_source": {},
                          "manually_updated_probability": {},
                          "manually_updated_forecast": {},
                          "crm_id": {},
                          "crm_record_url": {},
                          "crm_owner_id": {},
                          "probability": {},
                          "opportunity_pipeline_id": {},
                          "stage_updated_at": {
                            "type": "string",
                            "example": "2024-09-10T21:50:18.113+00:00"
                          },
                          "next_step_last_updated_at": {},
                          "exchange_rate_code": {
                            "type": "string",
                            "example": "USD"
                          },
                          "exchange_rate_value": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "amount_in_team_currency": {
                            "type": "integer",
                            "example": 9999999999,
                            "default": 0
                          },
                          "forecasted_revenue": {
                            "type": "number",
                            "example": 2499999999.75,
                            "default": 0
                          },
                          "last_activity_date": {
                            "type": "string",
                            "example": "2024-09-10T21:50:18.113Z"
                          },
                          "existence_level": {
                            "type": "string",
                            "example": "full"
                          },
                          "typed_custom_fields": {
                            "type": "object",
                            "properties": {}
                          },
                          "opportunity_rule_config_statuses": {
                            "type": "array"
                          },
                          "opportunity_contact_roles": {
                            "type": "array"
                          },
                          "currency": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string",
                                "example": "US Dollar"
                              },
                              "iso_code": {
                                "type": "string",
                                "example": "USD"
                              },
                              "symbol": {
                                "type": "string",
                                "example": "$"
                              }
                            }
                          },
                          "account": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "example": "60afffecbff6de00a4b82be7"
                              },
                              "name": {
                                "type": "string",
                                "example": "NASA - National Aeronautics and Space Administration"
                              },
                              "website_url": {
                                "type": "string",
                                "example": "http://www.nasa.gov"
                              },
                              "blog_url": {},
                              "angellist_url": {},
                              "linkedin_url": {
                                "type": "string",
                                "example": "http://www.linkedin.com/company/nasa"
                              },
                              "twitter_url": {
                                "type": "string",
                                "example": "https://twitter.com/NASA"
                              },
                              "facebook_url": {
                                "type": "string",
                                "example": "http://www.facebook.com/NASAJPL"
                              },
                              "primary_phone": {
                                "type": "object",
                                "properties": {
                                  "number": {
                                    "type": "string",
                                    "example": "+1 202-555-0117"
                                  },
                                  "source": {
                                    "type": "string",
                                    "example": "Owler"
                                  },
                                  "sanitized_number": {
                                    "type": "string",
                                    "example": "+12025550117"
                                  }
                                }
                              },
                              "languages": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "example": "English"
                                }
                              },
                              "alexa_ranking": {
                                "type": "integer",
                                "example": 1751,
                                "default": 0
                              },
                              "phone": {
                                "type": "string",
                                "example": "+1 202-555-0117"
                              },
                              "linkedin_uid": {
                                "type": "string",
                                "example": "2003"
                              },
                              "founded_year": {
                                "type": "integer",
                                "example": 1958,
                                "default": 0
                              },
                              "publicly_traded_symbol": {},
                              "publicly_traded_exchange": {
                                "type": "string",
                                "example": "nyse"
                              },
                              "logo_url": {
                                "type": "string",
                                "example": "https://zenprospect-production.s3.amazonaws.com/uploads/pictures/139afb7258561417c1d70d4c/picture"
                              },
                              "crunchbase_url": {},
                              "primary_domain": {
                                "type": "string",
                                "example": "nasa.gov"
                              },
                              "sanitized_phone": {
                                "type": "string",
                                "example": "+12025550117"
                              },
                              "domain": {
                                "type": "string",
                                "example": "nasa.gov"
                              },
                              "team_id": {
                                "type": "string",
                                "example": "6095a710bd01d100a506d4ac"
                              },
                              "organization_id": {
                                "type": "string",
                                "example": "55e16cfbf3e5bb66cf0026f3"
                              },
                              "account_stage_id": {
                                "type": "string",
                                "example": "6095a710bd01d100a506d4b9"
                              },
                              "source": {
                                "type": "string",
                                "example": "deployment"
                              },
                              "original_source": {
                                "type": "string",
                                "example": "deployment"
                              },
                              "creator_id": {},
                              "owner_id": {},
                              "created_at": {
                                "type": "string",
                                "example": "2021-05-27T20:24:12.644Z"
                              },
                              "phone_status": {
                                "type": "string",
                                "example": "no_status"
                              },
                              "hubspot_id": {},
                              "salesforce_id": {},
                              "crm_owner_id": {},
                              "parent_account_id": {},
                              "account_playbook_statuses": {
                                "type": "array"
                              },
                              "account_rule_config_statuses": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "_id": {
                                      "type": "string",
                                      "example": "6466e8047759270001e53509"
                                    },
                                    "created_at": {},
                                    "rule_action_config_id": {
                                      "type": "string",
                                      "example": "64650edd434f8f00a3b13938"
                                    },
                                    "rule_config_id": {
                                      "type": "string",
                                      "example": "64650edd434f8f00a3b13939"
                                    },
                                    "status_cd": {
                                      "type": "string",
                                      "example": "completed"
                                    },
                                    "updated_at": {},
                                    "id": {
                                      "type": "string",
                                      "example": "6466e8047759270001e53509"
                                    },
                                    "key": {
                                      "type": "string",
                                      "example": "6466e8047759270001e53509"
                                    }
                                  }
                                }
                              },
                              "existence_level": {
                                "type": "string",
                                "example": "full"
                              },
                              "label_ids": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "example": "6466e8261e13be000133f25d"
                                }
                              },
                              "typed_custom_fields": {
                                "type": "object",
                                "properties": {}
                              },
                              "custom_field_errors": {},
                              "modality": {
                                "type": "string",
                                "example": "account"
                              },
                              "source_display_name": {
                                "type": "string",
                                "example": "Requested from Apollo"
                              },
                              "crm_record_url": {},
                              "contact_emailer_campaign_ids": {
                                "type": "array"
                              },
                              "contact_campaign_status_tally": {
                                "type": "object",
                                "properties": {}
                              },
                              "num_contacts": {
                                "type": "integer",
                                "example": 2,
                                "default": 0
                              },
                              "last_activity_date": {}
                            }
                          }
                        }
                      }
                    },
                    "salesforce_users": {
                      "type": "array"
                    },
                    "partial_results_only": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "has_join": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "disable_eu_prospecting": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "partial_results_limit": {
                      "type": "integer",
                      "example": 10000,
                      "default": 0
                    },
                    "pagination": {
                      "type": "object",
                      "properties": {
                        "page": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "per_page": {
                          "type": "integer",
                          "example": 3,
                          "default": 0
                        },
                        "total_entries": {
                          "type": "integer",
                          "example": 35,
                          "default": 0
                        },
                        "total_pages": {
                          "type": "integer",
                          "example": 12,
                          "default": 0
                        }
                      }
                    },
                    "num_fetch_result": {}
                  }
                }
              }
            }
          },
          "401": {
            "description": "401",
            "content": {
              "text/plain": {
                "examples": {
                  "Result": {
                    "value": "Invalid API key. See https://docs.apollo.io/reference/authentication for how to authenticate."
                  }
                }
              }
            }
          },
          "403": {
            "description": "403",
            "content": {
              "application/json": {
                "examples": {
                  "Need master API key": {
                    "value": "{\n  \"error\": \"This API key is not authorized to access deals/api/v1/opportunities/search. Request an API key from your administrator that includes this endpoint in its configured scope.\",\n  \"error_code\": \"API_INACCESSIBLE\"\n}"
                  },
                  "Check Apollo pricing plan": {
                    "value": "{\n  \"message\": \"This endpoint is only available to Apollo users on paid plans.\"\n}"
                  }
                },
                "schema": {
                  "oneOf": [
                    {
                      "title": "Need master API key",
                      "type": "object",
                      "properties": {
                        "error": {
                          "type": "string",
                          "example": "This API key is not authorized to access deals/api/v1/opportunities/search. Request an API key from your administrator that includes this endpoint in its configured scope."
                        },
                        "error_code": {
                          "type": "string",
                          "example": "API_INACCESSIBLE"
                        }
                      }
                    },
                    {
                      "title": "Check Apollo pricing plan",
                      "type": "object",
                      "properties": {
                        "message": {
                          "type": "string",
                          "example": "This endpoint is only available to Apollo users on paid plans."
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "422": {
            "description": "422",
            "content": {
              "application/json": {
                "examples": {
                  "Too many search results per page": {
                    "value": "{\n  \"error\": \"Per page not supported\"\n}"
                  },
                  "Choose valid sort_by_field option": {
                    "value": "{\n  \"error\": \"Invalid sort criteria\",\n  \"skip_alert_dialog\": true\n}"
                  },
                  "Page limit exceeded": {
                    "value": "{\n  \"error\": \"Invalid parameter passed in. Page * per page number is over threshold.\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Per page not supported"
                    }
                  }
                }
              }
            }
          },
          "429": {
            "description": "429",
            "content": {
              "application/json": {
                "examples": {
                  "Too many requests": {
                    "value": "{\n  \"message\": \"The maximum number of api calls allowed for api/v1/opportunities/search is 600 times per hour. Please upgrade your plan from https://app.apollo.io/#/settings/plans/upgrade.\",\n  \"error_details\": {\n    \"code\": \"USAGE.RATE_LIMIT.API_RATE_LIMIT_EXCEEDED\",\n    \"message\": \"You have made more API requests than your plan allows in this time window.\",\n    \"suggestions\": [\n      {\n        \"label\": \"Wait until the rate limit resets, then retry the API request.\"\n      },\n      {\n        \"label\": \"Check the Apollo Docs to understand API rate limits and how to use response headers to prevent rate-limit errors.\",\n        \"url\": \"https://docs.apollo.io/reference/rate-limits\"\n      }\n    ],\n    \"context\": {\n      \"window\": {\n        \"value\": \"hour\",\n        \"description\": \"The rate limit window that was exhausted, such as \\\"minute\\\" or \\\"hour\\\"\"\n      }\n    }\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_details": {
                      "$ref": "#/components/schemas/ErrorDetails"
                    },
                    "message": {
                      "deprecated": true,
                      "description": "Legacy error field. Removed on 2027-02-16, after which `error_details` is the only error payload.",
                      "type": "string",
                      "example": "The maximum number of api calls allowed for api/v1/opportunities/search is 600 times per hour. Please upgrade your plan from https://app.apollo.io/#/settings/plans/upgrade."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Cache-Control",
        "value": "no-cache"
      },
      {
        "key": "Content-Type",
        "value": "application/json"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```