{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Real-Time Data — Jobs, Profiles, Companies & Posts",
    "description": "Scrape LinkedIn jobs, profiles, companies & posts in real time — no browser, no login required. Fast, lightweight Apify actor with LinkedIn Jobs search filters, people search, company data, lead generation & recruiting. Structured JSON for CRM, AI, LLM, MCP & analytics. Up to 1,000 results per query",
    "version": "0.0",
    "x-build-id": "TCL5Z6uWfnPzAVhsw"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/b2b_leads~linkedin-real-time-data-jobs-profiles-companies-posts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-b2b_leads-linkedin-real-time-data-jobs-profiles-companies-posts",
        "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/b2b_leads~linkedin-real-time-data-jobs-profiles-companies-posts/runs": {
      "post": {
        "operationId": "runs-sync-b2b_leads-linkedin-real-time-data-jobs-profiles-companies-posts",
        "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/b2b_leads~linkedin-real-time-data-jobs-profiles-companies-posts/run-sync": {
      "post": {
        "operationId": "run-sync-b2b_leads-linkedin-real-time-data-jobs-profiles-companies-posts",
        "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": {
          "enableJobs": {
            "title": "Jobs",
            "type": "boolean",
            "description": "Scrape LinkedIn job postings with full descriptions and hiring criteria. Enabled by default.",
            "default": true
          },
          "jobKeywords": {
            "title": "Job keywords",
            "type": "array",
            "description": "Main job search keywords — same as the LinkedIn Jobs search box. One search per keyword.",
            "default": [
              "software engineer"
            ],
            "items": {
              "type": "string"
            }
          },
          "jobTitle": {
            "title": "Job title",
            "type": "string",
            "description": "Title filter (e.g. \"Software Engineer\"). Combined with keywords for precise LinkedIn Jobs results.",
            "default": "Software Engineer"
          },
          "jobCompany": {
            "title": "Company",
            "type": "string",
            "description": "Company filter — search jobs at a specific company (e.g. \"Google\", \"Stripe\"). Leave empty for any company.",
            "default": ""
          },
          "jobLocation": {
            "title": "Job location",
            "type": "string",
            "description": "Location to search jobs in (e.g. \"United States\", \"London\", \"Remote\").",
            "default": "United States"
          },
          "jobExperienceLevels": {
            "title": "Experience levels",
            "type": "array",
            "description": "Filter jobs by experience level.",
            "items": {
              "type": "string",
              "enum": [
                "internship",
                "entry",
                "associate",
                "mid_senior",
                "director",
                "executive"
              ],
              "enumTitles": [
                "Internship",
                "Entry level",
                "Associate",
                "Mid-Senior",
                "Director",
                "Executive"
              ]
            },
            "default": [
              "internship",
              "entry",
              "associate",
              "mid_senior",
              "director",
              "executive"
            ]
          },
          "jobTypes": {
            "title": "Job types",
            "type": "array",
            "description": "Filter jobs by employment type.",
            "items": {
              "type": "string",
              "enum": [
                "full_time",
                "part_time",
                "contract",
                "temporary",
                "internship",
                "volunteer"
              ],
              "enumTitles": [
                "Full-time",
                "Part-time",
                "Contract",
                "Temporary",
                "Internship",
                "Volunteer"
              ]
            },
            "default": [
              "full_time",
              "part_time",
              "contract",
              "temporary",
              "internship",
              "volunteer"
            ]
          },
          "jobRemote": {
            "title": "Workplace type",
            "type": "array",
            "description": "Filter jobs by on-site / remote / hybrid.",
            "items": {
              "type": "string",
              "enum": [
                "onsite",
                "remote",
                "hybrid"
              ],
              "enumTitles": [
                "On-site",
                "Remote",
                "Hybrid"
              ]
            },
            "default": [
              "onsite",
              "remote",
              "hybrid"
            ]
          },
          "jobDatePosted": {
            "title": "Date posted",
            "enum": [
              "any",
              "month",
              "week",
              "day"
            ],
            "type": "string",
            "description": "Only return jobs posted within this window.",
            "default": "any"
          },
          "jobSort": {
            "title": "Sort jobs by",
            "enum": [
              "relevance",
              "date"
            ],
            "type": "string",
            "description": "Relevance or most recent.",
            "default": "relevance"
          },
          "jobsPerQuery": {
            "title": "Jobs per keyword",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum jobs to return per keyword (1–1000).",
            "default": 25
          },
          "fetchJobDetails": {
            "title": "Fetch full job details",
            "type": "boolean",
            "description": "Fetch each job's full description and criteria (seniority, employment type, function, industry). Slightly slower but much richer.",
            "default": true
          },
          "enableProfiles": {
            "title": "People Search",
            "type": "boolean",
            "description": "Find and scrape LinkedIn people profiles by URL/handle or by keyword with LinkedIn search filters.",
            "default": false
          },
          "profileSearchMode": {
            "title": "Search mode",
            "enum": [
              "url",
              "keyword"
            ],
            "type": "string",
            "description": "Choose how to find people: direct URLs/handles or keyword discovery.",
            "default": "url"
          },
          "profileUrls": {
            "title": "Profile URLs or handles",
            "type": "array",
            "description": "LinkedIn profile URLs (https://www.linkedin.com/in/xxx) or bare handles.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "profileKeywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Search keywords (e.g. \"software engineer\", \"data scientist fintech\"). Combine with filters below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "profileLocation": {
            "title": "Location",
            "type": "string",
            "description": "Geographic filter (e.g. \"San Francisco Bay Area\", \"London\", \"United States\"). Strongly recommended for people search.",
            "default": ""
          },
          "profileTitle": {
            "title": "Title / role",
            "type": "string",
            "description": "Job title filter (e.g. \"Software Engineer\", \"Product Manager\").",
            "default": ""
          },
          "profileCurrentCompany": {
            "title": "Current company",
            "type": "string",
            "description": "Filter by current employer (e.g. \"Google\", \"Microsoft\").",
            "default": ""
          },
          "profilePastCompany": {
            "title": "Past company",
            "type": "string",
            "description": "Filter by past employer.",
            "default": ""
          },
          "profileIndustry": {
            "title": "Industry",
            "type": "string",
            "description": "Industry filter (e.g. \"Financial Services\", \"Information Technology\").",
            "default": ""
          },
          "profileSchool": {
            "title": "School",
            "type": "string",
            "description": "School filter (e.g. \"Stanford University\", \"MIT\").",
            "default": ""
          },
          "profilesPerQuery": {
            "title": "Profiles per keyword",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum profiles to return per keyword (1–1000).",
            "default": 25
          },
          "enableCompanies": {
            "title": "Companies",
            "type": "boolean",
            "description": "Find and scrape LinkedIn company pages by URL/name or by keyword with LinkedIn company filters.",
            "default": false
          },
          "companySearchMode": {
            "title": "Search mode",
            "enum": [
              "url",
              "keyword"
            ],
            "type": "string",
            "description": "Choose how to find companies: direct URLs/names or keyword discovery.",
            "default": "url"
          },
          "companyUrls": {
            "title": "Company URLs or names",
            "type": "array",
            "description": "LinkedIn company URLs (https://www.linkedin.com/company/xxx) or bare universal names.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companyKeywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Search keywords (e.g. \"fintech\", \"AI startup\"). Combine with filters below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "companyLocation": {
            "title": "Location",
            "type": "string",
            "description": "Geographic filter for company search.",
            "default": ""
          },
          "companyIndustry": {
            "title": "Industry",
            "type": "string",
            "description": "Industry filter (e.g. \"Financial Services\", \"Software Development\").",
            "default": ""
          },
          "companySize": {
            "title": "Company size",
            "type": "string",
            "description": "Company size filter (e.g. \"51-200 employees\", \"1001-5000\").",
            "default": ""
          },
          "companyHeadquarters": {
            "title": "Headquarters",
            "type": "string",
            "description": "HQ location filter (e.g. \"San Francisco\", \"London\").",
            "default": ""
          },
          "companiesPerQuery": {
            "title": "Companies per keyword",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum companies to return per keyword (1–1000).",
            "default": 25
          },
          "companyDiscoveryViaJobs": {
            "title": "Also discover companies via jobs",
            "type": "boolean",
            "description": "For keyword company search, also find companies actively hiring for the query via LinkedIn Jobs.",
            "default": true
          },
          "enablePosts": {
            "title": "Posts & Activity",
            "type": "boolean",
            "description": "Scrape LinkedIn posts by URL, from a profile's activity feed, or by keyword with filters.",
            "default": false
          },
          "postSearchMode": {
            "title": "Search mode",
            "enum": [
              "url",
              "profile",
              "keyword"
            ],
            "type": "string",
            "description": "Choose how to find posts.",
            "default": "url"
          },
          "postUrls": {
            "title": "Post URLs",
            "type": "array",
            "description": "LinkedIn post or activity URLs (full URLs or urn:li:activity:... references).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "activityProfiles": {
            "title": "Profile URLs",
            "type": "array",
            "description": "LinkedIn profile URLs or handles — loads recent posts from each profile's activity feed.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "postsPerProfile": {
            "title": "Posts per profile",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum posts to fetch per profile URL (1–500).",
            "default": 20
          },
          "postKeywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Search keywords for post/content discovery (e.g. \"AI regulation\", \"product launch\").",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "postLocation": {
            "title": "Location",
            "type": "string",
            "description": "Geographic filter for post search.",
            "default": ""
          },
          "postAuthor": {
            "title": "Post author",
            "type": "string",
            "description": "Author name filter for post search.",
            "default": ""
          },
          "postCompany": {
            "title": "Post company",
            "type": "string",
            "description": "Company filter — finds posts from or about a company.",
            "default": ""
          },
          "postTopic": {
            "title": "Topic",
            "type": "string",
            "description": "Topic or theme filter (combined with keywords).",
            "default": ""
          },
          "postDatePosted": {
            "title": "Date posted",
            "enum": [
              "any",
              "month",
              "week",
              "day"
            ],
            "type": "string",
            "description": "Only return posts published within this window.",
            "default": "any"
          },
          "postSort": {
            "title": "Sort posts by",
            "enum": [
              "relevance",
              "date"
            ],
            "type": "string",
            "description": "Relevance or most recent.",
            "default": "relevance"
          },
          "postsPerQuery": {
            "title": "Posts per keyword",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum posts to return per keyword (1–1000).",
            "default": 25
          },
          "includeComments": {
            "title": "Include top comments",
            "type": "boolean",
            "description": "Include top comments on each post (author name, comment text, like count).",
            "default": true
          },
          "enableEnrichment": {
            "title": "Enable enrichment",
            "type": "boolean",
            "description": "Augment profiles and companies with additional data points from external sources.",
            "default": false
          },
          "enrichEmailPatterns": {
            "title": "Corporate emails",
            "type": "boolean",
            "description": "Generate likely email addresses from a person's name and company domain (first.last@domain, flast@domain, …).",
            "default": true
          },
          "enrichWikidata": {
            "title": "Wikidata facts",
            "type": "boolean",
            "description": "Enrich people and companies with Wikidata (description, official website, social links).",
            "default": true
          },
          "enrichGithub": {
            "title": "GitHub developer data",
            "type": "boolean",
            "description": "If a GitHub profile is linked, pull bio, company, blog, location, repos, and followers.",
            "default": true
          },
          "enrichCompanyWebsite": {
            "title": "Company website contacts",
            "type": "boolean",
            "description": "Fetch the company website and extract contact emails from home and contact pages.",
            "default": true
          },
          "maxItems": {
            "title": "Max total items",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Global cap on the total number of records across all features.",
            "default": 1000
          },
          "includeRaw": {
            "title": "Include raw data",
            "type": "boolean",
            "description": "Attach the raw source payload under the raw field. Larger output.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy settings",
            "type": "object",
            "description": "Use Residential US proxy for best results and to avoid throttling.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}