{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Scraper & API | EveryInfra",
    "description": "Unofficial LinkedIn data via one Actor: search, profile_search, person_profile, company_profile, comments, followers, jobs, employees. Pay per request, no start fee. First 3 requests free across EveryInfra Actors.",
    "version": "0.1",
    "x-build-id": "4ZOzOJx409FFaLHEs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/blushing_parachute~everyinfra-linkedin-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-blushing_parachute-everyinfra-linkedin-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/blushing_parachute~everyinfra-linkedin-api/runs": {
      "post": {
        "operationId": "runs-sync-blushing_parachute-everyinfra-linkedin-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/blushing_parachute~everyinfra-linkedin-api/run-sync": {
      "post": {
        "operationId": "run-sync-blushing_parachute-everyinfra-linkedin-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",
        "required": [
          "action"
        ],
        "properties": {
          "action": {
            "title": "Action",
            "enum": [
              "search",
              "profile_search",
              "person_profile",
              "company_profile",
              "comments",
              "followers",
              "jobs",
              "employees"
            ],
            "type": "string",
            "description": "What to fetch. Each action uses only the fields listed for it below; other fields are ignored when empty.",
            "default": "jobs"
          },
          "keyword": {
            "title": "keyword",
            "type": "string",
            "description": "Used by `search` (required), `profile_search` (required), `jobs` (required). Specifies the search string, acting as a post search keyword in search, a current job title in profile_search, or a job search term or full job URL in jobs. Searching for people with this parameter does not perform an exact match by individual name or email."
          },
          "date_range": {
            "title": "date_range",
            "enum": [
              "no_filter",
              "past_1_hour",
              "past_24_hours",
              "past_month",
              "past_week"
            ],
            "type": "string",
            "description": "Used by `search`. Filters post publishing timestamps for the search action using allowed values no_filter, past_1_hour, past_24_hours, past_week, or past_month. It applies strictly to post publishing times rather than job listing validity or personal employment history."
          },
          "sort": {
            "title": "sort",
            "enum": [
              "newest",
              "relevance"
            ],
            "type": "string",
            "description": "Used by `search`, `comments`. Sets the sorting order to newest or relevance for post search and comment fetching. Because these actions target different object types, this parameter does not sort people, companies, or job listings."
          },
          "location": {
            "title": "location",
            "type": "string",
            "description": "Used by `profile_search`, `person_profile`, `jobs`. Specifies location text for person profiles in profile_search or job locations in jobs. When keyword in the jobs action is already a full search URL, the URL's embedded criteria take precedence and location is ignored."
          },
          "locations": {
            "title": "locations",
            "type": "array",
            "description": "Used by `profile_search`, `person_profile`. Accepts a location array as a compatibility alias. Prefer location: this array is not guaranteed to behave the same way, and it is not a way to run cross-country batch searches.",
            "items": {
              "type": "string"
            }
          },
          "username": {
            "title": "username",
            "type": "string",
            "description": "Used by `person_profile` (required), `followers` (required). Specifies the username handle from a LinkedIn /in/ profile path or a full personal profile URL for person_profile, or an account path for followers. In the followers action, it returns the total follower count rather than a list of followers."
          },
          "name": {
            "title": "name",
            "type": "string",
            "description": "Used by `person_profile`, `company_profile`. Provides a compatibility identifier that holds company identifiers in company_profile or serves as a person query term in select person_profile lookups. It cannot replace the required company or username parameters, nor does it guarantee exact matching against display names."
          },
          "company": {
            "title": "company",
            "type": "string",
            "description": "Used by `company_profile` (required), `employees` (required). Specifies the LinkedIn company short name or /company/ profile URL for company_profile and employees, rather than an arbitrary legal business name. The employees action expands short names into full company URLs to return a public employee sample, which does not guarantee a complete roster of current staff."
          },
          "identifier": {
            "title": "identifier",
            "type": "string",
            "description": "Used by `company_profile`. The company_profile parameter accepts a company short name or company profile link, though the required company parameter takes precedence. It does not accept personal /in/ usernames."
          },
          "url": {
            "title": "url",
            "type": "string",
            "description": "Used by `comments` (required). Specifies the full LinkedIn post URL used by the comments action to fetch comments for that post; company or personal profile URLs are not supported. For other endpoints offering URL compatibility inputs, required parameters like username or company must still be supplied."
          },
          "num_comments": {
            "title": "num_comments",
            "type": "integer",
            "description": "Used by `comments`. Provides a compatibility input for setting an upper cap on fetched comments rather than filtering for a minimum comment count. Results are not guaranteed to be truncated to this number."
          },
          "num_likes": {
            "title": "num_likes",
            "type": "integer",
            "description": "Used by `comments`. Provides a compatibility input for setting an upper cap on retrieved like data rather than filtering posts by a minimum number of likes. It does not serve as a stable post popularity filter."
          },
          "channel": {
            "title": "channel",
            "type": "string",
            "description": "Used by `followers`. The followers action accepts an account path input, though the required username parameter takes precedence. This action returns a follower count object and does not export channel member lists."
          },
          "limit": {
            "title": "limit",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many results to request for list actions. Defaults and maximums per action: `search` 10 (max 50); `profile_search` 10 (max 100); `comments` 20 (max 200); `jobs` 20 (max 200); `employees` 20 (max 200). Billing: `search` one event per started block of 10 results; `profile_search` one event per started block of 10 results; `comments` one event per started block of 20 results; `jobs` one event per started block of 20 results; `employees` one event per started block of 20 results."
          },
          "params": {
            "title": "params (advanced)",
            "type": "object",
            "description": "Optional JSON object with the same fields as above, for API and integration use. Flat fields and params must not disagree."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}