{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Profile Posts Scraper: by URL, Without Login",
    "description": "LinkedIn posts scraper without login or cookies: give it public LinkedIn profile URLs and get one row per post with exact dates, text, link, reaction and comment counts, media type and repost flag. Export to Google Sheets or call it from Clay, n8n or Make. Nothing found, nothing charged.",
    "version": "1.0",
    "x-build-id": "6Ry3ObNyAJ8Pgkv5E"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/accountable_eel~linkedin-profile-posts-lookup/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-accountable_eel-linkedin-profile-posts-lookup",
        "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/accountable_eel~linkedin-profile-posts-lookup/runs": {
      "post": {
        "operationId": "runs-sync-accountable_eel-linkedin-profile-posts-lookup",
        "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/accountable_eel~linkedin-profile-posts-lookup/run-sync": {
      "post": {
        "operationId": "run-sync-accountable_eel-linkedin-profile-posts-lookup",
        "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": [
          "profileUrls"
        ],
        "properties": {
          "profileUrls": {
            "title": "LinkedIn profiles whose posts you want",
            "type": "array",
            "description": "One profile per line. Paste the full profile link, the /recent-activity/ link you copied while looking at someone's posts, or just the part after /in/. Accepted formats: https://www.linkedin.com/in/williamhgates, https://www.linkedin.com/in/satyanadella/recent-activity/all/, satyanadella. You're only charged for the ones we actually find — a miss costs nothing.",
            "items": {
              "type": "string"
            }
          },
          "maxPosts": {
            "title": "Most posts to return per profile",
            "type": "integer",
            "description": "Optional. Caps how many posts each profile returns, newest first, which is also the most you are billed for that profile. The public page carries up to 20; leave it at 20 to take everything it served.",
            "default": 20
          },
          "since": {
            "title": "Only posts since (date or look-back)",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2}|\\d{1,4}[dwDW])?$",
            "type": "string",
            "description": "Optional. Only return posts published on or after this date, so a scheduled run or a first backfill takes just the window you care about. Type a date (2026-10-01, counted from 00:00 UTC) or a look-back (30d for 30 days, 4w for 4 weeks). Posts older than the cutoff are not returned and not billed. The cut uses each post's exact timestamp; a repost is kept when LinkedIn shows it as shared inside the window, even if the original is older. The public page only carries about the last 20 posts, so a cutoff further back than that returns what the page has. 'Most posts per profile' still applies, counted from the newest post inside the window. With 'Get only new posts' on, the first run with a cutoff is the backfill: only posts inside the window are returned and billed. Leave empty for no cutoff.",
            "default": ""
          },
          "summary": {
            "title": "Add a post analytics summary row per profile",
            "type": "boolean",
            "description": "Adds one extra row per profile (rowType summary) worked out from the posts this run fetched, with no extra request: posts per week, average and median reactions, average comments, the 3 top posts and, when LinkedIn shows the member's follower count, engagement per follower. Reposts are counted but left out of the engagement figures. The summary row is billed as one Post analytics summary event ($0.01) per profile that returns posts. With 'Get only new posts' on it covers the new posts only (scope says which). Off by default; your post rows are the same either way.",
            "default": false
          },
          "deltaMode": {
            "title": "Get only new posts since the last run",
            "type": "boolean",
            "description": "Turns this actor into a post monitor. Each run compares a profile's posts with the ones the same watchlist returned on its previous runs and returns only the posts it has not seen before, with 'New post?' and 'First seen' filled in. A profile with nothing new returns one summary row (0 posts) and is not charged. You pay per new post, never again for one you already got. The first run has no memory yet, so every post it finds counts as new (turn on 'Seed silently' to avoid that). Schedule it hourly or daily, and have each new post sent to Discord, Slack or Telegram with 'Send new posts to' below.",
            "default": false
          },
          "deltaName": {
            "title": "Watchlist name (optional)",
            "type": "string",
            "description": "Leave empty and one is derived from this run's settings. Type your own name to keep one memory per schedule, so two schedules watching different profiles never mark each other's posts as seen. The memory is kept per name and per profile in the key-value store linkedin-profile-posts-lookup-delta, up to 5,000 posts each.",
            "default": ""
          },
          "skipFirstRun": {
            "title": "Seed silently (no rows on the first run)",
            "type": "boolean",
            "description": "The first run of a watchlist has nothing to compare with. Turn this on to remember every post it finds without returning or billing it, so a webhook does not get a message for each old post on day one. New posts are reported from the second run. Only applies with 'Get only new posts' on.",
            "default": false
          },
          "alertOnChangeOnly": {
            "title": "Skip profiles with no new post",
            "type": "boolean",
            "description": "With 'Get only new posts' on, a profile with no new post writes no row at all, so a scheduled run's dataset holds only profiles that posted. Off by default: you then get one summary row (0 posts) per quiet profile. Neither case is charged. Does nothing with 'Get only new posts' off.",
            "default": false
          },
          "notifyUrl": {
            "title": "Send new posts to (Discord or Slack webhook, Telegram bot link, or any URL)",
            "type": "string",
            "description": "Optional. After a new post is billed it is posted here as one message: author, text, time, reactions, comments and link. Discord or Slack: paste the channel's webhook URL. Telegram: https://api.telegram.org/bot<token>/sendMessage?chat_id=<chat id>. Any other URL receives JSON (n8n, Make, Zapier). Messages are free, and a message that fails never fails the run. Only works with 'Get only new posts' on. Stored encrypted, never logged or written to the results."
          },
          "notifyFormat": {
            "title": "Message format",
            "enum": [
              "auto",
              "discord",
              "slack",
              "telegram",
              "json"
            ],
            "type": "string",
            "description": "Leave on \"Detect from the link\": discord.com links get Discord messages, hooks.slack.com Slack, api.telegram.org Telegram, anything else JSON. Pick one only to override that.",
            "default": "auto"
          },
          "maxNotificationsPerRun": {
            "title": "Most new-post messages per run",
            "type": "integer",
            "description": "Up to 100. Above this, one \"+N more\" message says how many more new posts are in the run's dataset, so a busy first run never floods the channel. 0 sends only that one summary message.",
            "default": 20
          },
          "testRun": {
            "title": "Try it first — only process the first 5",
            "type": "boolean",
            "description": "Turn this on to test your input on a small sample before running the full list. Turn it off to process everything.",
            "default": false
          },
          "onlyFound": {
            "title": "Hide rows with no result",
            "type": "boolean",
            "description": "Only keep rows where something was actually found. Misses are always free, whether or not you show them here.",
            "default": false
          },
          "includeKeywords": {
            "title": "Only keep rows containing",
            "type": "array",
            "description": "Optional. Only keep results that mention at least one of these words (e.g. a job title, a city, a product name). Leave empty to keep everything.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Skip rows containing",
            "type": "array",
            "description": "Optional. Drop any result that mentions one of these words. Leave empty to skip nothing.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Stop after this many results",
            "minimum": 1,
            "type": "integer",
            "description": "Optional. Stop the run once this many results have been found — useful for a quick, cheap sample. Leave blank for no limit."
          },
          "columns": {
            "title": "Which columns do you want?",
            "type": "array",
            "description": "Choose which pieces of information to include in each result row. All are included by default.",
            "items": {
              "type": "string",
              "enum": [
                "profileUrl",
                "publicId",
                "authorName",
                "postCount",
                "postsAvailable",
                "posts",
                "postUrl",
                "postId",
                "postedAt",
                "postedAtText",
                "text",
                "textTruncated",
                "reactionCount",
                "commentCount",
                "mediaType",
                "hasLink",
                "linkUrl",
                "isRepost",
                "originalAuthor"
              ],
              "enumTitles": [
                "Profile link",
                "Public profile ID",
                "Name",
                "Posts returned",
                "Posts the page carried",
                "All posts found (full list)",
                "Post link",
                "Post ID",
                "Posted at (exact)",
                "Posted (as LinkedIn shows it)",
                "Post text",
                "Text was cut at 1000 characters",
                "Reactions",
                "Comments",
                "Media",
                "Links out",
                "Links to",
                "Repost of someone else",
                "Originally posted by"
              ]
            },
            "default": [
              "profileUrl",
              "publicId",
              "authorName",
              "postCount",
              "postsAvailable",
              "posts",
              "postUrl",
              "postId",
              "postedAt",
              "postedAtText",
              "text",
              "textTruncated",
              "reactionCount",
              "commentCount",
              "mediaType",
              "hasLink",
              "linkUrl",
              "isRepost",
              "originalAuthor"
            ]
          },
          "expandRows": {
            "title": "One row per post (recommended) — turn off for one row per profile instead",
            "type": "boolean",
            "description": "When on, each post found gets its own row instead of being grouped under its profile. You're still only charged once per profile, no matter how many rows it produces.",
            "default": true
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Parallel requests. Keep conservative — this target has no browser fallback, so getting blocked costs more than slow-and-steady.",
            "default": 2
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy config. Residential recommended for anti-bot-sensitive targets.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}