{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Profile Details Scraper",
    "description": "Scrape LinkedIn profile details in bulk, no login or cookies: paste profile URLs, or search people by company, job title and location. Headline, current title and company, location, about, followers, experience with dates, education, skills, certifications and languages. One row per profile.",
    "version": "0.1",
    "x-build-id": "Ce4vc65InyDlkMsOo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/blueskyscraper~linkedin-profile-details-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-blueskyscraper-linkedin-profile-details-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/blueskyscraper~linkedin-profile-details-scraper/runs": {
      "post": {
        "operationId": "runs-sync-blueskyscraper-linkedin-profile-details-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/blueskyscraper~linkedin-profile-details-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-blueskyscraper-linkedin-profile-details-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": {
          "profileUrls": {
            "title": "👤 LinkedIn profiles",
            "type": "array",
            "description": "Profile URLs or slugs, one per line — <code>https://www.linkedin.com/in/satyanadella</code> or just <code>satyanadella</code>. Profiles that do not exist or that LinkedIn hides from logged-out visitors come back as free error rows.",
            "items": {
              "type": "string"
            }
          },
          "companies": {
            "title": "🔎 Or find people by company",
            "type": "array",
            "description": "No profile URLs yet? Give company names or LinkedIn company URLs, one per line — <b>Stripe</b>, <b>https://www.linkedin.com/company/hubspot</b> — and the Actor first finds the people who work there, then reads their profiles and finds their work e-mails in the same run. The search step is done by our <a href=\"https://apify.com/blueskyscraper/linkedin-employees-finder\">LinkedIn Employees Finder</a> and billed at its own price (from $0.0024 per person found). Narrow it with <b>Job titles</b> and <b>Locations</b>.",
            "items": {
              "type": "string"
            }
          },
          "jobTitles": {
            "title": "💼 Job titles (people search)",
            "type": "array",
            "description": "Only with <b>Find people by company</b>: keep people whose headline names one of these titles — <b>head of marketing</b>, <b>software engineer</b>, <b>CTO</b>.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "📍 Locations (people search)",
            "type": "array",
            "description": "Only with <b>Find people by company</b>: cities, regions or countries — <b>London</b>, <b>Germany</b>.",
            "items": {
              "type": "string"
            }
          },
          "maxProfilesPerCompany": {
            "title": "👥 People per company (people search)",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Only with <b>Find people by company</b>: how many people to find for each company.",
            "default": 25
          },
          "startUrls": {
            "title": "📄 URLs from a file or sheet",
            "type": "array",
            "description": "For long lists: upload a file or link a Google Sheet (or any text / CSV URL) that contains LinkedIn URLs. Each link is routed by its kind.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "profilesCsv": {
            "title": "📋 Paste a list or CSV export",
            "type": "string",
            "description": "Paste a CSV / spreadsheet export from HubSpot, Salesforce, Clay, Apollo or a recruiter tool — every LinkedIn link in any column is read (a <code>url</code> or <code>linkedinUrl</code> column, or one link / slug per line). Use it instead of, or together with, the list above; duplicates are read once."
          },
          "findEmail": {
            "title": "📧 Find the work e-mail ($0.008 instead of $0.0032)",
            "type": "boolean",
            "description": "Find each person's work e-mail — the company's website, the address layout it uses, a mail-server (MX) check and a confidence level. A row WITH an e-mail is billed as <i>Profile with e-mail</i>; a row without one stays a plain <i>Profile</i>.",
            "default": false
          },
          "minConfidence": {
            "title": "Minimum e-mail confidence",
            "enum": [
              "low",
              "medium",
              "high",
              "confirmed"
            ],
            "type": "string",
            "description": "Used only when the SMTP mailbox check is unavailable in a run — normally every address is mailbox-checked and only a verified one goes into <code>email</code>. An address below this level is not put into <code>email</code> (it goes to <code>emailGuess</code> and <code>alternatives</code>) and the row is billed as a plain profile. <b>confirmed</b> = published on the company's site; <b>high / medium</b> = the layout is seen on the site (pattern-confirmed); <b>low</b> = the most common layout, nothing confirms it (unverified-guess).",
            "default": "medium"
          },
          "emailMatch": {
            "title": "🎯 E-mail match",
            "enum": [
              "best",
              "verified"
            ],
            "type": "string",
            "description": "<b>best</b> (default) — a mailbox confirmed by the SMTP check goes into <code>email</code>; only if the mailbox check is unavailable in a run, an address at or above <i>Minimum e-mail confidence</i> is used. <b>verified</b> — exact match only: nothing but an SMTP-confirmed mailbox ever goes into <code>email</code> and is billed as an e-mail; every other address stays in <code>emailGuess</code> and the row is a plain profile.",
            "default": "best"
          },
          "companyOverride": {
            "title": "🏢 Company override",
            "type": "string",
            "description": "Use this company name or domain for everyone instead of what the profiles say — e.g. <code>hubspot.com</code> when the whole list works at one company."
          },
          "candidatesPerPerson": {
            "title": "Alternative addresses per person",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "The best address goes into <code>email</code>, the runners-up into <code>alternatives</code>.",
            "default": 3
          },
          "maxPagesPerCompany": {
            "title": "Company web pages to read",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Home page plus contact / team / about pages, read to learn how the company writes its addresses.",
            "default": 4
          },
          "pageTimeoutSecs": {
            "title": "Company web page timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "How long to wait for one company web page.",
            "default": 15
          },
          "skipAlreadyFound": {
            "title": "⏭️ Skip profiles already found",
            "type": "boolean",
            "description": "Resume a long list or re-run it on a schedule without paying twice: profiles that already got a verified e-mail in an earlier run of your account (same <i>List name</i>) are not read again — each gets one free <code>notice</code> row with the address found then.",
            "default": false
          },
          "foundListName": {
            "title": "List name (for skipping)",
            "type": "string",
            "description": "Keeps separate memories for separate lists, e.g. <code>q4-founders</code>. Used only with <i>Skip profiles already found</i>.",
            "default": "default"
          },
          "includePosts": {
            "title": "📰 Add the person's latest posts (free)",
            "type": "boolean",
            "description": "The person's recent posts and articles that LinkedIn shows logged-out visitors, inside the same row. No extra charge.",
            "default": false
          },
          "maxItems": {
            "title": "💯 Maximum profiles per run",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "A hard ceiling on the rows one run bills — profiles, companies or posts.",
            "default": 10000
          },
          "concurrency": {
            "title": "Parallel pages",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many LinkedIn pages to read at the same time. Keep it low — LinkedIn dislikes bursts.",
            "default": 3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}