{
  "openapi": "3.0.1",
  "info": {
    "title": "🔍 LinkedIn Posts Scraper - Keyword & Hashtag [NO COOKIES] ✅",
    "description": "Search LinkedIn's public post graph by keyword, hashtag, or author. Extract content, engagement metrics, reaction breakdowns, author profile data, and timestamps. No login, no cookies. Built for social listening, B2B competitive intelligence, and thought-leader research.",
    "version": "0.0",
    "x-build-id": "SLOyvEQOy9aFFs6UR"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/unseenuser~LinkedIn-Post-Seach-Scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-unseenuser-LinkedIn-Post-Seach-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/unseenuser~LinkedIn-Post-Seach-Scraper/runs": {
      "post": {
        "operationId": "runs-sync-unseenuser-LinkedIn-Post-Seach-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/unseenuser~LinkedIn-Post-Seach-Scraper/run-sync": {
      "post": {
        "operationId": "run-sync-unseenuser-LinkedIn-Post-Seach-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What do you want to do?",
            "enum": [
              "search",
              "get_details",
              "search_and_enrich"
            ],
            "type": "string",
            "description": "Pick 'Search posts' if you want to find posts. Pick 'Get details' if you already have post URLs and want their full data.",
            "default": "search"
          },
          "searchKeywords": {
            "title": "Keyword or hashtag",
            "type": "string",
            "description": "What to search for. Examples: 'AI safety', 'remote work', '#GenAI'. You can leave this blank if you only want to filter by author / company / mentions further down."
          },
          "maxResults": {
            "title": "How many posts to return",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Hard cap. Each post costs $0.001 (search) or $0.005 (with full details).",
            "default": 100
          },
          "datePosted": {
            "title": "Posted within",
            "enum": [
              "any",
              "1h",
              "24h",
              "week",
              "month",
              "3months",
              "6months",
              "year"
            ],
            "type": "string",
            "description": "Only return posts from this time window.",
            "default": "any"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "date"
            ],
            "type": "string",
            "description": "Choose 'Relevance' for the best keyword matches, or 'Date' for the newest posts first.",
            "default": "relevance"
          },
          "contentType": {
            "title": "Content type",
            "enum": [
              "videos",
              "images",
              "live_videos",
              "documents",
              "collaborative_articles",
              "jobs"
            ],
            "type": "string",
            "description": "Limit to one kind of post. Leave blank to allow all."
          },
          "authorsCompany": {
            "title": "Posts by employees of these companies",
            "type": "array",
            "description": "Most popular advanced filter. Paste LinkedIn company URLs (e.g. https://www.linkedin.com/company/stripe). One per line. URLs or company IDs both work.",
            "items": {
              "type": "string"
            }
          },
          "authorProfiles": {
            "title": "Posts by these specific people",
            "type": "array",
            "description": "Paste LinkedIn profile URLs (e.g. https://www.linkedin.com/in/satyanadella) or profile IDs. One per line.",
            "items": {
              "type": "string"
            }
          },
          "companies": {
            "title": "Posts from these company pages",
            "type": "array",
            "description": "Posts published BY these company pages (not by their employees). Paste company URLs or IDs.",
            "items": {
              "type": "string"
            }
          },
          "authorKeywords": {
            "title": "Author's profile must contain these words",
            "type": "string",
            "description": "Match only authors whose LinkedIn profile contains these words. Examples: 'VP Engineering', 'CFO', 'recruiter'."
          },
          "authorsIndustryIds": {
            "title": "Authors in these industries (advanced)",
            "type": "array",
            "description": "LinkedIn industry IDs of the author's company (e.g. 4 = Software). Find IDs at https://docs.harvest-api.com/linkedin-api-reference/utility/get-industries.",
            "items": {
              "type": "string"
            }
          },
          "group": {
            "title": "Inside a LinkedIn group (advanced)",
            "type": "string",
            "description": "Restrict to one LinkedIn group. Paste the group URL or its ID."
          },
          "mentioningCompanies": {
            "title": "Posts that mention these companies",
            "type": "array",
            "description": "The brand-monitoring filter. Paste LinkedIn company URLs or IDs - any post tagging or @-mentioning them is returned.",
            "items": {
              "type": "string"
            }
          },
          "mentioningMembers": {
            "title": "Posts that @mention these people",
            "type": "array",
            "description": "Paste LinkedIn profile URLs or IDs.",
            "items": {
              "type": "string"
            }
          },
          "postUrls": {
            "title": "Post URLs to fetch",
            "type": "array",
            "description": "Paste full LinkedIn post URLs, one per line. Example: https://www.linkedin.com/posts/example-activity-1234567890",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}