{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Jobs Scraper — Hiring Graph, Company Growth & Intent",
    "description": "Scrape public LinkedIn jobs and build a hiring graph: company hiring momentum, ghost-job detection, skill demand, and the hiring history nobody else keeps. Same input + fields as the popular scrapers, minus the duplicates.",
    "version": "1.0",
    "x-build-id": "kpOd7jeh5dglsx6Ba"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ryanclinton~linkedin-jobs-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ryanclinton-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/ryanclinton~linkedin-jobs-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ryanclinton-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/ryanclinton~linkedin-jobs-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ryanclinton-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "companies",
              "roles",
              "market",
              "watchlist",
              "urls"
            ],
            "type": "string",
            "description": "What to analyse. 'companies' ranks named companies by hiring momentum (the headline mode). 'roles' analyses demand for a job title. 'market' tracks a skill or sector. 'watchlist' tracks changes vs your last run (set a Watchlist name). 'urls' takes public LinkedIn job/search URLs.",
            "default": "companies"
          },
          "intent": {
            "title": "Intent (optional shortcut)",
            "enum": [
              "",
              "find_growth",
              "track_accounts",
              "role_demand",
              "ghost_check",
              "salary_benchmark"
            ],
            "type": "string",
            "description": "A one-click shortcut that sets Mode, ranking, and output pack for a common job. Leave blank to control them yourself.",
            "default": ""
          },
          "companies": {
            "title": "Companies",
            "maxItems": 200,
            "type": "array",
            "description": "Company names to analyse (Companies / Watchlist mode). Each is ranked by hiring momentum with what they're building.",
            "default": [
              "Stripe",
              "Datadog",
              "Ramp"
            ],
            "items": {
              "type": "string"
            }
          },
          "roles": {
            "title": "Roles / job titles",
            "maxItems": 100,
            "type": "array",
            "description": "Job titles or skills to analyse (Roles mode): who's hiring, how contested, salary band.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "market": {
            "title": "Market skills / sectors",
            "maxItems": 100,
            "type": "array",
            "description": "Skills or sectors to track (Market mode): skill-demand index, trajectory, and standout hirers.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Optional location filter applied to all searches (e.g. 'London', 'United States', 'Remote').",
            "default": ""
          },
          "urls": {
            "title": "LinkedIn job / search URLs",
            "maxItems": 200,
            "type": "array",
            "description": "Public LinkedIn job-view or job-search URLs (URLs mode). Member, profile, and company-login URLs are rejected.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "watchlistName": {
            "title": "Watchlist name",
            "type": "string",
            "description": "Name your watchlist to persist hiring history and get 'what changed since last run' deltas. Composable on any mode — set this and re-run daily for an account-hiring feed.",
            "default": ""
          },
          "rankBy": {
            "title": "Rank by",
            "enum": [
              "hiringMomentum",
              "skillDemand",
              "freshness",
              "salary",
              "competition",
              "recency"
            ],
            "type": "string",
            "description": "How to rank companies in the hiring queue.",
            "default": "hiringMomentum"
          },
          "outputProfile": {
            "title": "Output profile",
            "enum": [
              "signals",
              "compat",
              "minimal"
            ],
            "type": "string",
            "description": "'signals' (default) = the full decision layer. 'compat' = the exact field set of the popular LinkedIn scrapers, duplicates removed (drop-in migration). 'minimal' = the essential job fields.",
            "default": "signals"
          },
          "outputPack": {
            "title": "Output pack (persona)",
            "enum": [
              "gtm",
              "recruiter",
              "investor",
              "jobseeker",
              "analyst",
              "raw"
            ],
            "type": "string",
            "description": "Persona-tuned ranking and emphasis for the hiring queue.",
            "default": "gtm"
          },
          "enableHiringMemory": {
            "title": "Enable Hiring Memory",
            "type": "boolean",
            "description": "Keep an accumulating hiring history (company timelines, ghost-job lifecycles, skill trends) so each run sees more context. Turn off to keep a run out of the shared history.",
            "default": true
          },
          "alerts": {
            "title": "Alerts",
            "type": "object",
            "description": "Emit only actionable items and fire Hiring Cards. minMomentumScore: only companies at/above this score. onlyNewSinceLastRun: only changed companies (needs a Watchlist). surgeMinPct / alertOnNewFunction / severity tune the feed.",
            "default": {}
          },
          "filters": {
            "title": "Job filters",
            "type": "object",
            "description": "Job-attribute filters only: seniority, employmentType, workArrangement, postedWithin (days), salaryMin. No candidate or people filters are supported.",
            "default": {}
          },
          "limits": {
            "title": "Limits",
            "type": "object",
            "description": "maxResultsPerSearch, maxCompanies, maxPartitionsPerQuery (cap-bypass splits), maxDetailFetches, maxRuntimeSeconds.",
            "default": {}
          },
          "forceBrowser": {
            "title": "Force browser fetch",
            "type": "boolean",
            "description": "Use the headless-browser path instead of the faster default. Only needed if the default path is being restricted.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Proxy configuration. Residential proxy is strongly recommended for the public LinkedIn endpoint."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}