{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Jobs Scraper (No Login)",
    "description": "LinkedIn jobs, no login. Strict filters that check each job and never charge mismatches, job poster, skills and visa read from the description, skills match score, new-job tracking for schedules, company data, split by city. $1 per 1,000 jobs.",
    "version": "1.2",
    "x-build-id": "KBTOf3OvgauVQFhGr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/leadharbor~linkedin-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-leadharbor-linkedin-jobs-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/leadharbor~linkedin-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-leadharbor-linkedin-jobs-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/leadharbor~linkedin-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-leadharbor-linkedin-jobs-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",
        "properties": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Job search terms, one per line, e.g. \"nurse\", \"software engineer\". Give keywords, search URLs, or both.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Location to search, e.g. a city or country as you'd type it into LinkedIn's jobs search box.",
            "default": "United Arab Emirates"
          },
          "maxJobsPerKeyword": {
            "title": "Max jobs per keyword",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many job postings to collect per keyword and place. Paginates until this cap, an empty page or LinkedIn's limit of about 1,000.",
            "default": 100
          },
          "datePosted": {
            "title": "Date posted",
            "enum": [
              "any",
              "day",
              "week",
              "month"
            ],
            "type": "string",
            "description": "Restrict to postings within this window.",
            "default": "any"
          },
          "jobType": {
            "title": "Job type",
            "enum": [
              "any",
              "fulltime",
              "parttime",
              "contract",
              "internship"
            ],
            "type": "string",
            "description": "Employment type. LinkedIn's public search now ignores this filter, so the actor puts it into the search words (Smart filters) and, with Strict filters on, checks each job page and drops the ones that do not fit.",
            "default": "any"
          },
          "remote": {
            "title": "Workplace type",
            "enum": [
              "any",
              "onsite",
              "remote",
              "hybrid"
            ],
            "type": "string",
            "description": "On-site, remote or hybrid. LinkedIn's public search now ignores this filter, so the actor puts it into the search words (Smart filters) and, with Strict filters on, checks each job and drops the ones that do not fit.",
            "default": "any"
          },
          "fetchDetails": {
            "title": "Fetch job details",
            "type": "boolean",
            "description": "For each unique job, also fetch its full description, seniority level, employment type, job function, industries and applicant count. Slower and costs an extra charge per job.",
            "default": false
          },
          "notionConnector": {
            "title": "Notion connector (optional)",
            "type": "string",
            "description": "Send the job postings into your own Notion. Authorize Notion once in Apify Console > Settings > API & Integrations > MCP connectors, then pick it here. This Actor never sees your Notion login."
          },
          "notionParentPage": {
            "title": "Notion page to create the table in",
            "type": "string",
            "description": "Link of a Notion page. The first run creates a table inside it and fills it."
          },
          "notionDataSourceId": {
            "title": "Existing Notion table ID (optional)",
            "type": "string",
            "description": "To keep adding to the same table, paste the table ID printed in the log (also saved in the run's NOTION_RESULT record) by the first run."
          },
          "scoreRelevance": {
            "title": "Score relevance (optional, uses Jev by TypeSafe)",
            "type": "boolean",
            "description": "Adds a relevance score from 0 to 1 per job: is it a role someone searching this keyword wants? Job titles and company names of the public postings, plus your search keyword, are sent to TypeSafe (api.typesafe.ai) when this is on. Default off.",
            "default": false
          },
          "onlyRelevant": {
            "title": "Drop off-target jobs",
            "type": "boolean",
            "description": "Needs Score relevance. Removes jobs scoring under the threshold; removed jobs are not charged. Jobs that could not be scored are kept.",
            "default": false
          },
          "relevanceThreshold": {
            "title": "Relevance threshold",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "0 to 1. Jobs under this score count as off-target. 0.6 is a starting point tuned on a small set of titles.",
            "default": 0.6
          },
          "searchUrls": {
            "title": "LinkedIn search URLs (optional)",
            "type": "array",
            "description": "Paste LinkedIn jobs search URLs. Keywords, location and the filters in the URL (date, job type, workplace, experience, distance, geoId) are used for that search. Anything that is not a linkedin.com jobs search URL is skipped with a log warning.",
            "items": {
              "type": "string"
            }
          },
          "titleInclude": {
            "title": "Title must include (any of)",
            "type": "array",
            "description": "Keep only jobs whose title contains at least one of these words or phrases (not case sensitive). Jobs removed here are not charged.",
            "items": {
              "type": "string"
            }
          },
          "titleExclude": {
            "title": "Title must not include",
            "type": "array",
            "description": "Drop jobs whose title contains any of these words or phrases (not case sensitive), for example intern or sales. Jobs removed here are not charged.",
            "items": {
              "type": "string"
            }
          },
          "experienceLevel": {
            "title": "Experience level",
            "type": "array",
            "description": "Restrict to these experience levels. LinkedIn's public search now ignores this filter. With one level chosen it goes into the search words (Smart filters); with Strict filters on, each job page is checked and jobs of another level are dropped. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "internship",
                "entry",
                "associate",
                "midsenior",
                "director",
                "executive"
              ],
              "enumTitles": [
                "Internship",
                "Entry level",
                "Associate",
                "Mid-Senior level",
                "Director",
                "Executive"
              ]
            }
          },
          "locations": {
            "title": "More locations (optional)",
            "type": "array",
            "description": "Search several places in one run, one per line (cities, regions or countries). Each keyword is searched in each place. This is also the way past LinkedIn's cap of about 1,000 results per search: split a country into its cities. If filled, it replaces the single Location above.",
            "items": {
              "type": "string"
            }
          },
          "geoId": {
            "title": "LinkedIn location ID (optional)",
            "type": "string",
            "description": "A numeric LinkedIn geoId, copied from the address bar of a LinkedIn jobs search. Use it when a place name is ambiguous."
          },
          "distance": {
            "title": "Distance in miles (optional)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Search radius around the location. 0 leaves LinkedIn's default.",
            "default": 0
          },
          "companyIds": {
            "title": "Company IDs (optional)",
            "type": "array",
            "description": "Only jobs at these LinkedIn companies, one numeric company ID per line. With no keywords, returns every public job of those companies.",
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Only these companies (optional)",
            "type": "array",
            "description": "Keep only jobs whose company name contains one of these words (not case sensitive). Removed jobs are not charged.",
            "items": {
              "type": "string"
            }
          },
          "excludeCompanies": {
            "title": "Skip these companies (optional)",
            "type": "array",
            "description": "Drop jobs whose company name contains one of these words (not case sensitive). Removed jobs are not charged.",
            "items": {
              "type": "string"
            }
          },
          "removeAgencies": {
            "title": "Drop staffing and recruiting agencies",
            "type": "boolean",
            "description": "Removes jobs whose company name contains words like recruitment, staffing, headhunter or manpower. This is a guess from the name, so a few agencies get through and a few real employers could be dropped. Removed jobs are not charged.",
            "default": false
          },
          "easyApply": {
            "title": "Easy Apply only",
            "type": "boolean",
            "description": "Only jobs you can apply for inside LinkedIn.",
            "default": false
          },
          "under10Applicants": {
            "title": "Fewer than 10 applicants",
            "type": "boolean",
            "description": "Only jobs that have had fewer than 10 applicants so far.",
            "default": false
          },
          "minSalary": {
            "title": "Minimum yearly salary in US dollars (optional)",
            "minimum": 0,
            "type": "integer",
            "description": "Drops jobs whose shown salary is below this many US dollars a year. Only salaries shown in dollars with a stated period (per year, month, week, day or hour) are judged; any other salary is kept. Jobs that show no salary stay unless \"Only jobs that show a salary\" is on. 0 turns it off. LinkedIn's own salary filter no longer works, so the actor checks it.",
            "default": 0
          },
          "sortBy": {
            "title": "Sort",
            "enum": [
              "any",
              "recent",
              "relevant"
            ],
            "type": "string",
            "description": "Newest first or most relevant first.",
            "default": "any"
          },
          "jobIds": {
            "title": "Specific job IDs (optional)",
            "type": "array",
            "description": "LinkedIn job IDs (the long number at the end of a job URL), one per line. Each is returned with its full detail, and the search filters do not apply to them. Closed or removed jobs are skipped and not charged.",
            "items": {
              "type": "string"
            }
          },
          "onlyNewJobs": {
            "title": "Only jobs I have not received before",
            "type": "boolean",
            "description": "For scheduled runs. The actor remembers the IDs it delivered and returns only new ones next time; jobs you already received are skipped and not charged. IDs are forgotten after 90 days.",
            "default": false
          },
          "incrementalKey": {
            "title": "Memory name for new-jobs-only",
            "type": "string",
            "description": "Letters, digits and dashes. Use a different name for each separate schedule so they do not share a memory. Same name = same memory.",
            "default": "default"
          },
          "enrichCompany": {
            "title": "Add company data to every job",
            "type": "boolean",
            "description": "Adds the company's industry, size, headquarters, specialties, website, employee count and followers to each job (public company page, no login). No extra charge. A company LinkedIn will not show publicly just comes back without these fields.",
            "default": false
          },
          "maxJobsTotal": {
            "title": "Stop after this many jobs in total (optional)",
            "minimum": 0,
            "type": "integer",
            "description": "A safety cap across all keywords and locations, so a big run cannot cost more than you planned. 0 = no overall cap.",
            "default": 0
          },
          "smartFilters": {
            "title": "Smart filters (recommended)",
            "type": "boolean",
            "description": "Puts job type, workplace and experience level into the search words, which LinkedIn's search still understands (for example \"full-time remote nurse\"). Turn off to send the keyword exactly as typed.",
            "default": true
          },
          "strictFilters": {
            "title": "Strict filters: check every job and drop mismatches",
            "type": "boolean",
            "description": "Reads each job page and drops jobs whose employment type or seniority contradicts your filter, or whose text says on-site when you asked for remote. Dropped jobs are not charged. The page reads are free for you. Limits: many postings say seniority \"Not Applicable\" and are kept, and workplace is guessed from the wording. A job whose page cannot be read is kept and marked filtersVerified: false. Dropped jobs still count toward the maximum jobs you set, so you may receive fewer rows.",
            "default": false
          },
          "requireSalary": {
            "title": "Only jobs that show a salary",
            "type": "boolean",
            "description": "Drops jobs that show no salary on the search card.",
            "default": false
          },
          "splitByCity": {
            "title": "Split by city (get past the 1,000-result cap)",
            "type": "boolean",
            "description": "Runs the search once for each of the 40 biggest cities of the country, so one run can return far more than LinkedIn's limit of about 1,000 per search. The city list is a best-effort list (GeoNames), so a few entries are districts or towns. It can be a big run: set \"Stop after this many jobs in total\" to cap the cost. Uses the country in \"Country to split\" or, if empty, in Location.",
            "default": false
          },
          "splitCountry": {
            "title": "Country to split",
            "type": "string",
            "description": "Country name or two-letter code, for example United Arab Emirates, AE or US. Used only with Split by city."
          },
          "analyzeDescriptions": {
            "title": "Read the description: skills, years, visa, emails and more",
            "type": "boolean",
            "description": "Adds fields found by rules in the description text (no AI): skills, yearsExperienceMin, remotePolicy, visaSponsorship, educationLevel, languages, benefits, emailsInDescription, phonesInDescription. Needs the job page, so each job is charged the detail fee.",
            "default": false
          },
          "matchSkills": {
            "title": "Match jobs to my skills",
            "type": "array",
            "description": "Your skills, one per line or separated by commas. Add alternative spellings after a bar, for example \"javascript|js\". Each job gets matchScore (0 to 100), matchedSkills and missingSkills. Needs the job page, so each job is charged the detail fee. If a job page cannot be read, the job is dropped when a minimum score is set.",
            "items": {
              "type": "string"
            }
          },
          "minMatchScore": {
            "title": "Minimum match score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "With Match jobs to my skills: drop jobs scoring below this. Dropped jobs are not charged. 0 keeps all.",
            "default": 0
          },
          "reportChanges": {
            "title": "Also return jobs that were edited (off by default)",
            "type": "boolean",
            "description": "With \"Only jobs I have not received before\": also return a job again when its title, company, location or salary text changed since you got it, charged like any returned job. Each row says changeType: new or changed. Off by default so existing schedules cost the same as before.",
            "default": false
          },
          "descriptionMaxChars": {
            "title": "Shorten descriptions to this many characters",
            "minimum": 0,
            "type": "integer",
            "description": "For small payloads and AI pipelines. 0 keeps the full description.",
            "default": 0
          },
          "outputFields": {
            "title": "Only these fields (optional)",
            "type": "array",
            "description": "Field names to keep, one per line (or separated by commas), for example title, company, url. jobId is always kept; scrapedAt only if listed. Empty keeps all fields.",
            "items": {
              "type": "string"
            }
          },
          "useProxyOnBlock": {
            "title": "Use Apify proxy if LinkedIn blocks the run",
            "type": "boolean",
            "description": "If LinkedIn starts refusing the run's address, switch to Apify proxy for the rest of the run instead of stopping; if that proxy is refused too, a residential proxy is used within a per-run size cap. Used only after repeated refusals. The proxy cost is carried by the actor, not billed to you.",
            "default": true
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}