{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Jobs Scraper",
    "description": "Scrape LinkedIn jobs without login or cookies. Get title, company, location, salary, full description, and company details. Search by keyword or paste a LinkedIn search URL, filter by title, company, or salary, and export to JSON, CSV, or Excel.",
    "version": "0.0",
    "x-build-id": "SYfZ5ESXFD2d6gF4v"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dataji~apify-linkdin-jobs/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dataji-apify-linkdin-jobs",
        "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/dataji~apify-linkdin-jobs/runs": {
      "post": {
        "operationId": "runs-sync-dataji-apify-linkdin-jobs",
        "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/dataji~apify-linkdin-jobs/run-sync": {
      "post": {
        "operationId": "run-sync-dataji-apify-linkdin-jobs",
        "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": [
          "keywords"
        ],
        "properties": {
          "searchUrls": {
            "title": "LinkedIn search URLs",
            "type": "array",
            "description": "Paste one or more LinkedIn job-search URLs (from linkedin.com/jobs/search). Overrides the keyword/filter fields below and preserves every filter in the URL. Leave empty to use the structured fields.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Search terms, e.g. job title, skill, or company. Ignored if 'searchUrls' is set."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, region, or country to search in. Leave empty for worldwide."
          },
          "geoId": {
            "title": "Geo ID (advanced)",
            "type": "string",
            "description": "Exact LinkedIn geo identifier for precise location filtering. Overrides free-text matching of 'location'. Find it in the geoId= query param of a linkedin.com/jobs/search URL."
          },
          "companyIds": {
            "title": "Company IDs",
            "type": "array",
            "description": "Restrict the search to these LinkedIn company IDs (the number in a company page URL / the f_C= URL param). Structured mode only.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "skipJobIds": {
            "title": "Skip job IDs",
            "type": "array",
            "description": "Job IDs to treat as already seen and exclude. Feed the IDs from a previous run here to collect only NEW postings (ideal for scheduled daily runs).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "",
              "recent",
              "relevance"
            ],
            "type": "string",
            "description": "Order of the LinkedIn search results.",
            "default": ""
          },
          "datePosted": {
            "title": "Date posted",
            "enum": [
              "any",
              "past24Hours",
              "pastWeek",
              "pastMonth"
            ],
            "type": "string",
            "description": "Only return jobs posted within this time window.",
            "default": "any"
          },
          "jobTypes": {
            "title": "Job types",
            "type": "array",
            "description": "Employment types to include. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "fullTime",
                "partTime",
                "contract",
                "temporary",
                "internship",
                "volunteer"
              ],
              "enumTitles": [
                "Full-time",
                "Part-time",
                "Contract",
                "Temporary",
                "Internship",
                "Volunteer"
              ]
            },
            "default": []
          },
          "workplaceTypes": {
            "title": "Workplace types",
            "type": "array",
            "description": "On-site / remote / hybrid. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "onSite",
                "remote",
                "hybrid"
              ],
              "enumTitles": [
                "On-site",
                "Remote",
                "Hybrid"
              ]
            },
            "default": []
          },
          "experienceLevels": {
            "title": "Experience levels",
            "type": "array",
            "description": "Seniority filter. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "internship",
                "entryLevel",
                "associate",
                "midSenior",
                "director",
                "executive"
              ],
              "enumTitles": [
                "Internship",
                "Entry level",
                "Associate",
                "Mid-Senior",
                "Director",
                "Executive"
              ]
            },
            "default": []
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Stop after collecting this many jobs. Caps run time and cost.",
            "default": 100
          },
          "splitByCountry": {
            "title": "Split across cities of a country (exceed ~1000 cap)",
            "enum": [
              "",
              "United States",
              "United Kingdom",
              "Canada",
              "Germany",
              "India",
              "France",
              "Australia",
              "Netherlands",
              "Spain",
              "Italy",
              "Brazil",
              "Ireland",
              "Poland",
              "Sweden",
              "Singapore"
            ],
            "type": "string",
            "description": "Run the search once per major city of the chosen country, then de-duplicate. A curated starter list of metros per country. Ignored if 'splitLocations' is set.",
            "default": ""
          },
          "splitLocations": {
            "title": "Split across custom locations",
            "type": "array",
            "description": "Run the search once per location listed here (cities/regions), then de-duplicate. Overrides 'splitByCountry'. Use to exceed the ~1000-result cap with your own location list.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "splitBy": {
            "title": "Split query by filter dimension (exceed ~1000 cap)",
            "type": "array",
            "description": "LinkedIn caps each query near 1000 results. Split the search into sub-queries by these dimensions (the cartesian product is run, then de-duplicated). Pick more than one to multiply coverage, e.g. experience level × job type = 36 sub-queries.",
            "items": {
              "type": "string",
              "enum": [
                "experienceLevel",
                "jobType",
                "workplaceType"
              ],
              "enumTitles": [
                "Experience level",
                "Job type",
                "Workplace type"
              ]
            },
            "default": []
          },
          "scrapeDetails": {
            "title": "Scrape full job details",
            "type": "boolean",
            "description": "Fetch each job's detail page for full description, seniority, function, industry, and applicant count. One extra request per job.",
            "default": true
          },
          "titleIncludeKeywords": {
            "title": "Title must include (any)",
            "type": "array",
            "description": "Keep only jobs whose title contains at least one of these keywords (case-insensitive).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "titleExcludeKeywords": {
            "title": "Title must NOT include",
            "type": "array",
            "description": "Drop jobs whose title contains any of these keywords (e.g. 'senior', 'manager').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeCompanies": {
            "title": "Exclude companies",
            "type": "array",
            "description": "Drop jobs from these companies (case-insensitive substring match on company name).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minSalary": {
            "title": "Minimum salary",
            "minimum": 0,
            "type": "integer",
            "description": "Drop jobs whose parsed salary maximum is below this. Jobs with no salary shown are kept.",
            "default": 0
          },
          "onlyWithSalary": {
            "title": "Only jobs with salary",
            "type": "boolean",
            "description": "Keep only jobs that display a salary.",
            "default": false
          },
          "onlyNewJobs": {
            "title": "Only new jobs (incremental)",
            "type": "boolean",
            "description": "Skip jobs seen in previous runs of this Actor (tracked automatically). Ideal for scheduled daily runs.",
            "default": false
          },
          "scrapeCompany": {
            "title": "Scrape company details",
            "type": "boolean",
            "description": "Fetch each unique company's page for size, industry, website, headquarters, founded year, follower/employee counts. One extra request per unique company.",
            "default": false
          },
          "requestDelaySecs": {
            "title": "Request delay (seconds)",
            "minimum": 0,
            "maximum": 30,
            "type": "integer",
            "description": "Base delay between requests (jittered). The default of 1 suits residential proxies; raise it if you use datacenter or hit rate limits.",
            "default": 1
          },
          "detailConcurrency": {
            "title": "Detail-fetch concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many job detail pages to fetch in parallel. Lower = gentler on rate limits.",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxy (the default) is the most reliable — LinkedIn heavily rate-limits datacenter IPs. For small, low-volume runs you can switch to Datacenter to save cost.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}