{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Post Comments Scraper, No Login",
    "description": "LinkedIn comment scraper for post comments, no login or cookie: post, comment or article links or company pages in. Each comment: text, exact date, commenter name, profile link and picture, reactions, links, mentions, images, the post's comment count. Commenter pages, tags on request. Misses free.",
    "version": "0.1",
    "x-build-id": "7GSxjnhWxE1SEXMMh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~linkedin-post-comments-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-linkedin-post-comments-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/hyperbach~linkedin-post-comments-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-linkedin-post-comments-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/hyperbach~linkedin-post-comments-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-linkedin-post-comments-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",
        "properties": {
          "postUrls": {
            "title": "Post, comment or article links",
            "maxItems": 5000,
            "type": "array",
            "description": "LinkedIn links in any form (www or a country host such as uk.linkedin.com, with or without parameters, a link wrapped in a redirect): a post (/posts/… or /feed/update/urn:li:activity|ugcPost|share:…), a bare post id or urn, a comment or reply link (one with commentUrn=, as LinkedIn's share menu gives it: that one comment), or an article (/pulse/…: its comments through its share post). A post gives the comments LinkedIn shows a logged-out reader: its first 9-10. A profile or company link here gives a free row that points at Profiles; a value that names nothing gives a free row that says why.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "profiles": {
            "title": "Profiles: company or person pages",
            "maxItems": 500,
            "type": "array",
            "description": "Company, showcase or person page links (/company/…, /showcase/…, /in/…): the comments on each page's newest posts, up to Posts per profile. A company's page lists its newest posts (up to 70 by its feed), a person's page its newest 8-9. A post whose card counts no comment is a free row with no read. The comments a person wrote on other people's posts are shown to signed-in members only and are not read.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxPostsPerProfile": {
            "title": "Posts per profile",
            "minimum": 1,
            "maximum": 70,
            "type": "integer",
            "description": "How many of a profile's newest posts to read, each for its comments (1-70; a person's page lists 8-9).",
            "default": 3
          },
          "maxCommentsPerPost": {
            "title": "Comments per post",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "The most comments one post delivers (1-10). LinkedIn shows a logged-out reader at most 10 comments of a post; the post's own row gives LinkedIn's full count.",
            "default": 10
          },
          "sortBy": {
            "title": "Order",
            "enum": [
              "relevance",
              "newest"
            ],
            "type": "string",
            "description": "Relevance keeps LinkedIn's own order of the comments it shows. Newest sorts those comments by their own dates, newest first (it sorts the 9-10 comments LinkedIn shows, not the post's whole list).",
            "default": "relevance"
          },
          "maxItems": {
            "title": "Max comments (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most charged comments of the whole run; 0 = no cap beyond your charge limit. Free rows (a post's or a profile's row, missing or empty posts, duplicates, comments a filter drops) do not count.",
            "default": 0
          },
          "newerThan": {
            "title": "Posted on or after",
            "type": "string",
            "description": "Only comments posted on or after this: a date (2026-10-01, or a time in UTC such as 2026-10-01T12:00:00Z), a window (24h, week, month, 3months, 6months, year) or an age (7 days, 48 hours). Checked on each comment's own date; a comment outside is dropped free."
          },
          "olderThan": {
            "title": "Posted on or before",
            "type": "string",
            "description": "Only comments posted on or before this: a date, a window or an age, as for Posted on or after."
          },
          "textContains": {
            "title": "Keep comments with one of these words",
            "maxItems": 100,
            "type": "array",
            "description": "Only comments whose text holds at least one of these words or phrases as whole words, any case (\"price\" keeps \"what's the price?\", not \"priceless\"); the others are dropped free.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minLikes": {
            "title": "Min reactions",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Only comments with at least this many reactions; the others are dropped free.",
            "default": 0
          },
          "excludePostAuthorComments": {
            "title": "Leave out the post author's own comments",
            "type": "boolean",
            "description": "Drops the comments the post's author wrote on their own post (free).",
            "default": false
          },
          "authorDetails": {
            "title": "Read each commenter's public page",
            "type": "boolean",
            "description": "For each distinct person who commented, reads their public profile page once for the location, the followers, the connections, the current company and the numeric member id. LinkedIn showed a logged-out reader between 1 commenter in 4 and 1 in 12 in our runs of 2026-11-18 (25 of 106, 12 of 56 and 26 of 299 persons on ordinary posts); the others keep the comment with authorDetailsStatus not_public or refused and no fee for the details. The headline is not on that page. Charged per comment whose commenter's public page LinkedIn served (authorDetailsStatus served).",
            "default": false
          },
          "tagComments": {
            "title": "Tag sentiment, intent and language",
            "type": "boolean",
            "description": "Adds analysis_sentiment (-1 to 1), analysis_intent (question, praise, agreement, criticism, buying_signal, experience, self_promotion, job_seeking, other) and analysis_language to each comment with text, read by a classification model, with the confidence of each answer. Charged per tagged comment; a comment with no text (an image or a GIF) is not tagged.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Links read at once",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Links and profiles read in parallel, each on its own connection.",
            "default": 4
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "maxLength": 2000,
            "type": "string",
            "description": "A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}