{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Full Profile Scraper + Company Data (No Cookies)",
    "description": "Full LinkedIn profiles in the field names of the biggest profile scrapers, plus the current company's website, domain, industry, size and headquarters. No cookie needed; add your own li_at to get every position, openToWork and hiring.",
    "version": "1.0",
    "x-build-id": "Dv3ojICsiZdcoEpei"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pomlabs~linkedin-full-profile/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pomlabs-linkedin-full-profile",
        "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/pomlabs~linkedin-full-profile/runs": {
      "post": {
        "operationId": "runs-sync-pomlabs-linkedin-full-profile",
        "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/pomlabs~linkedin-full-profile/run-sync": {
      "post": {
        "operationId": "run-sync-pomlabs-linkedin-full-profile",
        "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": "Profiles",
            "type": "array",
            "description": "LinkedIn profile URLs (linkedin.com/in/...) or public identifiers (the last part of the URL, e.g. williamhgates). Profile ids (ACoAA...) work with your li_at only.",
            "items": {
              "type": "string"
            }
          },
          "includeCompanyDetails": {
            "title": "Current company details",
            "type": "boolean",
            "description": "Read the current company's LinkedIn page and add current_company_website, _domain, _industry, _size, _employee_count, _headquarters, _founded, _description (one page per company per run).",
            "default": true
          },
          "includePosts": {
            "title": "Recent posts and articles",
            "type": "boolean",
            "description": "Include the profile's recent posts (text, exact time, reactions, comments) and articles.",
            "default": true
          },
          "findEmail": {
            "title": "Find work e-mail",
            "type": "boolean",
            "description": "Try the usual company formats (first.last@, f.last@, first@...) at the current company domain and check each on the company mail server, without sending any message. You pay the e-mail event only when the server confirms one address on a domain that does not accept everything. Otherwise the most likely address comes in emailGuess, marked unverified, for free.",
            "default": false
          },
          "isEmailRequired": {
            "title": "Only profiles with a confirmed e-mail",
            "type": "boolean",
            "description": "With this on, profiles without a confirmed work e-mail come back as no_email, charged as a profile (no e-mail charge).",
            "default": false
          },
          "onlyChanged": {
            "title": "Only profiles that changed (job-change monitor)",
            "type": "boolean",
            "description": "Return only profiles whose company, title, headline or location changed since your last run with the same State key. Unchanged profiles come back as unchanged, charged as a profile read. The first run saves the list.",
            "default": false
          },
          "stateKey": {
            "title": "State key (monitor name)",
            "type": "string",
            "description": "Any name for your watchlist, e.g. sales-leads. Runs with the same key are compared; each changed profile lists changes with before and after, and changeType (job_change, title_change...)."
          },
          "mode": {
            "title": "How to read",
            "enum": [
              "auto",
              "public"
            ],
            "type": "string",
            "description": "Without li_at, profiles are read with our account when it is available, otherwise from the public page. With li_at filled, your session is used.",
            "default": "auto"
          },
          "liAt": {
            "title": "Your li_at cookie (optional)",
            "type": "string",
            "description": "Optional. Your LinkedIn li_at cookie, to read as you: every position (no 10-job cut), openToWork, hiring, verified, featured. Used for this run only, never stored. We stop at LinkedIn's first warning to protect your account."
          },
          "userAgent": {
            "title": "Browser user agent (with li_at)",
            "type": "string",
            "description": "The user agent of the browser the li_at came from (LinkedIn ties the session to it)."
          },
          "proxyUrl": {
            "title": "Your proxy (optional, li_at mode)",
            "type": "string",
            "description": "Only with your li_at. An http:// or socks5:// proxy in the country you normally use LinkedIn from, so your session is read from an IP like yours. Without it we use one fixed Brazilian mobile exit for the whole run."
          },
          "urls": {
            "title": "Profile URLs (alias)",
            "type": "array",
            "description": "Same as Profiles; accepted so inputs written for other LinkedIn profile Actors work unchanged.",
            "items": {
              "type": "string"
            }
          },
          "publicIdentifiers": {
            "title": "Public identifiers (alias)",
            "type": "array",
            "description": "Same as Profiles (e.g. williamhgates).",
            "items": {
              "type": "string"
            }
          },
          "profileIds": {
            "title": "Profile ids (with li_at)",
            "type": "array",
            "description": "LinkedIn member ids (ACoAA...). LinkedIn opens them only for logged-in members: fill li_at.",
            "items": {
              "type": "string"
            }
          },
          "includeEmail": {
            "title": "Include e-mail (alias)",
            "type": "boolean",
            "description": "Same as Find work e-mail; accepted so inputs written for other LinkedIn Actors work unchanged."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}