{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Post Search Scraper — Keywords, No Cookies",
    "description": "Search LinkedIn posts by keyword, from $0.90 per 1,000 posts, no cookies, no login. Each post as a row: text, real publish timestamp, author and headline, likes, comments, shares, reactions, media. Filter by newest or top, last 24h/week/month, content type, author. New posts only on a schedule.",
    "version": "1.0",
    "x-build-id": "WgI2pnz1UiGPrfitK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyfetch~linkedin-post-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyfetch-linkedin-post-search-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/steadyfetch~linkedin-post-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-steadyfetch-linkedin-post-search-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/steadyfetch~linkedin-post-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-steadyfetch-linkedin-post-search-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": {
          "keywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "One search per line, typed the way LinkedIn's search box reads it: plain words (web scraping), an exact phrase in quotes (\"AI agents\"), or LinkedIn's own AND / OR / NOT. The same search twice in one run is searched once. A link is refused on its own uncharged row with a pointer to the actor that reads it. Also answers to `searchQueries`, `queries`, `searchTerms`, `query` and `search`. Leave it empty and click Start for a small live sample that charges nothing.",
            "items": {
              "type": "string"
            }
          },
          "maxPosts": {
            "title": "Max posts per keyword",
            "type": "integer",
            "description": "Hard cap on the posts delivered for EACH keyword — three keywords at 50 collect up to 150 in total. Any number from 1 to 500 is used exactly as typed, and only delivered posts are charged (plus one keyword check per keyword searched); a number above 500 is moved to 500 and one uncharged row says so. A search that runs short leaves an uncharged row saying so. Also answers to `postsPerKeyword`, `resultsLimit`, `limit`, `count` and `maxResults`; the smallest limit present binds.",
            "default": 50
          },
          "sortBy": {
            "title": "Sort by",
            "type": "string",
            "description": "\"date\" (default): newest first — the order that makes a scheduled run return only what is new. \"relevance\": LinkedIn's own best matches first; a repeat run then cannot stop at the posts you already have, so it reads every page it needs. A newest-first search that comes back empty with \"Posted in the last\" left empty or set to month is searched again over the last week; when that finds posts, they are delivered newest first and the run says so (not when \"Posted before\" is a week or more back).",
            "default": "date"
          },
          "postedLimit": {
            "title": "Posted in the last",
            "type": "string",
            "description": "Only posts LinkedIn dates inside this window: \"24h\", \"week\" or \"month\". Leave it empty for any time. Sorted newest first, a search that comes back empty with this left empty or set to month is searched again over the last week; when that finds posts, they are delivered and the run says so (not when \"Posted before\" is a week or more back). For an exact date range use \"Posted after\" and \"Posted before\" below."
          },
          "contentType": {
            "title": "Content type",
            "type": "string",
            "description": "Only posts of one kind: \"videos\", \"images\", \"live_videos\", \"documents\", \"collaborative_articles\" or \"jobs\". Leave it empty for every kind."
          },
          "authorKeywords": {
            "title": "Author keywords",
            "type": "string",
            "description": "Only posts whose AUTHOR's profile matches these words — for example \"founder\", \"recruiter\" or \"head of growth\". At most 200 characters."
          },
          "authorsCompany": {
            "title": "Authors' companies",
            "type": "array",
            "description": "Only posts by people who work at these companies: LinkedIn company links (https://www.linkedin.com/company/apify) or numeric company ids, one per line, at most 10.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max posts for the whole run",
            "type": "integer",
            "description": "Hard ceiling across every keyword in the run, whatever the per-keyword limit says — between 1 and 100,000, and a number outside that is moved to the nearest end on an uncharged row instead of the run being refused. Leave it empty for 1,000. The smallest limit present binds, and one uncharged note row says which name was read and what it was read as.",
            "default": 1000
          },
          "postedAfter": {
            "title": "Posted after",
            "type": "string",
            "description": "Keep only posts published on or after this moment: a date (2026-08-01, 1 Aug 2026, or 01.08.2026 day first) or a span counted back from now (24h, 7 days, 2 weeks, 3 months, 1 year, 7d, last month, today, yesterday). Sorted by date, LinkedIn lists a search newest first, so the read stops once a page is mostly older than this — a narrow window costs less, not more."
          },
          "postedBefore": {
            "title": "Posted before",
            "type": "string",
            "description": "Keep only posts published before this moment: a date (2026-09-01, 1 Sep 2026, or 01.09.2026 day first) or a span counted back from now (24h, 7 days, 2 weeks, 3 months, 1 year, 7d, last month, today, yesterday), the same forms as \"Posted after\". Pair it with \"Posted after\" for a closed window. A post outside the window is dropped before it takes a slot, so it is never delivered and never charged."
          },
          "includeReposts": {
            "title": "Include reposts",
            "type": "boolean",
            "description": "ON (default): a repost that matches the search is delivered as a row marked `isRepost: true`, with the original post underneath it in the `repostOf…` columns: its id, link, publish time, text and author, and the images, video, document, article, newsletter and links it carries. OFF: reposts are dropped before they take a slot.",
            "default": true
          },
          "maxRunSeconds": {
            "title": "Max run seconds",
            "type": "integer",
            "description": "The run stops cleanly before this many seconds and reports what is left, instead of being killed by a timeout — between 30 and 7,200, and a number outside that is moved to the nearest end on an uncharged row. A time limit ends the collecting, never the delivering: posts already in hand are always written out.",
            "default": 1800
          },
          "includeSeen": {
            "title": "Include posts you already have",
            "type": "boolean",
            "description": "OFF (default): a post already delivered to your account is skipped and not charged. Sorted by date, the search stops at those posts, so you get what is new since your last run, closed by one uncharged `skipped.all_repeat` row. A keyword with nothing new is not searched again for up to 24 hours with the same dates, filters and setting (a row says when). ON: they come back marked `repeat: true`, never charged, and older pages are read. Posts you bought over 90 days ago count as new again.",
            "default": false
          },
          "resumeFromDatasetId": {
            "title": "Skip posts in this dataset",
            "type": "string",
            "description": "The dataset ID of a previous run of this actor. Posts already in it are treated as posts you already have and are skipped, so a follow-up run collects only what is new even from a different Apify account. Selecting it here is what grants this run permission to read it."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}