{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Profile Scraper API: Search Email Leads (No Cookies)",
    "description": "[FREE] Scrape LinkedIn leads without a login or cookies. Search by name, job title, or location, or paste profile links, and get names, companies, emails, and phone numbers, ready for Excel, CSV, or JSON.",
    "version": "0.0",
    "x-build-id": "BPTLsJKoQuop7mMmy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lurkapi~linkedin-profile-scraper-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lurkapi-linkedin-profile-scraper-api",
        "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/lurkapi~linkedin-profile-scraper-api/runs": {
      "post": {
        "operationId": "runs-sync-lurkapi-linkedin-profile-scraper-api",
        "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/lurkapi~linkedin-profile-scraper-api/run-sync": {
      "post": {
        "operationId": "run-sync-lurkapi-linkedin-profile-scraper-api",
        "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": {
          "searchQueries": {
            "title": "Job title or keyword",
            "type": "array",
            "description": "Search by job title. One or two words work best, like \"founder\", \"CTO\", or \"marketing manager\". Returns up to 50 people per search; set Max profiles above 50 to search deeper.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "firstName": {
            "title": "First name",
            "maxLength": 80,
            "type": "string",
            "description": "Search for people by first name. Combine with Last name for an exact match, or use it alone. Returns up to 50 people per search."
          },
          "lastName": {
            "title": "Last name",
            "maxLength": 80,
            "type": "string",
            "description": "Search by last name. Combine with First name for an exact match, or use it alone."
          },
          "namePairs": {
            "title": "Full names (one per line)",
            "type": "array",
            "description": "Search many people at once. Put one full name per line, for example \"John Smith\". Results are shared across all names, up to your Max profiles limit.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 160
            }
          },
          "location": {
            "title": "Location",
            "maxLength": 80,
            "type": "string",
            "description": "Keep results to one place. Type a city, region, or country, for example \"London\", \"Paris, France\", or \"United States\". Leave empty to search everywhere."
          },
          "maxItems": {
            "title": "Max profiles",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "The most profiles to return. In search mode, a value above 50 searches deeper to go past LinkedIn's 50-per-search limit. Up to 5,000.",
            "default": 100
          },
          "urls": {
            "title": "Profile links",
            "type": "array",
            "description": "Paste public LinkedIn profile links, one per line. Full links like https://www.linkedin.com/in/janesmith/ work, and so do country links like fr.linkedin.com/in/janesmith. Up to 5,000 per run.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "publicIdentifiers": {
            "title": "Handles",
            "uniqueItems": true,
            "type": "array",
            "description": "The short handle from a profile link, the part after /in/. Example: janesmith. Same result as pasting the full link, just quicker to type.",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z0-9\\-_%.]{1,120}$"
            }
          },
          "profileIds": {
            "title": "Profile IDs",
            "uniqueItems": true,
            "type": "array",
            "description": "LinkedIn's own internal profile IDs. Only useful if you already have them. Enter them as text, never as numbers.",
            "items": {
              "type": "string",
              "pattern": "^[A-Za-z0-9\\-_]{6,40}$"
            }
          },
          "outputVerifiedEmail": {
            "title": "Email",
            "type": "boolean",
            "description": "Add the email the person published on their own profile, when they listed one. Email validation is coming soon.",
            "default": true
          },
          "outputPhoneNumber": {
            "title": "Phone number",
            "type": "boolean",
            "description": "Add a phone number the person published, in standard international format, when they listed one.",
            "default": true
          },
          "outputFullProfile": {
            "title": "Full profile",
            "type": "boolean",
            "description": "Add the person's full history: experience, education, certifications, languages, volunteer work, recommendations, publications, awards, recent posts, and summary. Added only where this history is available. Job titles, dates, past jobs, and skills need a login, so they are not included.",
            "default": true
          },
          "outputCompanyDetails": {
            "title": "Company details",
            "type": "boolean",
            "description": "Add the current employer's website, employee count, industry, head office, description, founded year, and logo. Added only where the company details are available.",
            "default": true
          },
          "outputHeadline": {
            "title": "Headline",
            "type": "boolean",
            "description": "Include the headline.",
            "default": true
          },
          "outputCurrentCompany": {
            "title": "Current company",
            "type": "boolean",
            "description": "Include the current company name and link.",
            "default": true
          },
          "outputLocation": {
            "title": "Location",
            "type": "boolean",
            "description": "Include the location and country.",
            "default": true
          },
          "outputLanguage": {
            "title": "Profile language",
            "type": "boolean",
            "description": "Include the profile language.",
            "default": true
          },
          "outputConnections": {
            "title": "Connections",
            "type": "boolean",
            "description": "Include the connection count.",
            "default": true
          },
          "outputFollowers": {
            "title": "Followers",
            "type": "boolean",
            "description": "Include the follower count.",
            "default": true
          },
          "outputVerified": {
            "title": "Verified badge",
            "type": "boolean",
            "description": "Include the verified badge.",
            "default": true
          },
          "outputOpenToWork": {
            "title": "Open to work badge",
            "type": "boolean",
            "description": "Include the open-to-work badge.",
            "default": true
          },
          "outputHiring": {
            "title": "Hiring badge",
            "type": "boolean",
            "description": "Include the hiring badge.",
            "default": true
          },
          "outputPhoto": {
            "title": "Profile photo",
            "type": "boolean",
            "description": "Include the profile photo URL.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}