{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Posts Search Scraper (No Login) - $1.50 per 1,000",
    "description": "Search public LinkedIn posts by keyword, company or author with no login or cookies. Get text, likes, comments, reposts, media, hashtags, author and top comments. Filter by date and content type. Paste post URLs too. $1.50 per 1,000 posts.",
    "version": "0.1",
    "x-build-id": "SsXkVX9uffEsXj46l"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/transparent_meteorite~linkedin-posts-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-transparent_meteorite-linkedin-posts-search",
        "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/transparent_meteorite~linkedin-posts-search/runs": {
      "post": {
        "operationId": "runs-sync-transparent_meteorite-linkedin-posts-search",
        "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/transparent_meteorite~linkedin-posts-search/run-sync": {
      "post": {
        "operationId": "run-sync-transparent_meteorite-linkedin-posts-search",
        "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": {
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Find public LinkedIn posts that mention these words (one search per line). Use quotes for exact phrases, e.g. \"series A\" fintech. Found through Google's index of public LinkedIn posts, so very new posts can take a day or two to appear.",
            "items": {
              "type": "string"
            }
          },
          "postedLimit": {
            "title": "Posted within",
            "enum": [
              "any",
              "24h",
              "week",
              "month",
              "year"
            ],
            "type": "string",
            "description": "Only return posts published in this window. Applies to keyword and author searches and is double-checked against each post's real publish date.",
            "default": "any"
          },
          "maxPosts": {
            "title": "Max posts per search / author",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Stop each keyword, company or author after this many posts.",
            "default": 20
          },
          "authorUrls": {
            "title": "Company or author URLs",
            "type": "array",
            "description": "Posts from these LinkedIn pages. Company, showcase or school pages (linkedin.com/company/microsoft) return their latest public posts; person profiles (linkedin.com/in/satyanadella) are searched through Google. Company slugs like microsoft work too.",
            "items": {
              "type": "string"
            }
          },
          "authorKeywords": {
            "title": "Only author posts that mention",
            "type": "string",
            "description": "Optional. With company or author URLs, keep only posts containing this word or phrase."
          },
          "postUrls": {
            "title": "Post URLs",
            "type": "array",
            "description": "Paste LinkedIn post links (linkedin.com/posts/..., /feed/update/urn:li:activity:...) to get full details, reactions and comments for each.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Start URLs (Apify format)",
            "type": "array",
            "description": "Same as Post URLs, in the {\"url\": ...} format other LinkedIn actors use, so you can switch without changing your integration. Company and /in/ URLs are treated as authors.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "contentType": {
            "title": "Content type",
            "enum": [
              "any",
              "text",
              "image",
              "video",
              "document",
              "article",
              "reshare"
            ],
            "type": "string",
            "description": "Keep only posts of this type. Filtered posts are not charged.",
            "default": "any"
          },
          "minLikes": {
            "title": "Minimum reactions",
            "minimum": 0,
            "type": "integer",
            "description": "Skip posts with fewer reactions (likes, celebrates, etc.). Skipped posts are not charged.",
            "default": 0
          },
          "includeReshares": {
            "title": "Include reshares",
            "type": "boolean",
            "description": "Turn off to drop posts that only reshare someone else's post.",
            "default": true
          },
          "scrapeComments": {
            "title": "Include top comments",
            "type": "boolean",
            "description": "Add the public comments shown on the post page (author, text, reactions) at no extra cost.",
            "default": true
          },
          "maxComments": {
            "title": "Max comments per post",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "LinkedIn shows up to about 10 comments to logged-out visitors.",
            "default": 10
          },
          "maxPostsTotal": {
            "title": "Max posts in total",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard stop for the whole run, across all searches and URLs.",
            "default": 1000
          },
          "maxConcurrency": {
            "title": "Parallel requests",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Post pages read at the same time (each on its own proxy session). Lower it if you see sign-in walls.",
            "default": 25
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (datacenter) is enough for public post pages. Switch to RESIDENTIAL only if a run reports sign-in walls. Keyword search always uses Apify's Google SERP proxy.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}