{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Company Posts Monitor",
    "description": "LinkedIn company posts scraper with no login: the newest 70 posts of any company by URL, name or ID, with full text, exact time, reactions, comments count, images, videos, documents, reposts and the first comments. Monitor mode returns only new posts on each scheduled run.",
    "version": "0.1",
    "x-build-id": "Xfj22l2C0IMhOSANJ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/deepmine~linkedin-company-posts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-deepmine-linkedin-company-posts",
        "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/deepmine~linkedin-company-posts/runs": {
      "post": {
        "operationId": "runs-sync-deepmine-linkedin-company-posts",
        "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/deepmine~linkedin-company-posts/run-sync": {
      "post": {
        "operationId": "run-sync-deepmine-linkedin-company-posts",
        "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": {
          "companies": {
            "title": "🏢 Companies (URLs, names or IDs)",
            "type": "array",
            "description": "One per line: a LinkedIn company page URL (any country site, showcase pages, /posts/ links too), a page name like <code>stripe</code>, a numeric company ID, or a company name like <code>Notion</code>. Pages that don't exist are free.",
            "items": {
              "type": "string"
            }
          },
          "maxPostsPerCompany": {
            "title": "💯 Posts per company",
            "minimum": 1,
            "maximum": 70,
            "type": "integer",
            "description": "The newest posts to collect and pay for per company, newest first. LinkedIn shows up to 70 without login (about a year back for companies that post less).",
            "default": 70
          },
          "onlyNewPosts": {
            "title": "🔔 Only new posts (monitor)",
            "type": "boolean",
            "description": "Collect only posts that earlier runs with this option on haven't delivered. Schedule the run (daily, hourly) to get each company's new posts as they appear. The first run delivers the newest posts as usual and remembers them. Posts left out this way are free.",
            "default": false
          },
          "includeComments": {
            "title": "💬 Include comments",
            "type": "boolean",
            "description": "Adds the comments LinkedIn shows on each post's public page (about 10 per post: name, profile link, text, time, likes) in topComments. No extra charge; one more page per post, so the run takes longer.",
            "default": false
          },
          "includeEngagement": {
            "title": "📣 Include reposts & reactions by kind",
            "type": "boolean",
            "description": "Adds each post's repost count (reposts) and its reactions by kind (reactionsByType: like, celebrate, support, love, insightful, funny), as LinkedIn counts them. No extra charge; one small extra request per post, so the run takes a little longer.",
            "default": false
          },
          "postedLimit": {
            "title": "📅 Posted within",
            "enum": [
              "any",
              "1h",
              "24h",
              "week",
              "month",
              "3months",
              "6months",
              "year"
            ],
            "type": "string",
            "description": "Keep only posts that appeared in the company's feed this recently (a repost counts from when the company reposted it). Older posts aren't read or charged.",
            "default": "any"
          },
          "postedAfter": {
            "title": "🗓️ Posted after",
            "type": "string",
            "description": "Keep only posts from this date on, e.g. <code>2026-09-01</code> (or a relative <code>14 days</code>). Empty = no date limit."
          },
          "includeReposts": {
            "title": "🔁 Include reposts",
            "type": "boolean",
            "description": "Plain reposts: someone else's post the company shared without adding text (\"Stripe reposted this\").",
            "default": true
          },
          "includeQuotePosts": {
            "title": "💭 Include quote posts",
            "type": "boolean",
            "description": "The company's own text over someone else's post (the shared post comes in the reshared* fields).",
            "default": true
          },
          "maxResultsPerName": {
            "title": "🔤 Companies per name",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "For lines that are company names: how many matching companies to collect posts for, best match first. 1 = just the best match.",
            "default": 1
          },
          "monitorName": {
            "title": "🏷️ Monitor name",
            "type": "string",
            "description": "With Only new posts on: runs with the same name share what they've seen. Give separate schedules separate names to track them apart. Empty = default."
          },
          "maxPosts": {
            "title": "🛑 Max posts in total",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after this many posts in total. Empty = no limit (your max cost per run still applies)."
          },
          "proxyConfiguration": {
            "title": "🌐 Proxy",
            "type": "object",
            "description": "Leave as is: Apify datacenter proxy works for LinkedIn's public company pages. Residential isn't used (a residential pick runs on datacenter, at no extra cost).",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}