{
  "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": "oDWgc9xn8Ih9aDjGM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/aizen0~linkedin-profile-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-aizen0-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/aizen0~linkedin-profile-scraper/runs": {
      "post": {
        "operationId": "runs-sync-aizen0-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/aizen0~linkedin-profile-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-aizen0-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 (Required)",
            "type": "array",
            "description": "The LinkedIn profile URL to scrape (e.g., https://www.linkedin.com/in/username/)",
            "default": [
              "https://www.linkedin.com/in/williamhgates/"
            ],
            "items": {
              "type": "string"
            }
          },
          "cookies": {
            "title": "LinkedIn Cookies (Required)",
            "type": "array",
            "description": "LinkedIn session cookies exported from EditThisCookie extension. Must include li_at cookie for authentication.",
            "default": [
              {
                "domain": ".linkedin.com",
                "expirationDate": 1773130709.708941,
                "hostOnly": false,
                "httpOnly": false,
                "name": "_guid",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "c71a889d-dfbf-44bc-9e81-1fc48e81c871",
                "id": 1
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1774075599,
                "hostOnly": false,
                "httpOnly": false,
                "name": "AMCV_14215E3D5995C57C0A495C55%40AdobeOrg",
                "path": "/",
                "sameSite": "unspecified",
                "secure": false,
                "session": false,
                "storeId": "0",
                "value": "-637568504%7CMCIDTS%7C20354%7CMCMID%7C33369110384352113544420008535672452315%7CMCAAMLH-1759128398%7C12%7CMCAAMB-1759128398%7C6G1ynYcLPuiQxYZrsz_pkqfLG9yMXBpb2zX5dvJdYQJzPXImdj0y%7CMCOPTOUT-1758530799s%7CNONE%7CvVersion%7C5.1.1%7CMCCIDH%7C285643625",
                "id": 2
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1767946709.614848,
                "hostOnly": false,
                "httpOnly": false,
                "name": "AnalyticsSyncHistory",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "AQIuyR1-zlJnkwAAAZsHVzA42TYuHUp4SKLX6B9TThvGcfOfA7FgSbEByKLriRyvuqVHJrdcWFZg-ZCtURtB0w",
                "id": 3
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1796890709.950102,
                "hostOnly": false,
                "httpOnly": false,
                "name": "bcookie",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "\"v=2&7ab4beb7-061e-493b-8206-1ba7e572e6dc\"",
                "id": 4
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1784915950.72055,
                "hostOnly": false,
                "httpOnly": true,
                "name": "dfpfpt",
                "path": "/",
                "sameSite": "unspecified",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "59905d637a054f389ebd48e5d4a4b429",
                "id": 5
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1772140167,
                "hostOnly": false,
                "httpOnly": false,
                "name": "gpv_pn",
                "path": "/",
                "sameSite": "unspecified",
                "secure": false,
                "session": false,
                "storeId": "0",
                "value": "www.linkedin.com%2Fpremium%2Fproducts%2F",
                "id": 6
              },
              {
                "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": 7
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1773130709.614588,
                "hostOnly": false,
                "httpOnly": false,
                "name": "li_sugr",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "9e230f30-6ab0-4a2e-9bd6-9bb0d546eb74",
                "id": 8
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1796412173.27106,
                "hostOnly": false,
                "httpOnly": false,
                "name": "liap",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "true",
                "id": 9
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1765432790.950279,
                "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=4316:u=16:x=1:i=1765354713:t=1765432794:v=2:sig=AQE8Ez2FeYRAQcjn8NFOWYSeA2LAC9Yq\"",
                "id": 10
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1767946709.949811,
                "hostOnly": false,
                "httpOnly": false,
                "name": "lms_ads",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "AQFPHl4MEdAwqgAAAZsHVzGFzCjelyYmt2iktxWHpF1lBWM2Jj75CXpUaYZugGKKZU-M8UjMu5Nd5nyTG1gjAenuc4DzN0iP",
                "id": 11
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1767946709.950016,
                "hostOnly": false,
                "httpOnly": false,
                "name": "lms_analytics",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "AQFPHl4MEdAwqgAAAZsHVzGFzCjelyYmt2iktxWHpF1lBWM2Jj75CXpUaYZugGKKZU-M8UjMu5Nd5nyTG1gjAenuc4DzN0iP",
                "id": 12
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1772140157,
                "hostOnly": false,
                "httpOnly": false,
                "name": "s_ips",
                "path": "/",
                "sameSite": "unspecified",
                "secure": false,
                "session": false,
                "storeId": "0",
                "value": "790.3999996185303",
                "id": 13
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1772140157,
                "hostOnly": false,
                "httpOnly": false,
                "name": "s_tp",
                "path": "/",
                "sameSite": "unspecified",
                "secure": false,
                "session": false,
                "storeId": "0",
                "value": "1371",
                "id": 14
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1772140167,
                "hostOnly": false,
                "httpOnly": false,
                "name": "s_tslv",
                "path": "/",
                "sameSite": "unspecified",
                "secure": false,
                "session": false,
                "storeId": "0",
                "value": "1756588167901",
                "id": 15
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1767946709.614751,
                "hostOnly": false,
                "httpOnly": false,
                "name": "UserMatchHistory",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "AQI5YOD8KyXhqgAAAZsHVzA4kWjIx2CestyHNDvpM0tLR_04T2RyoGU7UxbJXcdbdtrKaJfKK-Jyz_L2nb-p6DFnKowS6Ho2BsEo9m-aYxO4GXPcqe677Bo9UQQXkT6Kqu5P4i-udvqv1H4p6hzWCjCB9FJLcqMAyc7-2fj4RfdMR5ro-5Bn96edf9h5qBgWYQqPiLF_fWb0NSMkNL1N4VmgVxuQ97rLNAvCq9hlEUr3XwBjc-4ZV-0rBBMa8NeA1QMz2llV-zPUWDSP8fGtmjlxXq7ljgYNEwzQPEm34aYnIeHOMxnpNnTGAotVEEqU0M21iC2TkhPnJ6WusQE3NYamAIeyAp0CQseYZkxXDLnnyccmsg",
                "id": 16
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1789809171.158399,
                "hostOnly": false,
                "httpOnly": false,
                "name": "visit",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "v=1&M",
                "id": 17
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1796890709.950195,
                "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": 18
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1796412173.271103,
                "hostOnly": false,
                "httpOnly": false,
                "name": "JSESSIONID",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "\"ajax:5282857447136636813\"",
                "id": 19
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1796412173.270998,
                "hostOnly": false,
                "httpOnly": true,
                "name": "li_at",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "AQEDAVnyITMFwOsYAAABmMErOvYAAAGbDt3N3VYA0eU2dmdAy_f11b16LWTtDb7c7oIO1luwhVxTbj0c5zYh_-LRTklBDIAC6VRZ1nmZpV4eQ15is5w2FIYEA5wJDkp_ty6hi2tFvrET_YXJBJLE6dqY",
                "id": 20
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1787123489.458601,
                "hostOnly": false,
                "httpOnly": true,
                "name": "li_rm",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "AQHJUk_aAwq3ewAAAZg9lqh_9z98KI8RKWF99h28T4ch2g1CNvEN-LRDp8R2m88v1vsXZnoXJggFV7N6Xo2YsvRqvg-FQtbHRwZ4BCN_Qj8kvqd-2emCJIQU",
                "id": 21
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1780906707,
                "hostOnly": false,
                "httpOnly": false,
                "name": "li_theme",
                "path": "/",
                "sameSite": "unspecified",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "light",
                "id": 22
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1780906707,
                "hostOnly": false,
                "httpOnly": false,
                "name": "li_theme_set",
                "path": "/",
                "sameSite": "unspecified",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "app",
                "id": 23
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1766564307,
                "hostOnly": false,
                "httpOnly": false,
                "name": "timezone",
                "path": "/",
                "sameSite": "unspecified",
                "secure": true,
                "session": false,
                "storeId": "0",
                "value": "Asia/Calcutta",
                "id": 24
              },
              {
                "domain": "www.linkedin.com",
                "expirationDate": 1771139488,
                "hostOnly": true,
                "httpOnly": false,
                "name": "g_state",
                "path": "/",
                "sameSite": "unspecified",
                "secure": false,
                "session": false,
                "storeId": "0",
                "value": "{\"i_l\":0}",
                "id": 25
              }
            ]
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}