{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Jobs Scraper - Search & Export",
    "description": "Export public LinkedIn jobs by keyword, location, filters, or URL. Collect company details, descriptions, salary and applicant signals when available; download CSV, Excel, or JSON.",
    "version": "0.2",
    "x-build-id": "NsztQe4IlhbyGxci2"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fetch_cat~linkedin-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fetch_cat-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/fetch_cat~linkedin-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fetch_cat-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/fetch_cat~linkedin-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fetch_cat-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, skills, company names, or search phrases. Keywords are searched in addition to supplied URLs. For URL-only collection, omit keywords or send an empty list; clear the form's example keyword. When both keywords and URLs are omitted, the search is software engineer. A company keyword is not an exact company-ID filter.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "LinkedIn location text for keyword searches, such as United States, London, Berlin, or Remote."
          },
          "companyIds": {
            "title": "Company IDs",
            "maxItems": 100,
            "type": "array",
            "description": "Optional numeric LinkedIn company ID strings for generated keyword searches (f_C). Not company names; explicit search URLs keep their own filters. LinkedIn controls public search coverage.",
            "items": {
              "type": "string",
              "pattern": "^[1-9][0-9]{0,19}$"
            },
            "default": []
          },
          "geoId": {
            "title": "Geographic ID",
            "pattern": "^$|^[1-9][0-9]{0,19}$",
            "type": "string",
            "description": "Optional numeric LinkedIn geographic ID. For generated keyword searches, replaces location text. Explicit URLs are unchanged.",
            "default": ""
          },
          "searchRadius": {
            "title": "Search radius (miles)",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Optional distance query control, 0–100 miles, for generated keyword searches. LinkedIn may normalize or ignore unsupported distances; not a locally enforced geographic guarantee."
          },
          "under10Applicants": {
            "title": "Early-applicant search",
            "type": "boolean",
            "description": "Send LinkedIn's f_EA=true control for generated keyword searches. This requests the under-10-applicants search filter, not a guarantee of current applicant counts; public counts can be absent or stale.",
            "default": false
          },
          "excludeJobIds": {
            "title": "Exclude previously collected job IDs",
            "maxItems": 10000,
            "type": "array",
            "description": "Skip numeric job ID strings before search-detail requests and result billing, or before any fetch for a known direct job. Repeated IDs are counted once as excluded, then as duplicates.",
            "items": {
              "type": "string",
              "pattern": "^[1-9][0-9]{0,19}$"
            },
            "default": []
          },
          "titleInclude": {
            "title": "Title includes any",
            "maxItems": 100,
            "type": "array",
            "description": "Case-insensitive literal substrings; any included term must match when nonempty. Trimmed terms, not regex. Search-card titles are checked before details; direct titles require fetching first. No second check against changed detail titles.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "default": []
          },
          "titleExclude": {
            "title": "Title excludes any",
            "maxItems": 100,
            "type": "array",
            "description": "Reject any case-insensitive literal title substring, taking precedence over includes. Search-card rejection avoids detail/result charges; direct title rejection cannot avoid its initial fetch.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "default": []
          },
          "maxSearchPages": {
            "title": "Search-page scan budget",
            "minimum": 1,
            "maximum": 3000,
            "type": "integer",
            "description": "Global search-page budget across sources, including filtered and duplicate pages. Omitted: max(20, ceil(maxItems/10)*3). Also scans at most 25 cards per budgeted page in aggregate. Retries keep their existing separate bounds. Reaching a scan/time limit is incomplete, not proof of no matches. Direct URLs do not use this search budget."
          },
          "startUrls": {
            "title": "LinkedIn jobs search or job URLs",
            "type": "array",
            "description": "Public LinkedIn Jobs search URLs or direct /jobs/view/ URLs. URLs and any supplied keywords are both processed. Omit keywords or send an empty keywords list for URL-only collection. Keep desired filters in a search URL; the separate filter fields apply only to keyword-generated searches. Direct job URLs request that posting.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Maximum jobs",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum unique job rows saved across all searches and direct URLs. Use a small value while testing to cap spend.",
            "default": 20
          },
          "datePosted": {
            "title": "Date posted",
            "enum": [
              "any",
              "past24h",
              "pastWeek",
              "pastMonth"
            ],
            "type": "string",
            "description": "Filter keyword searches using LinkedIn's public date-posted options.",
            "default": "any"
          },
          "workplaceType": {
            "title": "Workplace type",
            "enum": [
              "any",
              "onsite",
              "remote",
              "hybrid"
            ],
            "type": "string",
            "description": "Filter keyword searches by on-site, remote, or hybrid roles.",
            "default": "any"
          },
          "includeDetails": {
            "title": "Fetch job details",
            "type": "boolean",
            "description": "Fetch each public job page for description text and HTML, criteria, applicant and salary text, application link, workplace type, and other fields. Search-card rows are preserved if individual detail pages fail.",
            "default": true
          },
          "experienceLevels": {
            "title": "Experience levels",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional LinkedIn experience-level filters. Select any combination.",
            "items": {
              "type": "string",
              "enum": [
                "internship",
                "entry",
                "associate",
                "midSenior",
                "director",
                "executive"
              ],
              "enumTitles": [
                "Internship",
                "Entry level",
                "Associate",
                "Mid-Senior level",
                "Director",
                "Executive"
              ]
            },
            "default": []
          },
          "jobTypes": {
            "title": "Job types",
            "uniqueItems": true,
            "type": "array",
            "description": "Optional LinkedIn employment-type filters. Select any combination.",
            "items": {
              "type": "string",
              "enum": [
                "fullTime",
                "partTime",
                "contract",
                "temporary",
                "volunteer",
                "internship",
                "other"
              ],
              "enumTitles": [
                "Full-time",
                "Part-time",
                "Contract",
                "Temporary",
                "Volunteer",
                "Internship",
                "Other"
              ]
            },
            "default": []
          },
          "easyApplyOnly": {
            "title": "Easy Apply only",
            "type": "boolean",
            "description": "Ask LinkedIn's public search endpoint to return only jobs marked for Easy Apply.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "recent"
            ],
            "type": "string",
            "description": "Request LinkedIn relevance ranking or newest-first ordering for keyword-generated searches. This does not sort the final combined dataset across multiple searches. For a pasted search URL, specify sorting in the URL. LinkedIn determines the returned order.",
            "default": "relevance"
          },
          "retryCount": {
            "title": "Retries per request",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Retries temporary blocks, rate limits, timeouts, TLS failures, and server errors with a fresh proxy route.",
            "default": 3
          },
          "initialRetryDelayMillis": {
            "title": "Initial retry delay (milliseconds)",
            "minimum": 250,
            "maximum": 30000,
            "type": "integer",
            "description": "Initial backoff before retrying a temporary request failure. Later retries wait longer and Retry-After is honored.",
            "default": 1000
          },
          "requestPacingMillis": {
            "title": "Request pacing (milliseconds)",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Minimum spacing between request starts across search and detail workers. Increase it if a broad run is rate-limited.",
            "default": 250
          },
          "detailConcurrency": {
            "title": "Detail request concurrency",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Requested maximum public job detail pages fetched at once. Lower values reduce request pressure. The memory-aware safety ceiling is 2 workers at 256 MB, 4 at 512 MB, 8 at 1024 MB, and 12 at 2048 MB or higher; a non-blocking warning explains any reduction. Valid saved/API values remain accepted.",
            "default": 4
          },
          "runTimeSecs": {
            "title": "Safe run-time limit (seconds)",
            "minimum": 30,
            "maximum": 270,
            "type": "integer",
            "description": "Stop requesting new pages early enough to preserve saved rows and write RUN_SUMMARY before the platform timeout.",
            "default": 240
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy is enabled by default, including when this field is omitted. Use the proxy editor for managed groups/country or your own proxy URLs. To opt out, choose no proxy (API: {\"useApifyProxy\":false}); valid custom proxy URLs remain usable with that opt-out. Explicit groups, country, custom proxy URLs and no-proxy settings are used as-is with no cross-pool fallback. Automatic (omitted or enabled with no groups/country/custom URLs) may retry rate-limited searches and job details through the existing Residential pool. Searches keep the same page and filters; details use the public job page. This uses an existing retry slot, not extra requests; proxy usage can increase run costs, and prices are unchanged. No direct-first routing is used. Direct access may be blocked. Existing retry and time limits still apply. Do not share proxy credentials in support reports.",
            "default": {
              "useApifyProxy": 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}