{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Sales Navigator Scraper",
    "description": "Scrape LinkedIn Sales Navigator leads and accounts with 30+ filters: job titles, seniority, location, industry, company size, and spotlight signals. Enrich profiles with skills, education, work history, and email. Supports search URLs, saved lists, and direct profile enrichment. Export to JSON/CSV.",
    "version": "1.0",
    "x-build-id": "lPcbVACYULsJSMh5x"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~linkedin-sales-navigator-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-linkedin-sales-navigator-scraper",
        "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/silentflow~linkedin-sales-navigator-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-linkedin-sales-navigator-scraper",
        "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/silentflow~linkedin-sales-navigator-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-linkedin-sales-navigator-scraper",
        "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",
        "required": [
          "cookies",
          "userAgent"
        ],
        "properties": {
          "cookies": {
            "title": "LinkedIn Cookies",
            "type": "array",
            "description": "Your LinkedIn browser cookies as a JSON array.\n\nRequired cookies: li_at (session), JSESSIONID (CSRF), li_a (Sales Navigator)\n\nFormat: [{\"name\": \"li_at\", \"value\": \"...\"}, {\"name\": \"JSESSIONID\", \"value\": \"ajax:...\"}]",
            "default": [
              {}
            ]
          },
          "userAgent": {
            "title": "User Agent",
            "type": "string",
            "description": "The User-Agent from the browser you used to export cookies. Get it at whatismybrowser.com — must match exactly."
          },
          "searchUrl": {
            "title": "Sales Navigator Search or List URL",
            "type": "string",
            "description": "Paste a Sales Navigator URL from your browser. Supports search results and saved lists.\n\nExamples:\n- Lead search: https://www.linkedin.com/sales/search/people?query=...\n- Company search: https://www.linkedin.com/sales/search/company?query=...\n- Saved list: https://www.linkedin.com/sales/lists/people/123456789\n\nIf provided, filter parameters below are ignored."
          },
          "profileUrls": {
            "title": "Profile URLs — direct enrichment",
            "type": "array",
            "description": "List of LinkedIn profile URLs to enrich directly — bypasses Sales Navigator search entirely.\n\nExample: [\"https://www.linkedin.com/in/satya-nadella\", \"https://www.linkedin.com/in/jeffweiner08\"]",
            "items": {
              "type": "string"
            }
          },
          "searchType": {
            "title": "Search Type",
            "enum": [
              "people",
              "companies"
            ],
            "type": "string",
            "description": "Type of search when using filter parameters (ignored if searchUrl is set).",
            "default": "people"
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Free-text search across name, headline, and company."
          },
          "jobTitles": {
            "title": "Current Job Titles",
            "type": "array",
            "description": "Filter by current job title. Example: [\"CEO\", \"CTO\", \"VP of Engineering\"]",
            "items": {
              "type": "string"
            }
          },
          "seniorityLevels": {
            "title": "Seniority Levels",
            "type": "array",
            "description": "Filter by seniority level.",
            "items": {
              "type": "string",
              "enum": [
                "owner",
                "cxo",
                "vp",
                "director",
                "manager",
                "senior",
                "entry"
              ],
              "enumTitles": [
                "Owner",
                "C-Level (CXO)",
                "VP",
                "Director",
                "Manager",
                "Senior IC",
                "Entry Level"
              ]
            }
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "Filter by geographic location — auto-resolved to LinkedIn geo IDs. Example: [\"Paris\", \"New York\", \"United States\"]",
            "items": {
              "type": "string"
            }
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "Filter by industry — auto-resolved to LinkedIn IDs. Example: [\"Software Development\", \"Financial Services\"]",
            "items": {
              "type": "string"
            }
          },
          "jobFunctions": {
            "title": "Job Functions",
            "type": "array",
            "description": "Filter by department or job function.",
            "items": {
              "type": "string",
              "enum": [
                "accounting",
                "administrative",
                "arts and design",
                "business development",
                "consulting",
                "education",
                "engineering",
                "entrepreneurship",
                "finance",
                "healthcare",
                "hr",
                "it",
                "legal",
                "marketing",
                "media",
                "operations",
                "product management",
                "project management",
                "purchasing",
                "quality assurance",
                "real estate",
                "research",
                "sales",
                "support",
                "training"
              ],
              "enumTitles": [
                "Accounting",
                "Administrative",
                "Arts & Design",
                "Business Development",
                "Consulting",
                "Education",
                "Engineering",
                "Entrepreneurship",
                "Finance",
                "Healthcare Services",
                "Human Resources",
                "Information Technology",
                "Legal",
                "Marketing",
                "Media & Communication",
                "Operations",
                "Product Management",
                "Program & Project Management",
                "Purchasing",
                "Quality Assurance",
                "Real Estate",
                "Research",
                "Sales",
                "Support",
                "Training"
              ]
            }
          },
          "currentCompanies": {
            "title": "Current Companies",
            "type": "array",
            "description": "Filter by current employer — auto-resolved to LinkedIn company IDs. Example: [\"Google\", \"Stripe\"]",
            "items": {
              "type": "string"
            }
          },
          "companyHeadcounts": {
            "title": "Company Headcount",
            "type": "array",
            "description": "Filter by current company size.",
            "items": {
              "type": "string",
              "enum": [
                "1-10",
                "11-50",
                "51-200",
                "201-500",
                "501-1000",
                "1001-5000",
                "5001-10000",
                "10001+"
              ],
              "enumTitles": [
                "1–10",
                "11–50",
                "51–200",
                "201–500",
                "501–1000",
                "1,001–5,000",
                "5,001–10,000",
                "10,001+"
              ]
            }
          },
          "companyTypes": {
            "title": "Company Types",
            "type": "array",
            "description": "Filter by company type.",
            "items": {
              "type": "string",
              "enum": [
                "public",
                "private",
                "nonprofit",
                "educational",
                "government",
                "partnership",
                "self_employed"
              ],
              "enumTitles": [
                "Publicly Traded",
                "Privately Held",
                "Non-Profit",
                "Educational Institution",
                "Government Agency",
                "Partnership",
                "Self-Employed"
              ]
            }
          },
          "connectionDegrees": {
            "title": "Connection Degrees",
            "type": "array",
            "description": "Filter by LinkedIn connection degree. Example: [1, 2] for 1st and 2nd-degree connections.",
            "items": {
              "type": "integer"
            }
          },
          "yearsInCurrentPosition": {
            "title": "Years in Current Position",
            "type": "array",
            "description": "Filter by time in current role.",
            "items": {
              "type": "string",
              "enum": [
                "0-1",
                "1-2",
                "3-5",
                "6-10",
                "10+"
              ],
              "enumTitles": [
                "Less than 1 year",
                "1–2 years",
                "3–5 years",
                "6–10 years",
                "10+ years"
              ]
            }
          },
          "yearsInCurrentCompany": {
            "title": "Years in Current Company",
            "type": "array",
            "description": "Filter by time at current company.",
            "items": {
              "type": "string",
              "enum": [
                "0-1",
                "1-2",
                "3-5",
                "6-10",
                "10+"
              ],
              "enumTitles": [
                "Less than 1 year",
                "1–2 years",
                "3–5 years",
                "6–10 years",
                "10+ years"
              ]
            }
          },
          "yearsOfExperienceRange": {
            "title": "Total Years of Experience",
            "type": "array",
            "description": "Filter by total career length.",
            "items": {
              "type": "string",
              "enum": [
                "0-1",
                "1-2",
                "3-5",
                "6-10",
                "10+"
              ],
              "enumTitles": [
                "Less than 1 year",
                "1–2 years",
                "3–5 years",
                "6–10 years",
                "10+ years"
              ]
            }
          },
          "pastCompanies": {
            "title": "Past Companies",
            "type": "array",
            "description": "Filter by past employer. Example: [\"McKinsey\", \"Goldman Sachs\"]",
            "items": {
              "type": "string"
            }
          },
          "pastJobTitles": {
            "title": "Past Job Titles",
            "type": "array",
            "description": "Filter by previous job titles. Example: [\"Software Engineer\", \"Product Manager\"]",
            "items": {
              "type": "string"
            }
          },
          "schools": {
            "title": "Schools",
            "type": "array",
            "description": "Filter by school or university attended. Example: [\"MIT\", \"Stanford\"]",
            "items": {
              "type": "string"
            }
          },
          "firstName": {
            "title": "First Name",
            "type": "string",
            "description": "Filter leads by first name."
          },
          "lastName": {
            "title": "Last Name",
            "type": "string",
            "description": "Filter leads by last name."
          },
          "teamLink": {
            "title": "TeamLink Only",
            "type": "boolean",
            "description": "Only include leads reachable via TeamLink (your company's extended LinkedIn network).",
            "default": false
          },
          "changedJobsLast90Days": {
            "title": "Changed Jobs in Last 90 Days",
            "type": "boolean",
            "description": "Only include leads who changed jobs in the last 90 days.",
            "default": false
          },
          "postedLast30Days": {
            "title": "Posted on LinkedIn in Last 30 Days",
            "type": "boolean",
            "description": "Only include leads who posted on LinkedIn in the last 30 days.",
            "default": false
          },
          "openToWork": {
            "title": "Open to Work",
            "type": "boolean",
            "description": "Only include leads with the #OpenToWork signal.",
            "default": false
          },
          "newsMentioned": {
            "title": "Mentioned in News",
            "type": "boolean",
            "description": "Only include leads who have been mentioned in recent news.",
            "default": false
          },
          "annualRevenue": {
            "title": "Annual Revenue",
            "type": "array",
            "description": "Filter accounts by annual revenue range.",
            "items": {
              "type": "string",
              "enum": [
                "0-1m",
                "1-10m",
                "10-50m",
                "50-200m",
                "200m-1b",
                "1b+"
              ],
              "enumTitles": [
                "$0–1M",
                "$1M–10M",
                "$10M–50M",
                "$50M–200M",
                "$200M–1B",
                "$1B+"
              ]
            }
          },
          "recentlyFunded": {
            "title": "Recently Funded",
            "type": "boolean",
            "description": "Only include accounts that recently received funding.",
            "default": false
          },
          "limit": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 2500,
            "type": "integer",
            "description": "Maximum number of results to return. Default: 25, max: 2500.",
            "default": 25
          },
          "fetchDetails": {
            "title": "Fetch Full Details",
            "type": "boolean",
            "description": "Fetch complete profile data: skills, certifications, languages, education, experience, publications, patents, volunteering, company details. Also fetches email and phone for 1st-degree connections. Adds 3–5 seconds per result.",
            "default": false
          },
          "startPage": {
            "title": "Start Page",
            "minimum": 1,
            "type": "integer",
            "description": "Page number to start from. Use to resume an interrupted run. Default: 1.",
            "default": 1
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "URL to POST results to after each page (compatible with Zapier, Make, n8n)."
          },
          "proxy": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings. Residential proxies recommended for best results.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "minDelay": {
            "title": "Min Delay Between Pages — seconds",
            "minimum": 0,
            "maximum": 120,
            "type": "integer",
            "description": "Minimum wait time between pages. Default: 1s.",
            "default": 1
          },
          "maxDelay": {
            "title": "Max Delay Between Pages — seconds",
            "minimum": 1,
            "maximum": 120,
            "type": "integer",
            "description": "Maximum wait time between pages. Default: 3s.",
            "default": 3
          },
          "stopOnRateLimit": {
            "title": "Stop on Rate Limit",
            "type": "boolean",
            "description": "Stop immediately when a rate limit is reached instead of retrying.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}