{
  "openapi": "3.0.1",
  "info": {
    "title": "Advanced LinkedIn Jobs Scraper – Fast & Affordable",
    "description": "The most affordable LinkedIn job scraper on Apify. Extract 1,000+ jobs in minutes, including full details (title, company, location, description, link). Pay-as-you-go, no cookies, no hassle.",
    "version": "0.0",
    "x-build-id": "osUhjqbyLY76u8OaU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/practicaltools~linkedin-jobs/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-practicaltools-linkedin-jobs",
        "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/practicaltools~linkedin-jobs/runs": {
      "post": {
        "operationId": "runs-sync-practicaltools-linkedin-jobs",
        "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/practicaltools~linkedin-jobs/run-sync": {
      "post": {
        "operationId": "run-sync-practicaltools-linkedin-jobs",
        "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": {
          "naturalLanguageQuery": {
            "title": "🤖 Natural Language Job Search",
            "type": "string",
            "description": "Describe your job search in plain English (e.g., 'senior software engineer positions in San Francisco, remote, from last week')"
          },
          "useNaturalLanguage": {
            "title": "Enable AI-Powered Search",
            "type": "boolean",
            "description": "Use natural language processing to parse your query",
            "default": false
          },
          "openaiApiKey": {
            "title": "OpenAI API Key",
            "type": "string",
            "description": "Your OpenAI API key for natural language processing"
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Optional list of start URLs. If empty, the actor will build search URLs from other parameters.",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL",
                  "description": "A valid LinkedIn jobs search URL"
                }
              },
              "required": [
                "url"
              ]
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "string",
            "description": "Job title, skills, or company names to search for"
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "City, state, or country (e.g., 'San Francisco Bay Area', 'New York')"
          },
          "geoId": {
            "title": "Geographic ID",
            "type": "string",
            "description": "LinkedIn internal geo ID for more precise location targeting (optional, overrides location)"
          },
          "distance": {
            "title": "Distance (miles)",
            "minimum": 5,
            "maximum": 100,
            "type": "integer",
            "description": "Search radius from the specified location",
            "default": 25
          },
          "experienceLevel": {
            "title": "Experience Level",
            "type": "array",
            "description": "Select one or more experience levels",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6"
              ],
              "enumTitles": [
                "Internship",
                "Entry level",
                "Associate",
                "Mid-Senior level",
                "Director",
                "Executive"
              ]
            }
          },
          "workType": {
            "title": "Work Type",
            "type": "array",
            "description": "Employment type preferences",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7"
              ],
              "enumTitles": [
                "Full-time",
                "Part-time",
                "Contract",
                "Temporary",
                "Volunteer",
                "Internship",
                "Other"
              ]
            }
          },
          "workLocation": {
            "title": "Work Location",
            "type": "array",
            "description": "On-site, hybrid, or remote work preferences",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3"
              ],
              "enumTitles": [
                "On-site",
                "Remote",
                "Hybrid"
              ]
            }
          },
          "timePosted": {
            "title": "Date Posted",
            "enum": [
              "r3600",
              "r21600",
              "r43200",
              "r86400",
              "r604800",
              "r2592000",
              "r0"
            ],
            "type": "string",
            "description": "How recently the job was posted",
            "default": "r2592000"
          },
          "companyNames": {
            "title": "Company Names",
            "type": "array",
            "description": "Specific companies to search within (will be resolved to company IDs)",
            "items": {
              "type": "string"
            }
          },
          "companyIds": {
            "title": "Company IDs",
            "type": "array",
            "description": "LinkedIn company IDs (f_C parameter) - use instead of company names for exact matching",
            "items": {
              "type": "string"
            }
          },
          "industryIds": {
            "title": "Industry IDs",
            "type": "array",
            "description": "LinkedIn industry IDs to filter by (f_I parameter)",
            "items": {
              "type": "string"
            }
          },
          "companySizes": {
            "title": "Company Size",
            "type": "array",
            "description": "Filter by company employee count",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8"
              ],
              "enumTitles": [
                "1-10 employees",
                "11-50 employees",
                "51-200 employees",
                "201-500 employees",
                "501-1000 employees",
                "1001-5000 employees",
                "5001-10000 employees",
                "10000+ employees"
              ]
            }
          },
          "easyApplyOnly": {
            "title": "Easy Apply Only",
            "type": "boolean",
            "description": "Show only jobs with LinkedIn Easy Apply",
            "default": false
          },
          "jobsInNetwork": {
            "title": "Jobs in Your Network",
            "type": "boolean",
            "description": "Show only jobs where you have 1st/2nd degree connections",
            "default": false
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "R",
              "DD"
            ],
            "type": "string",
            "description": "How to sort the job results",
            "default": "R"
          },
          "maxPages": {
            "title": "Maximum Pages",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of pages to scrape. Each page contains exactly 10 jobs. Set to 0 for unlimited pages (not recommended due to rate limiting).",
            "default": 1
          },
          "fetchDescription": {
            "title": "Fetch Job Descriptions",
            "type": "boolean",
            "description": "Fetch the full job description for each result. Makes one additional request per job. Charged separately at $0.001 per description.",
            "default": false
          },
          "linkedinParams": {
            "title": "Advanced LinkedIn Parameters",
            "type": "object",
            "description": "Raw LinkedIn search query parameters (for advanced users). These will override the friendly fields above.",
            "additionalProperties": true
          },
          "maxRequestsPerCrawl": {
            "title": "Max Requests Per Crawl",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of HTTP requests the crawler will make (helps control costs and runtime)",
            "default": 100
          },
          "proxy": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Proxy settings for the crawler to avoid rate limiting and blocking",
            "properties": {
              "useApifyProxy": {
                "type": "boolean",
                "title": "Use Apify Proxy",
                "description": "Use Apify's residential proxy network (recommended for LinkedIn)"
              },
              "apifyProxyGroups": {
                "type": "array",
                "title": "Apify Proxy Groups",
                "description": "Specific proxy groups (e.g., RESIDENTIAL, DATACENTER)",
                "items": {
                  "type": "string"
                }
              },
              "apifyProxyCountry": {
                "type": "string",
                "title": "Proxy Country",
                "description": "Country code for geo-located proxies (e.g., US, GB, DE)"
              },
              "proxyUrls": {
                "type": "array",
                "title": "Custom Proxy URLs",
                "description": "Custom proxy URLs (used when Apify Proxy is disabled)",
                "items": {
                  "type": "string"
                }
              }
            },
            "additionalProperties": false
          },
          "crawlerOptions": {
            "title": "Crawler Performance",
            "type": "object",
            "description": "Fine-tune crawler performance and reliability settings",
            "properties": {
              "maxConcurrency": {
                "type": "integer",
                "title": "Max Concurrency",
                "description": "Maximum number of parallel requests (higher = faster but more likely to be blocked)"
              },
              "minConcurrency": {
                "type": "integer",
                "title": "Min Concurrency",
                "description": "Minimum number of parallel requests"
              },
              "requestRetries": {
                "type": "integer",
                "title": "Request Retries",
                "description": "How many times to retry failed requests"
              },
              "retryDelayMillis": {
                "type": "integer",
                "title": "Retry Delay (ms)",
                "description": "Delay between retry attempts in milliseconds"
              }
            },
            "additionalProperties": false
          },
          "output": {
            "title": "Output Settings",
            "type": "object",
            "description": "Configure how scraped data is saved and formatted",
            "properties": {
              "saveAllJobsToKeyValue": {
                "type": "boolean",
                "title": "Save Raw Data",
                "description": "Save complete job data (including HTML) to Key-Value store for debugging"
              },
              "datasetRecord": {
                "type": "boolean",
                "title": "Save to Dataset",
                "description": "Save cleaned job records to the default dataset (recommended)"
              }
            },
            "additionalProperties": 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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}