{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Profile Scraper + Verified Email Finder (No Cookies)",
    "description": "Scrape public LinkedIn profiles and find verified business emails, by URL or just a name and company. No cookies, no login. Pay only for verified emails.",
    "version": "0.0",
    "x-build-id": "fydneF8JlXNZ86OiM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crustapi~linkedin-profile-scraper-email-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crustapi-linkedin-profile-scraper-email-finder",
        "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/crustapi~linkedin-profile-scraper-email-finder/runs": {
      "post": {
        "operationId": "runs-sync-crustapi-linkedin-profile-scraper-email-finder",
        "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/crustapi~linkedin-profile-scraper-email-finder/run-sync": {
      "post": {
        "operationId": "run-sync-crustapi-linkedin-profile-scraper-email-finder",
        "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",
        "required": [
          "profiles"
        ],
        "properties": {
          "profiles": {
            "title": "Leads (LinkedIn URLs or names + companies)",
            "type": "array",
            "description": "One lead per line. Any of these work:\n• A LinkedIn URL or username: linkedin.com/in/williamhgates\n• A name and company: Jane Doe, Acme Inc\n• A name and company domain: John Smith, acme.com\nMix them freely, or upload a CSV below.",
            "items": {
              "type": "string"
            }
          },
          "leadsFile": {
            "title": "…or upload a CSV file",
            "type": "array",
            "description": "Upload a CSV instead of pasting. Use a header row; recognized columns (any order): linkedinUrl, firstName, lastName, fullName, company, domain. Rows with a LinkedIn URL are scraped; rows with name + company/domain go straight to email finding. Tip: export from Excel or Google Sheets as CSV."
          },
          "findEmail": {
            "title": "Find verified business emails",
            "type": "boolean",
            "description": "Find a real business email for each lead and check that it works. You are charged only when a verified email is returned, never on a miss. Turn this off to get profile data only.",
            "default": true
          },
          "maxItems": {
            "title": "Max results (0 = no limit)",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many results, a simple cost cap. Leave at 0 to process every lead.",
            "default": 0
          },
          "emailMinConfidence": {
            "title": "Minimum email confidence (0–100)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Discard verified emails scoring below this (0 = keep every verified hit). Advanced."
          },
          "resolveCompanyDomains": {
            "title": "Resolve company domains",
            "type": "boolean",
            "description": "Look up each person's company website from their public LinkedIn company page to improve email hit-rate. Advanced (on by default)."
          },
          "httpFirst": {
            "title": "Fast HTTP-first fetching",
            "type": "boolean",
            "description": "Read profiles over a lightweight HTTP request first and only open a full browser when needed (much faster + cheaper). Advanced (on by default)."
          },
          "debugDumpHtml": {
            "title": "Debug: dump raw profile HTML",
            "type": "boolean",
            "description": "Diagnostic only. Saves the raw HTML of the first few profiles to the key-value store for inspection. Advanced."
          },
          "emailProvider": {
            "title": "Email finder engine",
            "type": "string",
            "description": "Built-in verified finder ('builtin', default), or a custom HTTP endpoint ('custom'). Advanced — set via JSON/API."
          },
          "emailProviderEndpoint": {
            "title": "Custom email endpoint",
            "type": "string",
            "description": "For the 'custom' engine. POST endpoint returning {email, verified}. Advanced."
          },
          "emailProviderApiKey": {
            "title": "Custom email API key",
            "type": "string",
            "description": "Bearer token for the custom endpoint. Stored encrypted. Advanced."
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Parallel fetches. Advanced — sensible default applied."
          },
          "maxRequestsPerMinute": {
            "title": "Max requests per minute",
            "minimum": 0,
            "type": "integer",
            "description": "Global throttle. Advanced — sensible default applied."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Residential proxies are used automatically (required for LinkedIn). Advanced."
          },
          "profileDeduplicationMode": {
            "title": "Deduplication",
            "type": "string",
            "description": "Deduplication: 'none' / 'in-run' (default) / 'mongodb' (cross-run). Advanced — set via JSON/API."
          },
          "mongoDbConnectionString": {
            "title": "MongoDB connection string",
            "type": "string",
            "description": "Only for MongoDB dedup / post-filtering. Stored encrypted. Advanced."
          },
          "mongoDbDatabaseName": {
            "title": "MongoDB database name",
            "type": "string",
            "description": "Database for cross-run dedup / post-filtering. Advanced."
          },
          "postFilteringMongoDbQuery": {
            "title": "Post-filtering MongoDB query",
            "type": "object",
            "description": "MongoDB find() filter applied after enrichment. Advanced."
          },
          "postFilterPredicate": {
            "title": "Post-filter expression",
            "type": "string",
            "description": "Safe per-result expression; keep rows where it returns true (result is `p`). Advanced."
          },
          "stealthEngine": {
            "title": "Browser stealth engine",
            "type": "string",
            "description": "Browser engine: 'patchright' (default) or 'playwright'. Advanced."
          },
          "useFingerprintInjector": {
            "title": "Use fingerprint injector (experimental)",
            "type": "boolean",
            "description": "Inject a generated browser fingerprint. Advanced."
          },
          "debugLog": {
            "title": "Verbose debug logging",
            "type": "boolean",
            "description": "Detailed logs for troubleshooting. Advanced."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}