{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Profile Email Finder — Pay Per Find",
    "description": "LinkedIn public profiles → one dataset row per URL, optional verified work email. Pay only for usable profiles and emails found. Privacy: https://api.apify.com/v2/key-value-stores/jZUn8TR3AeaEwtT2h/records/linkedin-profile-verified-email-privacy.en.html?signature=PcrXf7uRJ0kRmb0GyaoF",
    "version": "0.1",
    "x-build-id": "IjNcIbl6aKzGHRMYW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pequod-labs~linkedin-profile-verified-email/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pequod-labs-linkedin-profile-verified-email",
        "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/pequod-labs~linkedin-profile-verified-email/runs": {
      "post": {
        "operationId": "runs-sync-pequod-labs-linkedin-profile-verified-email",
        "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/pequod-labs~linkedin-profile-verified-email/run-sync": {
      "post": {
        "operationId": "run-sync-pequod-labs-linkedin-profile-verified-email",
        "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": "Profile URLs",
            "type": "array",
            "description": "LinkedIn public profiles, one per entry: <code>https://www.linkedin.com/in/&lt;id&gt;/</code> on any LinkedIn subdomain, with or without <code>https://</code>; a bare public identifier such as <code>jane-doe-test</code>; or a <code>/in/ACoA…</code> profile-id URL. Optionally add the person's company domain and your own record ID on the same line, separated by a comma, a semicolon, a tab or a pipe (|): <code>https://www.linkedin.com/in/&lt;id&gt;/, example.com, crm-123</code>. After a profile URL, the domain is used instead of looking it up, and the record ID comes back unchanged in <code>externalId</code> and is never sent to any provider; only the profile part is looked up. A bare identifier is split off the same way only before a domain or, when it has a hyphen or a digit, before an empty field or a placeholder such as N/A; otherwise the whole line is looked up, record ID included. Company pages, Sales Navigator links and other links are looked up without the domain and record ID after them; other text (a name pasted in place of a URL) is never split into a profile ID and can be looked up as it is. Both come back <code>not_found</code>, which is never charged; a column header line comes back as an <code>error</code> row, never charged. Apify free-plan users are limited to 25 URLs per run (Profile URLs, Profiles and Profiles file together) and, per account and UTC calendar month, 100 profiles and 20 email lookups; paid Apify plans have no trial caps.",
            "items": {
              "type": "string"
            }
          },
          "profiles": {
            "title": "Profiles with company domain and your record ID (optional)",
            "type": "array",
            "description": "For API calls, integrations and AI agents: one JSON object per profile, for example <code>[{\"url\": \"https://www.linkedin.com/in/&lt;id&gt;/\", \"companyDomain\": \"example.com\", \"externalId\": \"crm-123\"}]</code>. <b>url</b>: the profile, in any format Profile URLs accepts. <b>companyDomain</b> (optional): the person's company website domain, used instead of looking the domain up. <b>externalId</b> (optional, text or a whole number): your own record ID, returned unchanged in the row's <code>externalId</code> and never sent to any provider. The keys profileUrl, linkedinUrl, startUrl, value, domain, website, id, crmId and recordId are read too; other keys are ignored. One output row per object, after the Profile URLs rows. An object without a URL comes back as an <code>error</code> row, which is never charged. A company domain that is not valid, or that is a free-mail, social, hosting, vendor or directory domain on the actor's lists, is not used and is named in the row's <code>inputWarnings</code>; a platform's, vendor's or directory's own domain, such as amazon.com, is used for that company's own staff, when the profile's company is that site by its whole name or a known name (never linkedin.com, lnkd.in, linktr.ee, bit.ly, t.co or free mail)."
          },
          "profilesFile": {
            "title": "Profiles file: CSV upload or Google Sheet link (optional)",
            "type": "string",
            "description": "Upload a CSV or TSV file, or give a link to a CSV file or to a public Google Sheet (shared as 'Anyone with the link'; an edit or share link is read as its CSV export). Columns can be separated by a comma, a semicolon, a tab or a pipe (|); quoted cells may hold line breaks, and an Excel 'sep=' first line is followed. A quote that is never closed would merge the rows after it into one cell, so a file with separators is refused when that quote takes in a later row (or, with a header row, a later cell of its own row); a one-column file is then read line by line. With a header row (the first line that is not blank, after any 'sep=' line), the columns <b>url</b> (or profileUrl, linkedinUrl, linkedin), <b>companyDomain</b> (or domain, website) and <b>externalId</b> (or id, crmId, recordId) are read, other columns are ignored and a repeated header row is skipped; without a header row, every cell that is a LinkedIn profile URL is read, except in a file without separators (one column), which is read like Profile URLs, one entry per line, so a name or other text on a line is looked up too; a quoted cell with line breaks is one entry there, read from its line with a profile, its other lines dropped. One output row per entry (a data row; without a header row, a profile URL; in a one-column file, a line or a quoted cell, blank, N/A and header lines aside), after the Profile URLs and Profiles rows; a row without a profile comes back as an <code>error</code> row, never charged. Links must start with https:// (at most 3 redirects, to ports 80 and 443 only), and files can be up to 5 MB, compressed or not. A link to a file in your Apify storage must be its signed link, unless the storage's access is 'Anyone with ID can read'. The Actor reads the file in memory when the run starts (and again if the platform restarts the run) and does not keep it: only the number of entries before it, the number of its rows, a fingerprint of them and a format version stay in the run's own storage, with a flag once its first row is being saved (and, while Skip duplicate URLs is on, each row's profile reference in the duplicate check's record, as for every entry), so a restarted run never matches the rows of a changed file, or of one it cannot check, by position. If the file cannot be read and it is the only input, the run stops before any lookup; next to other entries, the run goes on and its final status says why the file was not used."
          },
          "profileDetail": {
            "title": "Profile detail",
            "enum": [
              "full",
              "core"
            ],
            "type": "string",
            "description": "<b>full</b> (default): the core fields plus the profile sections the lookup returns: about, photo URL, follower and connection counts, open-to-work, hiring and premium flags, websites, experience, education, skills and top skills, certifications, languages, projects, publications, honors and awards, courses and patents. Each list keeps at most 50 entries; descriptions are cut at 2,000 characters (about at 2,600); dates are YYYY-MM or YYYY. <b>core</b>: name, headline, job title, company and location fields only; the sections above stay empty (null). Never written to your dataset, by design (GDPR): interests, causes and volunteering, which can reveal sensitive personal data; recommendations and similar profiles, which are other people's data; pronouns, memorial status, account creation date, featured items, profile actions, connected apps and section totals. The profile provider returns them with the rest of the profile; the Actor discards them in memory, and the input and results of the provider's sub-run on the developer's Apify account are deleted right after the Actor reads them (if that deletion fails, or your run is stopped or moved to another server while the lookup is running, they stay until the account's data-retention period ends, which the developer understands to be 31 days but has not yet confirmed; Apify can keep the most recent runs longer). Choose core when you do not need the extra sections, so your dataset holds only the personal data you need (the profile lookup itself does not change). Both settings are charged the same.",
            "default": "full"
          },
          "skipDuplicates": {
            "title": "Skip duplicate URLs",
            "type": "boolean",
            "description": "Charge a repeated URL only once per run. The repeat still gets its own row, with duplicateOfInputIndex pointing at the first occurrence. Repeats are detected on the URL text, ignoring case and a trailing slash.",
            "default": true
          },
          "findEmail": {
            "title": "Find email",
            "type": "boolean",
            "description": "Resolve the company's website domain and look for the person's work email on usable profiles. An email is charged (email-found) only when it passes SMTP verification. When the company's mail server accepts every address, the best guess on a trusted company domain is returned as <code>risky</code>; on paid Apify plans it may be double-checked by a catch-all verification service (the verdict is in <code>emailVerification</code>), and it is never charged. Off: profile fields only; the company domain is not looked up.",
            "default": true
          },
          "defaultCompanyDomain": {
            "title": "Company domain for every profile (optional)",
            "type": "string",
            "description": "For a list of people who all work at one company, for example <code>example.com</code>: used for every profile that has no company domain of its own, instead of looking the domain up (a profile whose own domain was refused falls back to the normal lookup). Free-mail, social, hosting, vendor and directory domains on the actor's lists are not used, except a platform's, vendor's or directory's own domain for that company's own staff (by the company's whole name or a known name; never linkedin.com, lnkd.in, linktr.ee, bit.ly, t.co or free mail)."
          },
          "acceptPatternEmails": {
            "title": "Accept pattern emails (legacy)",
            "type": "boolean",
            "description": "Legacy option, kept so saved tasks and API calls keep working. Whatever its value, only SMTP-verified emails are charged; catch-all guesses are returned as emailConfidence=risky and are never charged, even when a catch-all check finds them deliverable.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many profiles are enriched at the same time (search lookups and email-verifier checks). On paid Apify plans the catch-all second opinion runs beside them: its checks up to 20 at a time whatever this setting, and its preparation of rows found in business records (a mail-server check and a read of the company's site) up to this many at a time. The profile lookup itself runs in batches and does not use it; on the fallback page scraper it also limits page fetches.",
            "default": 8
          },
          "maxRetriesPerProfile": {
            "title": "Max retries per profile (fallback scraper)",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "Fallback page scraper only; standard runs ignore it. Datacenter page attempts per profile; permanent errors (404) never retry, and residential attempts are capped at two.",
            "default": 1
          },
          "enableBrowserFallback": {
            "title": "Enable guest browser fallback (fallback scraper)",
            "type": "boolean",
            "description": "Fallback page scraper only; standard runs ignore it. After the page attempts, try an anonymous Firefox browser on a residential proxy. Never uses LinkedIn login cookies or credentials.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration (fallback scraper)",
            "type": "object",
            "description": "Fallback page scraper only; standard runs ignore it. Apify Proxy settings for direct LinkedIn page requests.",
            "default": {
              "useApifyProxy": true,
              "groups": [
                "DATACENTER"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}