{
  "openapi": "3.0.1",
  "info": {
    "title": "Sales Navigator Scraper By Filters",
    "description": "Find and scrape LinkedIn Sales Navigator leads with advanced filters.",
    "version": "0.0",
    "x-build-id": "ZacA4aaq0cm2XZjGl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bestscrapers~sales-navigator-scraper-by-filters/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bestscrapers-sales-navigator-scraper-by-filters",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/bestscrapers~sales-navigator-scraper-by-filters/runs": {
      "post": {
        "operationId": "runs-sync-bestscrapers-sales-navigator-scraper-by-filters",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/bestscrapers~sales-navigator-scraper-by-filters/run-sync": {
      "post": {
        "operationId": "run-sync-bestscrapers-sales-navigator-scraper-by-filters",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "url": {
            "title": "Sales Navigator people search URL",
            "type": "string",
            "description": "Paste a Sales Navigator People Search URL here. Highest priority: if `url` is provided, all other filters will be ignored (except `limit`)."
          },
          "current_company_ids": {
            "title": "Current company IDs (include)",
            "maxItems": 10,
            "type": "array",
            "description": "Filter by current company. Maximum: 10 items. Learn how to find a company_id: https://i.postimg.cc/nz71ZHZH/how-to-find-company-id.png",
            "items": {
              "type": "integer"
            }
          },
          "current_company_names": {
            "title": "Current company names (include)",
            "maxItems": 10,
            "type": "array",
            "description": "Use this when company_id is not available. Maximum: 10 items.",
            "items": {
              "type": "string"
            }
          },
          "past_company_ids": {
            "title": "Past company IDs (include)",
            "maxItems": 10,
            "type": "array",
            "description": "Filter by past company. Maximum: 10 items. Learn how to find a company_id: https://i.postimg.cc/nz71ZHZH/how-to-find-company-id.png",
            "items": {
              "type": "integer"
            }
          },
          "past_company_names": {
            "title": "Past company names (include)",
            "maxItems": 10,
            "type": "array",
            "description": "Maximum: 10 items.",
            "items": {
              "type": "string"
            }
          },
          "title_keywords": {
            "title": "Job title keywords (include)",
            "maxItems": 20,
            "type": "array",
            "description": "Maximum: 20 items.",
            "items": {
              "type": "string"
            }
          },
          "past_job_titles": {
            "title": "Past job titles (include)",
            "type": "array",
            "description": "Maximum: 20 items.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Supports boolean keywords as well. For example: AI OR \"machine learning\"."
          },
          "company_headcounts": {
            "title": "Company headcount",
            "type": "array",
            "description": "Filter by company headcount range.",
            "items": {
              "type": "string",
              "enum": [
                "Self-employed",
                "1-10",
                "11-50",
                "51-200",
                "201-500",
                "501-1000",
                "1001-5000",
                "5001-10000",
                "10001+"
              ]
            }
          },
          "functions": {
            "title": "Job functions (include)",
            "type": "array",
            "description": "Filter by job function.",
            "items": {
              "type": "string",
              "enum": [
                "Accounting",
                "Administrative",
                "Arts and Design",
                "Business Development",
                "Community and Social Services",
                "Consulting",
                "Education",
                "Engineering",
                "Entrepreneurship",
                "Finance",
                "Healthcare Services",
                "Human Resources",
                "Information Technology",
                "Legal",
                "Marketing",
                "Media and Communication",
                "Military and Protective Services",
                "Operations",
                "Product Management",
                "Program and Project Management",
                "Purchasing",
                "Quality Assurance",
                "Real Estate",
                "Research",
                "Sales",
                "Customer Success and Support"
              ]
            }
          },
          "industry_codes": {
            "title": "Industry codes (include)",
            "maxItems": 10,
            "type": "array",
            "description": "All industry codes can be found on the provider's industry code list. Maximum: 10 items.",
            "items": {
              "type": "integer"
            }
          },
          "seniority_levels": {
            "title": "Seniority levels (include)",
            "type": "array",
            "description": "Filter by seniority level.",
            "items": {
              "type": "string",
              "enum": [
                "Owner/Partner",
                "CXO",
                "Vice President",
                "Director",
                "Experienced Manager",
                "Entry Level Manager",
                "Strategic",
                "Senior",
                "Entry Level",
                "In Training"
              ]
            }
          },
          "company_type": {
            "title": "Company type",
            "type": "array",
            "description": "Filter by company type.",
            "items": {
              "type": "string",
              "enum": [
                "Public Company",
                "Privately Held",
                "Non Profit",
                "Educational Institution",
                "Partnership",
                "Self Employed",
                "Self Owned",
                "Government Agency"
              ]
            }
          },
          "geo_codes": {
            "title": "Geo codes (include)",
            "maxItems": 20,
            "type": "array",
            "description": "Filter by location. Maximum: 20 items. Learn how to find a geo_code: https://i.postimg.cc/PrvRJk47/geo-code.png",
            "items": {
              "type": "integer"
            }
          },
          "company_headquarter_location_ids": {
            "title": "Company headquarters location IDs (include)",
            "maxItems": 20,
            "type": "array",
            "description": "Maximum: 20 items. Learn how to find a geo_code/location_id: https://i.postimg.cc/PrvRJk47/geo-code.png",
            "items": {
              "type": "integer"
            }
          },
          "year_in_current_company": {
            "title": "Years in current company",
            "type": "array",
            "description": "Filter by tenure at the current company.",
            "items": {
              "type": "string",
              "enum": [
                "Less than 1 year",
                "1 to 2 years",
                "3 to 5 years",
                "6 to 10 years",
                "More than 10 years"
              ]
            }
          },
          "year_in_current_position": {
            "title": "Years in current position",
            "type": "array",
            "description": "Filter by tenure in the current position.",
            "items": {
              "type": "string",
              "enum": [
                "Less than 1 year",
                "1 to 2 years",
                "3 to 5 years",
                "6 to 10 years",
                "More than 10 years"
              ]
            }
          },
          "years_of_experience": {
            "title": "Years of experience",
            "type": "array",
            "description": "Filter by total years of experience.",
            "items": {
              "type": "string",
              "enum": [
                "Less than 1 year",
                "1 to 2 years",
                "3 to 5 years",
                "6 to 10 years",
                "More than 10 years"
              ]
            }
          },
          "profile_languages": {
            "title": "Profile languages",
            "type": "array",
            "description": "Filter by profile language.",
            "items": {
              "type": "string",
              "enum": [
                "Arabic",
                "English",
                "Spanish",
                "Portuguese",
                "Chinese",
                "French",
                "Italian",
                "Russian",
                "German",
                "Dutch",
                "Turkish",
                "Tagalog",
                "Polish",
                "Korean",
                "Japanese",
                "Malay",
                "Norwegian",
                "Danish",
                "Romanian",
                "Swedish",
                "Bahasa Indonesia",
                "Czech"
              ]
            }
          },
          "school_ids": {
            "title": "School IDs (include)",
            "maxItems": 10,
            "type": "array",
            "description": "Maximum: 10 items.",
            "items": {
              "type": "integer"
            }
          },
          "first_name": {
            "title": "First name",
            "type": "string",
            "description": "Filter by first name."
          },
          "last_name": {
            "title": "Last name",
            "type": "string",
            "description": "Filter by last name."
          },
          "changed_jobs": {
            "title": "Changed jobs recently",
            "enum": [
              "true",
              "false"
            ],
            "type": "string",
            "description": "Whether the lead has changed jobs recently.",
            "default": "false"
          },
          "posted_on_linkedin": {
            "title": "Posted on LinkedIn",
            "enum": [
              "true",
              "false"
            ],
            "type": "string",
            "description": "Whether the lead has posted on LinkedIn.",
            "default": "false"
          },
          "mentioned_in_news": {
            "title": "Mentioned in news",
            "enum": [
              "true",
              "false"
            ],
            "type": "string",
            "description": "Whether the lead was mentioned in the news.",
            "default": "false"
          },
          "current_company_ids_exclude": {
            "title": "Current company IDs (exclude)",
            "maxItems": 10,
            "type": "array",
            "description": "Exclude specific current companies. Maximum: 10 items. Learn how to find a company_id: https://i.postimg.cc/nz71ZHZH/how-to-find-company-id.png",
            "items": {
              "type": "integer"
            }
          },
          "title_keywords_exclude": {
            "title": "Job title keywords (exclude)",
            "type": "array",
            "description": "Exclude specific title keywords. Maximum: 20 items.",
            "items": {
              "type": "string"
            }
          },
          "functions_exclude": {
            "title": "Job functions (exclude)",
            "type": "array",
            "description": "Exclude specific job functions.",
            "items": {
              "type": "string",
              "enum": [
                "Accounting",
                "Administrative",
                "Arts and Design",
                "Business Development",
                "Community and Social Services",
                "Consulting",
                "Education",
                "Engineering",
                "Entrepreneurship",
                "Finance",
                "Healthcare Services",
                "Human Resources",
                "Information Technology",
                "Legal",
                "Marketing",
                "Media and Communication",
                "Military and Protective Services",
                "Operations",
                "Product Management",
                "Program and Project Management",
                "Purchasing",
                "Quality Assurance",
                "Real Estate",
                "Research",
                "Sales",
                "Customer Success and Support"
              ]
            }
          },
          "geo_codes_exclude": {
            "title": "Geo codes (exclude)",
            "maxItems": 20,
            "type": "array",
            "description": "Exclude specific locations. Learn how to find a geo_code. Maximum: 20 items. https://i.postimg.cc/PrvRJk47/geo-code.png",
            "items": {
              "type": "integer"
            }
          },
          "past_company_ids_exclude": {
            "title": "Past company IDs (exclude)",
            "maxItems": 10,
            "type": "array",
            "description": "Exclude specific past companies. Maximum: 10 items. Learn how to find a company_id: https://i.postimg.cc/nz71ZHZH/how-to-find-company-id.png",
            "items": {
              "type": "integer"
            }
          },
          "past_job_titles_exclude": {
            "title": "Past job titles (exclude)",
            "maxItems": 20,
            "type": "array",
            "description": "Exclude specific past job titles. Maximum: 20 items.",
            "items": {
              "type": "string"
            }
          },
          "industry_codes_exclude": {
            "title": "Industry codes (exclude)",
            "maxItems": 10,
            "type": "array",
            "description": "Exclude specific industry codes. Maximum: 10 items.",
            "items": {
              "type": "integer"
            }
          },
          "seniority_levels_exclude": {
            "title": "Seniority levels (exclude)",
            "type": "array",
            "description": "Exclude specific seniority levels.",
            "items": {
              "type": "string",
              "enum": [
                "Owner/Partner",
                "CXO",
                "Vice President",
                "Director",
                "Experienced Manager",
                "Entry Level Manager",
                "Strategic",
                "Senior",
                "Entry Level",
                "In Training"
              ]
            }
          },
          "company_headquarter_location_ids_exclude": {
            "title": "Company headquarters location IDs (exclude)",
            "maxItems": 20,
            "type": "array",
            "description": "Exclude specific headquarters locations. Maximum: 20 items. Learn how to find a geo_code/location_id. https://i.postimg.cc/PrvRJk47/geo-code.png",
            "items": {
              "type": "integer"
            }
          },
          "school_ids_exclude": {
            "title": "School IDs (exclude)",
            "maxItems": 10,
            "type": "array",
            "description": "Exclude specific schools. Maximum: 10 items.",
            "items": {
              "type": "integer"
            }
          },
          "limit": {
            "title": "Result limit",
            "minimum": 1,
            "maximum": 2500,
            "type": "integer",
            "description": "Limit the number of results. Default: 25. Maximum: 2500.",
            "default": 25
          },
          "request_id": {
            "title": "Request ID",
            "type": "string",
            "description": "Use this to check status or fetch results of an existing search."
          },
          "page": {
            "title": "Page",
            "type": "integer",
            "description": "Results page to fetch when using request_id. Maximum: 25. Each page returns a maximum of 100 leads/profiles.",
            "default": 1
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}