{
  "openapi": "3.0.1",
  "info": {
    "title": "Linkedin Profile Scraper",
    "description": "A LinkedIn profile data scraper that scrapes complete professional profiles including work history, education, skills etc",
    "version": "0.0",
    "x-build-id": "3NGWmK6yE4sJmJlra"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dead00~linkedin-profile-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dead00-linkedin-profile-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/dead00~linkedin-profile-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dead00-linkedin-profile-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/dead00~linkedin-profile-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dead00-linkedin-profile-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",
        "required": [
          "url",
          "cookies"
        ],
        "properties": {
          "url": {
            "title": "LinkedIn Profile URL(s)",
            "minItems": 1,
            "type": "array",
            "description": "LinkedIn profile URL(s) to scrape (e.g., https://www.linkedin.com/in/username/). Can be a single URL or multiple URLs.",
            "default": [
              "https://www.linkedin.com/in/williamhgates/"
            ],
            "items": {
              "type": "string"
            }
          },
          "cookies": {
            "title": "LinkedIn Cookies (Required)",
            "minItems": 1,
            "type": "array",
            "description": "LinkedIn session cookies exported from EditThisCookie extension or similar. Must include li_at cookie for authentication. Export all cookies from linkedin.com domain.",
            "default": [
              {
                "domain": ".linkedin.com",
                "expirationDate": 1773486422,
                "hostOnly": false,
                "httpOnly": false,
                "name": "_gcl_au",
                "path": "/",
                "sameSite": "unspecified",
                "secure": false,
                "session": false,
                "storeId": "0",
                "value": "1.1.782218182.1765710422.743274201.1768158459.1768158459",
                "id": 1
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1773486421.232206,
                "hostOnly": false,
                "httpOnly": false,
                "name": "_guid",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "451688fd-77f7-49a1-b5f2-63c9dd1a0127",
                "id": 2
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1771258568,
                "hostOnly": false,
                "httpOnly": false,
                "name": "aam_uuid",
                "path": "/",
                "sameSite": "unspecified",
                "secure": false,
                "session": false,
                "storeId": "0",
                "value": "84540822533798806761556961109420339343",
                "id": 3
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1784218568,
                "hostOnly": false,
                "httpOnly": false,
                "name": "AMCV_14215E3D5995C57C0A495C55%40AdobeOrg",
                "path": "/",
                "sameSite": "unspecified",
                "secure": false,
                "session": false,
                "storeId": "0",
                "value": "-637568504%7CMCIDTS%7C20471%7CMCMID%7C84751414213763863511536924695015326532%7CMCAAMLH-1769271368%7C12%7CMCAAMB-1769271368%7CRKhpRz8krg2tLO6pguXWp5olkAcUniQYPHaMWWgdJ3xzPWQmdj0y%7CMCOPTOUT-1768673768s%7CNONE%7CvVersion%7C5.1.1%7CMCCIDH%7C285643625",
                "id": 4
              },
              {
                "domain": ".linkedin.com",
                "hostOnly": false,
                "httpOnly": false,
                "name": "AMCVS_14215E3D5995C57C0A495C55%40AdobeOrg",
                "path": "/",
                "sameSite": "unspecified",
                "secure": false,
                "session": true,
                "storeId": "0",
                "value": "1",
                "id": 5
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1771258566.911447,
                "hostOnly": false,
                "httpOnly": false,
                "name": "AnalyticsSyncHistory",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "AQLmOjTFq_h2fAAAAZvMvhXVTT9baBjUG0uO4BL9yJEIa9yZ06WCtVndbgONLuhDFXrm9BhgsngYTGHYUOucgg",
                "id": 6
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1800202567.605629,
                "hostOnly": false,
                "httpOnly": false,
                "name": "bcookie",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "\"v=2&254cc95a-1e59-4b28-8987-c5a21ed2d1d9\"",
                "id": 7
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1776709170.162967,
                "hostOnly": false,
                "httpOnly": true,
                "name": "dfpfpt",
                "path": "/",
                "sameSite": "unspecified",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "291e6513523f4067a627329c51427448",
                "id": 8
              },
              {
                "domain": ".linkedin.com",
                "hostOnly": false,
                "httpOnly": true,
                "name": "fptctx2",
                "path": "/",
                "sameSite": "unspecified",
                "secure": true,
                "session": true,
                "storeId": "0",
                "value": "taBcrIH61PuCVH7eNCyH0MJojnuUODHcZ6x9WoxhgCnB8RZKUr5P8yael0dg2s3RITFZbHMaUzoc1OGQI5UHLtc2Qbf05bKAK3ud0c4Fm%252fsxJN%252ft1sGoaZCpzWbkCrNz5s%252fTJM5j9SYtg8bRDfG8hh5i1JZCE3w9pslnmbKNN3bB1I4ocNknPq%252bMkL0CSif8WMaNQIxAtUcjs2SV71VIm%252fnd%252bZloyeJba%252fhnFtBPbZcugY%252fQHjblFsVe%252fEDesv8hnkN6qPDoQNiN7YvpY3LGldGXMTf9oHv4SGpp8xC4rXfGLWMSEUmpACPKofesUgN8zKfS05sjiW7B15My0Zf95rkXr7GHNGv3nUjSGLnd3l4%253d",
                "id": 9
              },
              {
                "domain": ".linkedin.com",
                "hostOnly": false,
                "httpOnly": false,
                "name": "lang",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": true,
                "storeId": "0",
                "value": "v=2&lang=en-us",
                "id": 10
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1776442567.605523,
                "hostOnly": false,
                "httpOnly": false,
                "name": "li_sugr",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "72026fe2-2e16-4ce7-918a-5ec98ee51f93",
                "id": 11
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1776089212.483468,
                "hostOnly": false,
                "httpOnly": false,
                "name": "liap",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "true",
                "id": 12
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1768752964.378674,
                "hostOnly": false,
                "httpOnly": false,
                "name": "lidc",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "\"b=TB35:s=T:r=T:a=T:p=T:g=4326:u=18:x=1:i=1768666569:t=1768752965:v=2:sig=AQHqQxUBcDcospmqDM1Cxg0IvN7vFgp0\"",
                "id": 13
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1771258567.309922,
                "hostOnly": false,
                "httpOnly": false,
                "name": "lms_ads",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "AQFJ2StHdnpKZAAAAZvMvhdsa5la-KpUC1uJOzoJb5ye2TbuiTQATPIVUJj547ft5W7bAtvXd7Xx9HjQF8VPYn8igBp7g5aI",
                "id": 14
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1771258567.310049,
                "hostOnly": false,
                "httpOnly": false,
                "name": "lms_analytics",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "AQFJ2StHdnpKZAAAAZvMvhdsa5la-KpUC1uJOzoJb5ye2TbuiTQATPIVUJj547ft5W7bAtvXd7Xx9HjQF8VPYn8igBp7g5aI",
                "id": 15
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1771258566.911343,
                "hostOnly": false,
                "httpOnly": false,
                "name": "UserMatchHistory",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "AQK4K5zx9qzBpgAAAZvMvhXV5ommSmndNaBTVKS8-uIIHhz15jq9UG5NqgZzYQt5MDLbI2jiuiJwLxiouc3KEu7EFumkhXkpLv1JzAwU4xeE_6ajV4MDfBA6CQ6mdqsyUR0a61mweDtJLjuXSFEUnXWjxAVQnD7QDxNpCT5-TKqkwTT8ssK_ET4PTgcPud7MYY6ShFVFkn7UpaZEP5fxG85OguKgG0vzgjsmBlHEEUZrQNwRun7Pd7BuRbJwBLNJzem3HAZ7PpnzT5tZQ8X8c5A5gUpBsqAR1bMuYXR3zOXq1QgBdTq_mQWQTcJLK_SyX5WRbyLXiZB0p6KdDReruGqE8D_pNjLD0-3rHbxrah7yfAdJgw",
                "id": 16
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1800202567.31015,
                "hostOnly": false,
                "httpOnly": true,
                "name": "bscookie",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "\"v=1&20240626134256060102e2-4de7-4d48-8df9-232268d30846AQHK3__aWkN4uDwFfRixfKwjTmKo5EgM\"",
                "id": 17
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1776089212.483561,
                "hostOnly": false,
                "httpOnly": false,
                "name": "JSESSIONID",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "\"ajax:0932312140544829574\"",
                "id": 18
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1799849212.483511,
                "hostOnly": false,
                "httpOnly": true,
                "name": "li_at",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "AQEDAVnyITMF5nu6AAABm7euTZwAAAGb27rRnE4AZ2dGRkSAJ5eTOVaWm8P7CHaZTzwm8Ss3gCJ2jY3qk5o1bh2PIO5U-q1kxJkhUpjIOVZVs8AZeEzF-KyTJpsopdlPDdpOI0byGRtxAlsnbNzYE8FR",
                "id": 19
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1784218564,
                "hostOnly": false,
                "httpOnly": false,
                "name": "li_theme",
                "path": "/",
                "sameSite": "unspecified",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "light",
                "id": 20
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1784218564,
                "hostOnly": false,
                "httpOnly": false,
                "name": "li_theme_set",
                "path": "/",
                "sameSite": "unspecified",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "app",
                "id": 21
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1769876164,
                "hostOnly": false,
                "httpOnly": false,
                "name": "timezone",
                "path": "/",
                "sameSite": "unspecified",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "Asia/Calcutta",
                "id": 22
              },
              {
                "domain": "www.linkedin.com",
                "expirationDate": 1799352540,
                "hostOnly": true,
                "httpOnly": false,
                "name": "_pxvid",
                "path": "/",
                "sameSite": "unspecified",
                "secure": false,
                "session": false,
                "storeId": "0",
                "value": "fb32b14d-1e13-11f0-8947-ead26e9c3630",
                "id": 23
              },
              {
                "domain": "www.linkedin.com",
                "expirationDate": 1783865211,
                "hostOnly": true,
                "httpOnly": false,
                "name": "g_state",
                "path": "/",
                "sameSite": "unspecified",
                "secure": false,
                "session": false,
                "storeId": "0",
                "value": "{\"i_l\":0}",
                "id": 24
              }
            ]
          },
          "useProxy": {
            "title": "Use Proxy",
            "type": "boolean",
            "description": "Enable Apify proxy to avoid rate limiting and IP blocks. Highly recommended for scraping multiple profiles. Uses Apify's residential proxies.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration (Optional)",
            "type": "object",
            "description": "Custom proxy configuration. Leave empty to use default RESIDENTIAL proxies with US country code.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}