{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Profile Scraper with Email — No Cookies",
    "description": "[$3.20/1K profiles, $8/1K with e-mail] LinkedIn profile scraper with email: full public profile (title, company, experience with dates, education, skills, certifications) plus the person's work e-mail with evidence and confidence. E-mail price only when one is found. No cookies, no login.",
    "version": "0.1",
    "x-build-id": "7AUGsuIIDwAf58GGx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lergassy~linkedin-profile-email-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lergassy-linkedin-profile-email-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/lergassy~linkedin-profile-email-scraper/runs": {
      "post": {
        "operationId": "runs-sync-lergassy-linkedin-profile-email-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/lergassy~linkedin-profile-email-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-lergassy-linkedin-profile-email-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": "LinkedIn profile URLs or slugs, one per line — <b>https://www.linkedin.com/in/satyanadella</b> or <b>satyanadella</b>. One row per profile. Profiles that do not exist or are hidden from logged-out visitors are free.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "🔗 Profiles from a file or sheet",
            "type": "array",
            "description": "The same thing for long lists — upload a file or link a Google Sheet (or any text/CSV URL) that contains LinkedIn profile URLs.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "findEmail": {
            "title": "📧 Find the work e-mail ($)",
            "type": "boolean",
            "description": "Find each person's work e-mail: company website, the address layout it uses, mail-domain check, confidence. A row WITH an e-mail is charged as 'Profile with e-mail'; a row without one is charged as a plain 'Profile'. Switch off to get profiles only.",
            "default": true
          },
          "minConfidence": {
            "title": "Minimum e-mail confidence to pay for",
            "enum": [
              "low",
              "medium",
              "high",
              "confirmed"
            ],
            "type": "string",
            "description": "Below this level the address is NOT put into 'email': it goes to 'emailGuess' (and 'alternatives') and the row is charged as a plain profile. low = most common layout, nothing confirms it (emailStatus unverified-guess); medium = the company's own site uses this layout (pattern-confirmed); high = 2+ addresses on the site confirm it; confirmed = the address is published on the site (found-on-website). No mailbox (SMTP) check is made.",
            "default": "medium"
          },
          "companyOverride": {
            "title": "🏢 Company override",
            "type": "string",
            "description": "Use this company name or domain for everyone instead of what the profiles say — handy when all profiles work at one company, or when a company name cannot be turned into a website.",
            "default": ""
          },
          "candidatesPerPerson": {
            "title": "Alternative addresses per person",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "The best address goes into 'email'; runners-up go into 'alternatives'.",
            "default": 3
          },
          "maxPagesPerCompany": {
            "title": "Company pages to read",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Home page plus contact / team / about pages, to learn how the company writes its addresses.",
            "default": 4
          },
          "checkMx": {
            "title": "Check that the mail domain accepts mail",
            "type": "boolean",
            "description": "DNS MX check. It always runs, because it decides the charge: only an address on a domain with an MX record is delivered as an e-mail. A domain without an MX record, one that takes no mail, or one that does not answer DNS after three tries leaves the row a plain profile.",
            "default": true
          },
          "includePosts": {
            "title": "📰 Add the latest posts and articles",
            "type": "boolean",
            "description": "The person's recent posts (usually 5–9) and articles (up to 10) inside the same row. No extra charge.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum profiles per run",
            "minimum": 1,
            "type": "integer",
            "description": "A hard ceiling on what one run reads and bills.",
            "default": 10000
          },
          "concurrency": {
            "title": "Parallel profiles",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many profiles to read at the same time. Keep it low — LinkedIn dislikes bursts.",
            "default": 3
          },
          "pageTimeoutSecs": {
            "title": "Company page timeout (seconds)",
            "minimum": 5,
            "maximum": 60,
            "type": "integer",
            "description": "How long to wait for one company web page before giving up on it.",
            "default": 15
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential, a new address for every profile — included in the price, nothing to set up. LinkedIn blocks direct and datacenter requests after a few dozen profiles, so those settings are ignored. Company websites are read directly. Only your own proxy URLs replace this (then the second route for refused profiles is off).",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}