{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Public Scraper (Jobs, Companies, Posters)",
    "description": "Scrape public LinkedIn job listings and company profiles — no login, no cookies, no account risk. Get titles, companies, salaries, descriptions, employment type, and full company data. Features incremental updates, adaptive rate-limiting, and drift detection. Fast, lightweight, and compliant.",
    "version": "0.1",
    "x-build-id": "g4rhfoumZR9xKfW09"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lovely_radiologist~linkedin-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lovely_radiologist-linkedin-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/lovely_radiologist~linkedin-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lovely_radiologist-linkedin-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/lovely_radiologist~linkedin-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lovely_radiologist-linkedin-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "jobs",
              "companies",
              "both"
            ],
            "type": "string",
            "description": "What to scrape. All modes use LinkedIn's public (logged-out) endpoints only — no login, no cookies.",
            "default": "jobs"
          },
          "searchUrls": {
            "title": "LinkedIn jobs search URLs",
            "type": "array",
            "description": "Optional. Paste full LinkedIn jobs search URLs (from incognito). When provided, the structured filters below are ignored.",
            "items": {
              "type": "string"
            }
          },
          "autoConvertToAiSearch": {
            "title": "Auto-convert legacy search URLs to AI search",
            "type": "boolean",
            "description": "LinkedIn's 2026 AI job search removed classic filters. When enabled, legacy filter params are converted to natural-language appended to keywords. Date/company/easy-apply/under-10 stay as URL filters.",
            "default": true
          },
          "jobsTitles": {
            "title": "Job titles (keywords)",
            "type": "array",
            "description": "List of job titles to search (e.g. 'Software Engineer', 'Data Scientist'). Each runs its own search; results are merged and deduplicated.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Free-text keywords",
            "type": "string",
            "description": "Optional single free-text search term (e.g. 'software engineer remote'). Combined with Job titles above."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Country, city, region, or 'Remote' (e.g. 'United States', 'London, United Kingdom')."
          },
          "geoId": {
            "title": "Geo ID",
            "type": "string",
            "description": "Optional precise LinkedIn geo id (found as geoId= in a search URL). Overrides location."
          },
          "cities": {
            "title": "Cities (split search)",
            "type": "array",
            "description": "Optional. Split a location search across cities to bypass the ~1000-per-search cap. Deduplicates results.",
            "items": {
              "type": "string"
            }
          },
          "companyNames": {
            "title": "Company names (filter)",
            "type": "array",
            "description": "Optional. Restrict job searches to these companies.",
            "items": {
              "type": "string"
            }
          },
          "experienceLevel": {
            "title": "Experience level",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4",
              "5",
              "6"
            ],
            "type": "string",
            "description": "Filter jobs by required experience level.",
            "default": ""
          },
          "employmentType": {
            "title": "Employment type",
            "enum": [
              "",
              "F",
              "P",
              "C",
              "T",
              "V",
              "I",
              "O"
            ],
            "type": "string",
            "description": "Filter jobs by employment type.",
            "default": ""
          },
          "workArrangement": {
            "title": "Work arrangement",
            "enum": [
              "",
              "1",
              "2",
              "3"
            ],
            "type": "string",
            "description": "Filter jobs by work location type (on-site, remote, or hybrid).",
            "default": ""
          },
          "postedWithin": {
            "title": "Date posted",
            "enum": [
              "",
              "r86400",
              "r604800",
              "r2592000"
            ],
            "type": "string",
            "description": "Only return jobs posted within this time window.",
            "default": ""
          },
          "easyApplyOnly": {
            "title": "Easy Apply only",
            "type": "boolean",
            "description": "Only scrape jobs that support LinkedIn Easy Apply.",
            "default": false
          },
          "extractContactEmail": {
            "title": "Extract contact email from job descriptions",
            "type": "boolean",
            "description": "OPT-IN. Extracts the first email found in a public job description. Contact email is personal data — see README for the lawful-basis and per-individual opt-out notes before enabling.",
            "default": false
          },
          "fetchFullDetail": {
            "title": "Fetch full job details",
            "type": "boolean",
            "description": "When OFF (default), returns search-card data (title, company, location, salary, URL) — fast and works from datacenter IPs. When ON, also fetches the full description and criteria — but LinkedIn's detail endpoint rate-limits heavily, so this realistically requires RESIDENTIAL proxies at scale.",
            "default": false
          },
          "maxResultsPerSearch": {
            "title": "Max results per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap jobs per search URL. Default is 25 to run quickly.",
            "default": 25
          },
          "maxItems": {
            "title": "Max total items",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Hard cap on total output rows across all modes. Default 50 for fast runs without hitting timeouts.",
            "default": 50
          },
          "enableDifferential": {
            "title": "Enable differential (incremental) mode",
            "type": "boolean",
            "description": "Only emit items that are NEW or CHANGED versus a previous dataset. Pass the previous dataset ID below.",
            "default": false
          },
          "previousDatasetId": {
            "title": "Previous dataset ID",
            "type": "string",
            "description": "Dataset ID of a prior run to diff against when differential mode is enabled."
          },
          "canaryMode": {
            "title": "Drift-detection canary run",
            "type": "boolean",
            "description": "Re-scrape a small fixed sample and compare to a stored 'known-good' schema snapshot, alerting on schema drift before users hit breakage.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Datacenter proxies recommended (cheapest) for the public surface. Residential only if you see authwall/blocking; public jobs/company endpoints rarely need it.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "DATACENTER"
              ]
            }
          },
          "minDelayMs": {
            "title": "Min delay between requests (ms)",
            "minimum": 0,
            "maximum": 30000,
            "type": "integer",
            "description": "Minimum random delay between requests. The adaptive rate-limiter raises this automatically on errors.",
            "default": 800
          },
          "maxDelayMs": {
            "title": "Max delay between requests (ms)",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Maximum random delay between requests.",
            "default": 2500
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of parallel searches/requests at once.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}