{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Jobs Scraper: Job Postings, Salaries, Only New Jobs",
    "description": "Paste a LinkedIn job search link or type keywords and locations. One row per job: title, company, location, salary, seniority, job type, applicants, Easy Apply, description, link. Filters: date posted, remote, job type. No login. Only-new mode, no duplicates. $0.68 per 1,000 jobs; errors free.",
    "version": "0.3",
    "x-build-id": "ElpOX7c0RUeugdZfY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data-for-agents~linkedin-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data-for-agents-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/data-for-agents~linkedin-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-data-for-agents-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/data-for-agents~linkedin-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-data-for-agents-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": {
          "urls": {
            "title": "LinkedIn job search links",
            "maxItems": 100,
            "type": "array",
            "description": "Paste LinkedIn job search links, one per line (linkedin.com/jobs/search/?keywords=...&location=...&f_TPR=...): each runs as it is, with its own place and every filter you set on LinkedIn. The filter fields below fill in only what a link does not set. Use this, keywords, or both.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "description": "Job titles, skills or companies, one per line, for example data analyst. Each line is one LinkedIn search in every location below. A LinkedIn job search link works here too. A line that cannot be searched (a single job's link) gets one free error row; the other lines run.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "Locations",
            "maxItems": 100,
            "type": "array",
            "description": "Cities, regions or countries, one per line, as you would type them on LinkedIn, for example New York, NY or Germany. Every keyword is searched in every location (at most 100 searches per run). Leave empty for a worldwide search.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "postedWithin": {
            "title": "Date posted",
            "enum": [
              "any",
              "1h",
              "24h",
              "3d",
              "7d",
              "14d",
              "30d"
            ],
            "type": "string",
            "description": "Only jobs posted in this period. Sent to LinkedIn as its Date posted filter, and checked on each job card too: a job dated before the period is dropped before it is charged.",
            "default": "any"
          },
          "workplaceTypes": {
            "title": "Workplace: remote, hybrid or on-site",
            "type": "array",
            "description": "Only jobs with one of these workplace types, sent to LinkedIn as its own filter. LinkedIn's public pages do not show a job's workplace, so this one cannot be checked per job. Empty: all.",
            "items": {
              "type": "string",
              "enum": [
                "remote",
                "hybrid",
                "onsite"
              ],
              "enumTitles": [
                "Remote",
                "Hybrid",
                "On-site"
              ]
            },
            "default": []
          },
          "jobTypes": {
            "title": "Job type",
            "type": "array",
            "description": "Only jobs of these types, sent to LinkedIn as its own filter, and checked on each job's page: a job whose page states another type is dropped before it is charged. Empty: all types.",
            "items": {
              "type": "string",
              "enum": [
                "fulltime",
                "parttime",
                "contract",
                "temporary",
                "internship",
                "volunteer",
                "other"
              ],
              "enumTitles": [
                "Full-time",
                "Part-time",
                "Contract",
                "Temporary",
                "Internship",
                "Volunteer",
                "Other"
              ]
            },
            "default": []
          },
          "experienceLevels": {
            "title": "Experience level",
            "type": "array",
            "description": "Only jobs at these levels, sent to LinkedIn as its own filter, and checked on each job's page: a job whose page states another level is dropped before it is charged. Empty: all levels.",
            "items": {
              "type": "string",
              "enum": [
                "internship",
                "entry",
                "associate",
                "mid_senior",
                "director",
                "executive"
              ],
              "enumTitles": [
                "Internship",
                "Entry level",
                "Associate",
                "Mid-Senior level",
                "Director",
                "Executive"
              ]
            },
            "default": []
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "date"
            ],
            "type": "string",
            "description": "LinkedIn's order of the results. Jobs are returned in this order.",
            "default": "relevance"
          },
          "maxJobs": {
            "title": "Max jobs in total",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many jobs for the whole run (default 50, which ends inside 30 seconds; at most 100,000). Each job row with its details is charged; jobs the run does not return are not. LinkedIn itself shows at most 1,000 jobs per search.",
            "default": 50
          },
          "maxJobsPerSearch": {
            "title": "Max jobs per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Stop each search (one keyword in one location) after this many jobs, so that several searches share the run. LinkedIn shows at most 1,000 jobs per search.",
            "default": 1000
          },
          "includeDescriptions": {
            "title": "Full job details",
            "type": "boolean",
            "description": "On: each job's page is read for the full description, employment type, seniority, industries, applicants and pay; a job whose page LinkedIn does not serve comes back without them, free. Off: the search results only (title, company, location, date, link), faster and lighter (one request per 10 jobs).",
            "default": true
          },
          "descriptionFormat": {
            "title": "Description format",
            "enum": [
              "text",
              "markdown",
              "html"
            ],
            "type": "string",
            "description": "How the job description is written in each row.",
            "default": "text"
          },
          "titleMustContain": {
            "title": "Title must contain",
            "type": "array",
            "description": "Keep a job only if its title has at least one of these words or phrases, for example engineer. Whole words, any case. Applied before a job is charged: you never pay for a job a filter removes.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "titleExclude": {
            "title": "Title must not contain",
            "type": "array",
            "description": "Remove jobs whose title has one of these words or phrases, for example senior or intern. Free, before charging.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companiesExclude": {
            "title": "Exclude companies",
            "type": "array",
            "description": "Remove jobs of these employers, for example a staffing agency or your own company. Free, before charging.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyNewJobs": {
            "title": "Only new jobs since the last run",
            "type": "boolean",
            "description": "For scheduled runs: return, and charge for, only jobs that an earlier run of the same input has not returned. Jobs are remembered for 90 days in a key-value store named linkedin-jobs-memory in your account.",
            "default": false
          },
          "includeCompanyDetails": {
            "title": "Include company details",
            "type": "boolean",
            "description": "Also read each employer's public LinkedIn page, once per company: employee count, company size range, website, industry, headquarters, company type, founded year, specialties, description and followers (the company_ fields). No extra charge. Runs take longer: one more page per company.",
            "default": false
          },
          "fastMode": {
            "title": "Fast mode",
            "type": "boolean",
            "description": "Gives up on a slow connection after 5 seconds instead of 30 and tries another address. About 3 times faster on runs of a few hundred jobs with company details. On large runs (thousands of jobs) LinkedIn rate-limits sooner and a search can end early with a free rate_limited row, so leave it off when every job matters.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}