{
  "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": "O5Igthw8SFrTcw3QD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dead00~linkedin-profile-scrape/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dead00-linkedin-profile-scrape",
        "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-scrape/runs": {
      "post": {
        "operationId": "runs-sync-dead00-linkedin-profile-scrape",
        "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-scrape/run-sync": {
      "post": {
        "operationId": "run-sync-dead00-linkedin-profile-scrape",
        "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": 1782315925.766654,
                "hostOnly": false,
                "httpOnly": false,
                "name": "lms_ads",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "AQEPGtuZWmBJeAAAAZ5fz_FsYAk2DQYjjAY0-GU9be6GZwl6ervKLCLLGdtK53-wN0H9uujalTnfv1W7lNqBDLP283kGImj8"
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1787499925.430571,
                "hostOnly": false,
                "httpOnly": false,
                "name": "_guid",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "55e35203-7c76-4561-b346-734a5faa6814"
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1811259929.254847,
                "hostOnly": false,
                "httpOnly": false,
                "name": "bcookie",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "\"v=2&901a7cb7-73b7-4712-80c5-0ca1200b5fc9\""
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1782315925.766914,
                "hostOnly": false,
                "httpOnly": false,
                "name": "lms_analytics",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "AQEPGtuZWmBJeAAAAZ5fz_FsYAk2DQYjjAY0-GU9be6GZwl6ervKLCLLGdtK53-wN0H9uujalTnfv1W7lNqBDLP283kGImj8"
              },
              {
                "domain": ".linkedin.com",
                "hostOnly": false,
                "httpOnly": true,
                "name": "fptctx2",
                "path": "/",
                "sameSite": null,
                "secure": true,
                "session": true,
                "storeId": null,
                "value": "AQEwC3EzABnJGdKHjkPoHaE1akB9kS9uw7C4iKaB2O9%252fCAVnDrjxospvnetp7UUfuKvNeJz8UQC7OED%252fBHHGW%252bUuoEgmdcmw4gAec6B9AL822GygpkxzYZK77qkQ91LA8leVVhIjgsPaLp2q5fKBAef%252bso8KTdCn62c0CmmX8UkD41bWsNQH8NOmHv7wSkL8Q5hhgY5Kid8OQn5hZI9bE7Y4nns41YizoZShDnJD4e5W1kfETOB3d8Za2cVfhnY7RztXBoVpOZlSOTx1Qt7GhSEhHE9o%252bsaoYZPJA14SLneTx5%252b6XaYwS0FgR04yKlGtQ6ptu4dkonBExskyuRs8ovmAEbGy9%252b9sG1sbWs8q2dTkrJFAFD%252f2BATdZNflJyoIC5uPFAB6dU8r3k1RGQIC3qkm"
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1811259921.07882,
                "hostOnly": false,
                "httpOnly": true,
                "name": "li_at",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "AQEDAVnyITMB2HxEAAABnl_P3wsAAAGeg9xjC04AMC21q8QUFEowHyucw81DlaJLm81Vaww95EbyvJzg2aIbIUWj0E5b7Ztend0pvwDgWkjNf_NOKuD4msV-Eyl6h9jKt4qgqLUy8ht5FrJUNzoF6uJo"
              },
              {
                "domain": ".linkedin.com",
                "hostOnly": false,
                "httpOnly": false,
                "name": "lang",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": true,
                "storeId": null,
                "value": "v=2&lang=en-us"
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1779808707.254995,
                "hostOnly": false,
                "httpOnly": false,
                "name": "lidc",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "\"b=TB35:s=T:r=T:a=T:p=T:g=4349:u=49:x=1:i=1779723925:t=1779808704:v=2:sig=AQHQauNmaFmV2Ihx3arQ9Z1fsN7Apzu_\""
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1782315925.322147,
                "hostOnly": false,
                "httpOnly": false,
                "name": "AnalyticsSyncHistory",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "AQKr9D2FboK88gAAAZ5fz--4fyC-6Lkh3tGpk2GaL7SKBfZrw8AlLgAU4I3547wBn_1wgRaUwB7ZkyyiSgJlVw"
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1811259929.254924,
                "hostOnly": false,
                "httpOnly": true,
                "name": "bscookie",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "\"v=1&202604231759201de6bee3-ae60-4382-8748-8edca7ec361dAQEwSgnFFWu9nt-dC0b8XcY3pLYvQPNK\""
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1811259925.733693,
                "hostOnly": false,
                "httpOnly": true,
                "name": "dfpfpt",
                "path": "/",
                "sameSite": null,
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "8227aecdffe14c5abb6fcb7c946176e1"
              },
              {
                "domain": ".www.linkedin.com",
                "hostOnly": false,
                "httpOnly": false,
                "name": "JSESSIONID",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": true,
                "storeId": null,
                "value": "ajax:2307654763225983374"
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1787499926.426292,
                "hostOnly": false,
                "httpOnly": false,
                "name": "li_sugr",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "a51d4753-afe1-45c3-a9c8-a683b9ed2c02"
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1795275923,
                "hostOnly": false,
                "httpOnly": false,
                "name": "li_theme",
                "path": "/",
                "sameSite": null,
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "light"
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1795275923,
                "hostOnly": false,
                "httpOnly": false,
                "name": "li_theme_set",
                "path": "/",
                "sameSite": null,
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "app"
              },
              {
                "domain": ".www.linkedin.com",
                "expirationDate": 1780933523,
                "hostOnly": false,
                "httpOnly": false,
                "name": "timezone",
                "path": "/",
                "sameSite": null,
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "Asia/Calcutta"
              },
              {
                "domain": ".linkedin.com",
                "expirationDate": 1782315925.322052,
                "hostOnly": false,
                "httpOnly": false,
                "name": "UserMatchHistory",
                "path": "/",
                "sameSite": "no_restriction",
                "secure": true,
                "session": false,
                "storeId": null,
                "value": "AQKIwY7eaZGYfgAAAZ5fz--4KJuW--xvlVRwlfMMjMcTSjU-ZLWtdG2JVIujkszFKc-4WjeSPXjsoD_Ckye86FEuysFB7rxWOJymzq2AqKdBPikEfItK9DIXh-xYzYwzHIRFcBsZsylYNEMWLaEIum-xhBgGF4pKNKfelozEmi9QvLxJiCUXcROUdWBjcndm7FzyGGMwEMD5YKIyTkgDFTbl0ftEkjBln4fipJ52FM9StRtTHHm44cUkz1IBAC4XRNjKjqWnUCfcm9cjUgUUBkTIRhY7LeMn1jf6F_3J7sFzPHbHtkKDdygmHAyEw9_kX0TMo8ehZIq8TXMQf6_09v3zJfJ6Or3qspmFZ1GdKm1qXwW-AQ"
              }
            ]
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}