{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Jobs Scraper",
    "description": "LinkedIn jobs by keyword, place and filters or search links: full description, applicants, seniority, pay range, only-new monitor, thousands of jobs past LinkedIn's limit. Built to beat curious_coder's LinkedIn Jobs Scraper: $1.60 vs $2.00 per 1,000 with full details, plus filters it lacks.",
    "version": "0.1",
    "x-build-id": "IIjdZyo1VuDEVPXdV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/tidyharvest~linkedin-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-tidyharvest-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/tidyharvest~linkedin-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-tidyharvest-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/tidyharvest~linkedin-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-tidyharvest-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": "Job titles / keywords",
            "type": "array",
            "description": "What to search for, one per line (for example `data analyst`). Each keyword is searched in every place below. `a OR b` works inside one line.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Places",
            "type": "array",
            "description": "Where to search, one per line, as you would type it on LinkedIn: a country, state, city or `Remote` (for example `Berlin, Germany`). Empty = LinkedIn's default place.",
            "items": {
              "type": "string"
            }
          },
          "urls": {
            "title": "LinkedIn job search links (optional)",
            "type": "array",
            "description": "Paste links from LinkedIn's job search page (or single job links). Keywords, place, date, company, Easy Apply, applicants, experience, job type and workplace filters in the link are used.",
            "items": {
              "type": "string"
            }
          },
          "datePosted": {
            "title": "Date posted",
            "enum": [
              "anyTime",
              "past24Hours",
              "pastWeek",
              "pastMonth"
            ],
            "type": "string",
            "description": "Only jobs posted within this window.",
            "default": "anyTime"
          },
          "postedWithinHours": {
            "title": "Posted within the last N hours",
            "minimum": 1,
            "maximum": 744,
            "type": "integer",
            "description": "A custom window, for example 3 for hourly monitoring. Overrides Date posted."
          },
          "maxItems": {
            "title": "Max jobs in total",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on jobs returned in the whole run (also caps your cost). LinkedIn lists between about 100 and 1,000 jobs per search, depending on the search; with splitting on, the run goes past that until it reaches this number.",
            "default": 100
          },
          "includeDetails": {
            "title": "Include full job details",
            "type": "boolean",
            "description": "Adds description, applicants, seniority, employment type, function, industries and pay range for each job (charged as `job-details-added`). Turn off for a fast, cheaper list of jobs.",
            "default": true
          },
          "onlyNewJobs": {
            "title": "Only jobs not returned before (monitor)",
            "type": "boolean",
            "description": "Remembers the jobs you already received under the monitor name below and returns only new ones on later runs.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor name",
            "type": "string",
            "description": "Name of the memory used by 'Only jobs not returned before'. Use a different name for each saved search.",
            "default": "default"
          },
          "experienceLevels": {
            "title": "Experience level",
            "type": "array",
            "description": "Keep jobs whose posting says one of these levels. Reads each job's details to check.",
            "items": {
              "type": "string",
              "enum": [
                "internship",
                "entry",
                "associate",
                "mid-senior",
                "director",
                "executive"
              ]
            }
          },
          "jobTypes": {
            "title": "Job type",
            "type": "array",
            "description": "Keep jobs of these employment types.",
            "items": {
              "type": "string",
              "enum": [
                "full-time",
                "part-time",
                "contract",
                "temporary",
                "internship",
                "volunteer",
                "other"
              ]
            }
          },
          "workplaceTypes": {
            "title": "Workplace",
            "type": "array",
            "description": "Keep jobs that say they are remote, hybrid or on-site in their location, title or text. Jobs that do not say are left out.",
            "items": {
              "type": "string",
              "enum": [
                "remote",
                "hybrid",
                "on-site"
              ]
            }
          },
          "easyApplyOnly": {
            "title": "Easy Apply only",
            "type": "boolean",
            "description": "Only jobs with LinkedIn Easy Apply.",
            "default": false
          },
          "under10Applicants": {
            "title": "Under 10 applicants",
            "type": "boolean",
            "description": "Only jobs with fewer than 10 applicants.",
            "default": false
          },
          "companyIds": {
            "title": "Company IDs",
            "type": "array",
            "description": "LinkedIn company numbers (for example `1441` for Google). Only jobs of these companies.",
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Company names",
            "type": "array",
            "description": "Only jobs whose company name matches one of these (for example `Google`). Used as the keyword when none is given.",
            "items": {
              "type": "string"
            }
          },
          "titleInclude": {
            "title": "Title must contain",
            "type": "array",
            "description": "Keep a job if its title contains all words of at least one line (any order, ignoring case).",
            "items": {
              "type": "string"
            }
          },
          "titleExclude": {
            "title": "Title must not contain",
            "type": "array",
            "description": "Drop a job if its title contains all words of any line (for example `intern`).",
            "items": {
              "type": "string"
            }
          },
          "minSalary": {
            "title": "Minimum yearly salary",
            "minimum": 0,
            "type": "integer",
            "description": "Keep jobs that show a pay range whose top is at least this per year (hourly and monthly ranges are converted). Jobs without a pay range are left out."
          },
          "requireSalary": {
            "title": "Only jobs with a pay range",
            "type": "boolean",
            "description": "Keep only jobs that show a salary.",
            "default": false
          },
          "skipJobIds": {
            "title": "Skip job IDs",
            "type": "array",
            "description": "Job IDs you already have; they are not returned or charged.",
            "items": {
              "type": "string"
            }
          },
          "autoSplit": {
            "title": "Go past LinkedIn's per-search limit",
            "type": "boolean",
            "description": "When a search reaches the most jobs LinkedIn will list for it (about 100 to 1,000) and you asked for more, it is split into smaller places, recent time windows and OR terms, and results are de-duplicated.",
            "default": true
          },
          "maxPerSearch": {
            "title": "Max jobs per search",
            "minimum": 1,
            "type": "integer",
            "description": "Optional cap for each keyword + place search (and each link)."
          },
          "distance": {
            "title": "Distance (miles)",
            "minimum": 0,
            "type": "integer",
            "description": "Search radius around the place. Empty = LinkedIn's default."
          },
          "geoIds": {
            "title": "LinkedIn place IDs",
            "type": "array",
            "description": "Optional `geoId` numbers copied from a LinkedIn search link; used instead of Places.",
            "items": {
              "type": "string"
            }
          },
          "urlParam": {
            "title": "Extra link parameters",
            "type": "array",
            "description": "Advanced: a list of {\"key\": \"f_TPR\", \"value\": \"r3600\"} pairs added to every search."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}