{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Jobs Scraper — Hiring Intelligence for Half the Price",
    "description": "Scrape LinkedIn job listings with company enrichment. 30 data fields, no login required.",
    "version": "1.0",
    "x-build-id": "PBngKk22fftRdhBe4"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/herus13~linkedin-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-herus13-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/herus13~linkedin-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-herus13-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/herus13~linkedin-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-herus13-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": {
          "search_queries": {
            "title": "Search Queries",
            "type": "array",
            "description": "<p>Keywords to search for on LinkedIn Jobs.</p><p>Examples: <code>python developer</code>, <code>data scientist</code>, <code>product manager</code></p><p>Each query runs separately and results are merged.</p>",
            "items": {
              "type": "string"
            }
          },
          "search_urls": {
            "title": "Search URLs",
            "type": "array",
            "description": "<p>Pre-built LinkedIn job search URLs to scrape directly.</p><p>Useful when you have saved searches or want precise filter control via LinkedIn's URL parameters.</p>",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "<p>Location to search in. Examples: <code>New York</code>, <code>Remote</code>, <code>London, UK</code>, <code>United States</code></p><p>Leave empty to search globally.</p>"
          },
          "geo_id": {
            "title": "Geo ID (Advanced)",
            "type": "string",
            "description": "<p>LinkedIn's internal geographic ID for precise location targeting. Overrides the <strong>Location</strong> text field.</p><p>Example: <code>103644278</code> = United States, <code>102095887</code> = California. Find IDs by searching on LinkedIn and copying the <code>geoId</code> parameter from the URL.</p><p>Most users should use the <strong>Location</strong> field instead.</p>"
          },
          "job_type": {
            "title": "Job Type",
            "enum": [
              "",
              "full-time",
              "part-time",
              "contract",
              "temporary",
              "volunteer",
              "internship"
            ],
            "type": "string",
            "description": "Filter by employment type.",
            "default": ""
          },
          "experience_level": {
            "title": "Experience Level",
            "enum": [
              "",
              "internship",
              "entry",
              "associate",
              "mid-senior",
              "director",
              "executive"
            ],
            "type": "string",
            "description": "Filter by required experience level.",
            "default": ""
          },
          "workplace_type": {
            "title": "Workplace Type",
            "enum": [
              "",
              "on-site",
              "remote",
              "hybrid"
            ],
            "type": "string",
            "description": "Filter by on-site, remote, or hybrid.",
            "default": ""
          },
          "date_posted": {
            "title": "Date Posted",
            "enum": [
              "",
              "24h",
              "week",
              "month"
            ],
            "type": "string",
            "description": "Only show jobs posted within this time window.",
            "default": ""
          },
          "salary_range": {
            "title": "Minimum Salary",
            "enum": [
              "",
              "40k+",
              "60k+",
              "80k+",
              "100k+",
              "120k+"
            ],
            "type": "string",
            "description": "Filter to jobs at or above a salary threshold (USD/year).",
            "default": ""
          },
          "sort_by": {
            "title": "Sort By",
            "enum": [
              "relevance",
              "date"
            ],
            "type": "string",
            "description": "Sort results by relevance or date. Use <strong>Date</strong> with a low <strong>Max Results</strong> to get the latest postings.",
            "default": "relevance"
          },
          "enrich_company": {
            "title": "Enrich Company Data",
            "type": "boolean",
            "description": "<p>Fetch additional company details from the LinkedIn company page.</p><p>Adds: company size, industry, type, headquarters, and website.</p>",
            "default": true
          },
          "enrich_poster": {
            "title": "Enrich Job Poster",
            "type": "boolean",
            "description": "<p>Fetch the LinkedIn profile info for the person who posted the job.</p><p>Adds: poster name, title, and profile URL.</p>",
            "default": true
          },
          "auto_split": {
            "title": "Auto-Split Large Searches",
            "type": "boolean",
            "description": "<p>LinkedIn caps search results at 1,000 per query. Enable to automatically split searches by dimension (e.g. date range, job type) to retrieve more results.</p>",
            "default": true
          },
          "split_by": {
            "title": "Split Dimension",
            "enum": [
              "",
              "date_posted",
              "job_type",
              "workplace_type"
            ],
            "type": "string",
            "description": "Which dimension to split by when <strong>Auto-Split</strong> is enabled. Leave empty to let the scraper decide.",
            "default": ""
          },
          "max_results": {
            "title": "Max Results",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum number of job listings to return across all queries. Set higher with auto-split to collect more.",
            "default": 500
          },
          "max_concurrency": {
            "title": "Max Concurrency",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Number of requests to run in parallel. Higher values are faster but increase blocking risk.",
            "default": 10
          },
          "max_requests_per_minute": {
            "title": "Max Requests Per Minute",
            "minimum": 10,
            "maximum": 120,
            "type": "integer",
            "description": "Rate limit for LinkedIn requests. Lower values reduce the risk of being rate-limited.",
            "default": 60
          },
          "cache_provider": {
            "title": "Cache Provider",
            "enum": [
              "memory",
              "file",
              "apify"
            ],
            "type": "string",
            "description": "<p>Cache enrichment data (company details, poster info) to speed up repeat runs.</p><p><strong>memory</strong>: within same run only. <strong>file</strong>: persists to disk (CLI/local). <strong>apify</strong>: persists across runs via Key-Value Store.</p>",
            "default": "memory"
          },
          "proxy": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "<p>Configure a proxy provider to avoid rate limiting.</p><p>Use <code>{\"provider\": \"apify\", \"group\": \"RESIDENTIAL\"}</code> for Apify managed proxies, or provide your own URLs. Recommended for large scrapes (500+ results).</p>"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}