{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Jobs Scraper: Every Job, Counted",
    "description": "Every job a LinkedIn search lists, checked against LinkedIn's own count, with its full description. $0.40 per 1,000 jobs. Applicants, poster and company id.",
    "version": "0.1",
    "x-build-id": "e3XgEfw4cUypg1Hb4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/luzivanlt~linkedin-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-luzivanlt-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/luzivanlt~linkedin-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-luzivanlt-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/luzivanlt~linkedin-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-luzivanlt-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 titles or skills to search for, one search per keyword and location (e.g. \"data engineer\"). Each keyword uses the Location, Locations, Companies, Date posted, Easy Apply and Under 10 applicants settings below. Paste links under Search links, not here. Give at least one keyword, company or link; with companies and no keyword, every job those companies list is read. A job two keywords both list is saved and charged once.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Where the jobs are, as you would type it on LinkedIn: a country, a region or a city (e.g. \"Germany\" or \"Austin, Texas, United States\"). Used for every keyword, up to 200 characters; a search link keeps its own location. Leave it and Locations empty and LinkedIn picks the area itself."
          },
          "locations": {
            "title": "Locations",
            "type": "array",
            "description": "More places to search, each its own search (e.g. \"Berlin, Germany\", \"Singapore\"): every keyword is searched in Location and in each of these, so 2 keywords and 3 places are 6 searches. Up to 100 places, as you would type them on LinkedIn. A job two places both list is saved and charged once.",
            "items": {
              "type": "string"
            }
          },
          "companies": {
            "title": "Companies",
            "type": "array",
            "description": "Only jobs at these companies, for the keywords above (LinkedIn's own company filter). One company per line: its LinkedIn company id, its company page link or its exact name on LinkedIn, e.g. \"1441\", \"https://www.linkedin.com/company/google/\" or \"Google\". A name is looked up on LinkedIn and must match a company's name exactly (in any case); a link is read once for its id. Up to 50. With no keyword, every job these companies list is read, in each location. A search whose company cannot be found is not read, the run's status names it, and its log gives LinkedIn's suggestions for the name.",
            "items": {
              "type": "string"
            }
          },
          "datePosted": {
            "title": "Date posted",
            "enum": [
              "any",
              "24h",
              "week",
              "month"
            ],
            "type": "string",
            "description": "Only jobs posted in this time, for the keywords above: any time, the past 24 hours, the past week or the past month. A search link keeps its own date filter. Default: any time. Example: \"24h\" for jobs posted in the past 24 hours.",
            "default": "any"
          },
          "easyApplyOnly": {
            "title": "Easy Apply only",
            "type": "boolean",
            "description": "Only jobs you can apply to on LinkedIn itself, for the keywords above. A search link keeps its own Easy Apply filter. Off by default: every job is returned, whether it uses Easy Apply or the company's own site.",
            "default": false
          },
          "under10ApplicantsOnly": {
            "title": "Under 10 applicants only",
            "type": "boolean",
            "description": "Only jobs with fewer than 10 applicants so far (LinkedIn's own \"Under 10 applicants\" filter), for the keywords and companies above. A search link keeps its own filter. Off by default."
          },
          "startUrls": {
            "title": "Search links",
            "type": "array",
            "description": "Links to LinkedIn job searches (linkedin.com/jobs/search?keywords=…&location=…). The link must have keywords or a company filter. The link's keywords, location, date posted, Easy Apply, Under 10 applicants and company filters are used; other filters in the link (remote, job type, experience level) are not. A single job, a company page or a profile is refused (put a company page under Companies). Example: https://www.linkedin.com/jobs/search?keywords=data%20engineer&location=Germany",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxJobsPerSearch": {
            "title": "Max jobs per search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop each keyword or link after this many jobs, from 1 to 10,000. Default 100. LinkedIn lists at most 1,000 jobs for one search; past that, a country or region search is split by the cities its own jobs are in (and first by any Split locations you list). Each job is charged once ($0.40 per 1,000 jobs), so this caps what one search costs: 100 jobs cost at most $0.04. Example: 200.",
            "default": 100
          },
          "splitLocations": {
            "title": "Split locations",
            "type": "array",
            "description": "Places to search first when a search LinkedIn counts at over 1,000 jobs (\"8,000+\") has read its own 1,000 (e.g. \"San Francisco, California, United States\", \"Seattle, Washington, United States\"). Optional: a country or region search is then split by the cities its own jobs are in anyway, most jobs first; a city search only by the places you list here. Each place is searched in turn with the same keyword and filters, until Max jobs per search. A job found again is saved and charged once, and does not count toward the maximum. Used for every keyword and link; a search of 1,000 jobs or fewer is never split. Up to 100 places, as you would type them on LinkedIn. A place that itself has over 1,000 jobs gives its first 1,000.",
            "items": {
              "type": "string"
            }
          },
          "includeCompanyDetails": {
            "title": "Include company details",
            "type": "boolean",
            "description": "Also read each hiring company's LinkedIn page: its description, website, industry, size, employees on LinkedIn, followers, headquarters, company type, year founded, specialties and tagline. One more page per company (a company with several jobs in your search is read once, or once per Split location it hires in), so a run takes longer. Off by default."
          },
          "onlyNewItems": {
            "title": "Only new jobs",
            "type": "boolean",
            "description": "Turn this on for a scheduled run, or a re-run of the same task: each run then returns only the jobs it has not returned before, reading each search back to a day before the last run that read it, through LinkedIn's own posted-within window. Skipped jobs are neither saved nor charged; each new job is charged as usual. Runs with other settings, or from another task, keep their own list. Off by default."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}