{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Scraper - Jobs, Profiles, Posts & Companies",
    "description": "Extract LinkedIn jobs, profiles, posts, and company data across supported countries. Filter jobs by location, employer, seniority, and date. Pay per delivered row plus a small start fee.",
    "version": "0.7",
    "x-build-id": "VuXHjRMBtMPqIWHpu"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lentic_clockss~linkedin-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lentic_clockss-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/lentic_clockss~linkedin-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lentic_clockss-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/lentic_clockss~linkedin-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lentic_clockss-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": {
          "keyword": {
            "title": "Search keyword",
            "type": "string",
            "description": "Job title or search phrase, such as python developer. Leave empty when collecting only a supplied employer or URL target."
          },
          "detailUrls": {
            "title": "Job detail URLs",
            "type": "array",
            "description": "LinkedIn HTTPS job URLs to collect directly instead of searching. Detail fields are returned when available.",
            "items": {
              "type": "string"
            }
          },
          "jobIds": {
            "title": "Job IDs",
            "type": "array",
            "description": "LinkedIn job posting IDs to collect directly. You can combine these with detailUrls.",
            "items": {
              "type": "string"
            }
          },
          "company": {
            "title": "Company",
            "type": "string",
            "description": "LinkedIn company IDs or company page URLs to filter job search. Separate multiple companies with commas."
          },
          "companyId": {
            "title": "Company ID (direct)",
            "type": "string",
            "description": "Numeric LinkedIn company ID for employer job search, such as 1035 for Microsoft. Set keyword to an empty string for an employer-only search."
          },
          "orgUrls": {
            "title": "Organization URLs",
            "type": "array",
            "description": "Company, school, or showcase organization URLs or tokens such as company:microsoft and school:stanford-university. Organization jobs pages provide an organization summary, not a guaranteed complete vacancy list.",
            "items": {
              "type": "string"
            }
          },
          "postUrls": {
            "title": "Post URLs",
            "type": "array",
            "description": "LinkedIn post URLs or activity URNs. Returns available post text and published engagement counts.",
            "items": {
              "type": "string"
            }
          },
          "profileUrls": {
            "title": "Profile and company URLs",
            "type": "array",
            "description": "LinkedIn profile or company URLs to collect, such as https://www.linkedin.com/in/jane-doe. Available fields vary by page; replace example names with your target.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, state, or region, such as London. Combine with country and a search target; results may extend outside the exact city."
          },
          "country": {
            "title": "Country",
            "enum": [
              "",
              "us",
              "gb",
              "ca",
              "au",
              "de",
              "fr",
              "in",
              "sg",
              "ph",
              "jp",
              "kr",
              "nl",
              "es",
              "it",
              "br",
              "mx",
              "ae",
              "nz",
              "ie",
              "se",
              "ch",
              "pl",
              "id",
              "my",
              "th",
              "vn",
              "hk",
              "tw",
              "za",
              "at",
              "be",
              "dk",
              "no",
              "fi",
              "pt",
              "cz",
              "ro",
              "ar",
              "cl",
              "co",
              "il",
              "sa",
              "eg",
              "ng",
              "tr",
              "remote"
            ],
            "type": "string",
            "description": "Choose a country for job search. The remote option selects remote jobs when no other workplace filter is supplied.",
            "default": ""
          },
          "industry": {
            "title": "Industry",
            "enum": [
              "",
              "software",
              "it_services",
              "technology",
              "financial_services",
              "banking",
              "healthcare",
              "pharmaceuticals",
              "biotech",
              "manufacturing",
              "retail",
              "construction",
              "real_estate",
              "education",
              "higher_education",
              "advertising",
              "telecommunications",
              "staffing",
              "consulting",
              "legal",
              "government",
              "nonprofit",
              "media",
              "entertainment",
              "automotive",
              "energy",
              "logistics"
            ],
            "type": "string",
            "description": "Choose a LinkedIn industry category to narrow job search.",
            "default": ""
          },
          "jobFunction": {
            "title": "Job function",
            "enum": [
              "",
              "accounting",
              "administrative",
              "arts_design",
              "business_development",
              "community_social",
              "consulting",
              "education",
              "engineering",
              "entrepreneurship",
              "finance",
              "healthcare",
              "human_resources",
              "information_technology",
              "legal",
              "marketing",
              "media_communication",
              "military_protective",
              "operations",
              "product_management",
              "project_management",
              "purchasing",
              "quality_assurance",
              "real_estate",
              "research",
              "sales",
              "customer_success"
            ],
            "type": "string",
            "description": "Choose a LinkedIn job function to narrow job search.",
            "default": ""
          },
          "jobType": {
            "title": "Job type",
            "enum": [
              "",
              "F",
              "P",
              "C",
              "T",
              "I",
              "V",
              "O"
            ],
            "type": "string",
            "description": "Choose the employment type to include, such as full-time or contract.",
            "default": ""
          },
          "datePosted": {
            "title": "Date posted",
            "enum": [
              "",
              "r86400",
              "r604800",
              "r2592000"
            ],
            "type": "string",
            "description": "Choose jobs posted within the past day, week, or month. Leave empty for any posting date.",
            "default": ""
          },
          "experienceLevel": {
            "title": "Experience level",
            "enum": [
              "",
              "1",
              "2",
              "3",
              "4",
              "5",
              "6"
            ],
            "type": "string",
            "description": "Choose the seniority level to include, from internship to executive.",
            "default": ""
          },
          "remoteFilter": {
            "title": "Remote filter",
            "enum": [
              "",
              "2",
              "1",
              "3"
            ],
            "type": "string",
            "description": "Choose remote, on-site, or hybrid jobs. Leave empty to include any workplace type.",
            "default": ""
          },
          "easyApplyOnly": {
            "title": "Easy Apply only",
            "type": "boolean",
            "description": "Return only jobs LinkedIn marks as supporting Easy Apply.",
            "default": false
          },
          "under10Applicants": {
            "title": "Under 10 applicants only",
            "type": "boolean",
            "description": "Return only jobs LinkedIn marks as having fewer than ten applicants.",
            "default": false
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "",
              "relevance",
              "recent"
            ],
            "type": "string",
            "description": "Sort search results by relevance or most recent posting date."
          },
          "maxResults": {
            "title": "Max results per keyword, URL, ID, or profile",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum rows for each keyword, URL, ID, profile, or organization; a discovery request counts as one input, with all its row types sharing the limit. Default 70, collected in parts of at most 70 for larger requests; the run stops at your maximum total charge, and Free-plan users are limited to 200 rows per run and ten total runs.",
            "default": 70
          },
          "rowLayout": {
            "title": "Output layout",
            "enum": [
              "rows"
            ],
            "type": "string",
            "description": "Keep one job, post, profile, or organization per dataset row.",
            "default": "rows"
          },
          "scrapeDetails": {
            "title": "Scrape full details",
            "type": "boolean",
            "description": "Include available job descriptions, salaries, application links, and applicant counts. Turn off for a shorter job-listing response.",
            "default": true
          },
          "workerBaseUrl": {
            "title": "Developer test setting",
            "type": "string",
            "description": "Leave empty. Used only by the developer for testing."
          },
          "enrichProfiles": {
            "title": "Enrich profiles",
            "type": "boolean",
            "description": "Add related profile or company rows to job searches and up to five recent posts for profile targets. Off by default; each additional row is separately billed and counts toward maxResults for that input.",
            "default": false
          },
          "discoverKeyword": {
            "title": "Discovery keyword",
            "type": "string",
            "description": "Search phrase used to find profile and company targets for collection. Review results because candidates may not match your intended subject."
          },
          "discoverLimit": {
            "title": "Discovery candidate limit",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum number of discovery candidates to consider, from 1 to 200. Delivered rows also remain subject to maxResults.",
            "default": 20
          },
          "discoverSeeds": {
            "title": "Discovery seeds",
            "type": "array",
            "description": "Starting profile or company tokens, such as in:jane-doe or company:microsoft. Related targets may also be discovered.",
            "items": {
              "type": "string"
            }
          },
          "offlineCorpus": {
            "title": "Include indexed discovery candidates",
            "type": "boolean",
            "description": "Include candidates from an existing index during discovery. Indexed candidates may be outdated or unrelated to your search.",
            "default": false
          },
          "liAtCookie": {
            "title": "LinkedIn session cookie (optional)",
            "type": "string",
            "description": "Optional LinkedIn session cookie for profile fields your account is authorized to view. Not required for public job search; keep this value private and omit it from support requests."
          },
          "voyagerUrls": {
            "title": "Direct resource URLs (not available)",
            "type": "array",
            "description": "Leave empty. Direct resource URL collection is not supported by the current collection modes.",
            "items": {
              "type": "string"
            }
          },
          "externalIds": {
            "title": "Your record IDs",
            "type": "array",
            "description": "Your own record IDs, aligned with detailUrls first and then jobIds. Returned as externalId on corresponding job rows.",
            "items": {
              "type": "string"
            }
          },
          "knownJobIds": {
            "title": "Known job IDs (incremental dedupe)",
            "type": "array",
            "description": "Accepted for compatibility, but not currently applied by the active search path. Deduplicate returned jobId values in your own storage.",
            "items": {
              "type": "string"
            }
          },
          "dedupeKey": {
            "title": "Deduplication label",
            "type": "string",
            "description": "Accepted for compatibility. Currently does not label output rows."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}