{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Profile Posts Scraper & Content Monitor",
    "description": "Scrape recent LinkedIn posts from exact profile URLs with no-cookie public discovery, optional authenticated depth, keyword/date/content filters, engagement metrics, media links, deduplication, and resilient proxy retries. Built for content research, creator tracking, sales signals, and monitoring.",
    "version": "0.0",
    "x-build-id": "IpUmOpJ2l4ZZjdWkI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/generous_fog~linkedin-profile-posts-scraper-content-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-generous_fog-linkedin-profile-posts-scraper-content-monitor",
        "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/generous_fog~linkedin-profile-posts-scraper-content-monitor/runs": {
      "post": {
        "operationId": "runs-sync-generous_fog-linkedin-profile-posts-scraper-content-monitor",
        "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/generous_fog~linkedin-profile-posts-scraper-content-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-generous_fog-linkedin-profile-posts-scraper-content-monitor",
        "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 profile URLs",
            "type": "array",
            "description": "Exact public LinkedIn /in/ profile URLs. Duplicate and invalid URLs are removed automatically.",
            "items": {
              "type": "string"
            }
          },
          "maxProfiles": {
            "title": "Maximum profiles",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum unique valid profile URLs to process.",
            "default": 100
          },
          "maxPostsPerProfile": {
            "title": "Maximum posts per profile",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum successful post records returned for each profile after filters and deduplication.",
            "default": 10
          },
          "mode": {
            "title": "Collection mode",
            "enum": [
              "auto",
              "public",
              "authenticated"
            ],
            "type": "string",
            "description": "Auto uses an authorized session only when both secret values are supplied and safely falls back to public collection.",
            "default": "auto"
          },
          "liAt": {
            "title": "li_at session cookie",
            "type": "string",
            "description": "Optional secret from your own authorized LinkedIn session. Used only for authenticated collection."
          },
          "jsessionId": {
            "title": "JSESSIONID cookie",
            "type": "string",
            "description": "Optional CSRF session value from your own authorized LinkedIn session."
          },
          "dateFrom": {
            "title": "Published on or after",
            "pattern": "^$|^\\d{4}-\\d{2}-\\d{2}(?:T.*)?$",
            "type": "string",
            "description": "Optional ISO date or timestamp. Posts without a directly available publication date are excluded when a date filter is active."
          },
          "dateTo": {
            "title": "Published on or before",
            "pattern": "^$|^\\d{4}-\\d{2}-\\d{2}(?:T.*)?$",
            "type": "string",
            "description": "Optional ISO date or timestamp. Date-only values include the full UTC day."
          },
          "keywords": {
            "title": "Keyword filter",
            "type": "array",
            "description": "Optional case-insensitive keywords. A post is returned when its visible text or links match at least one keyword.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "contentTypes": {
            "title": "Content types",
            "type": "array",
            "description": "Optional values: all, post, article, video, image, document, poll, newsletter, repost, or unknown.",
            "default": [
              "all"
            ],
            "items": {
              "type": "string"
            }
          },
          "requestDelaySecs": {
            "title": "Delay between requests (seconds)",
            "minimum": 0.5,
            "maximum": 60,
            "type": "number",
            "description": "Base polite delay. A small random jitter and exponential retry backoff are added automatically.",
            "default": 2
          },
          "maxRetries": {
            "title": "Maximum retries",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Retries for transient network errors, rate limits, server errors, and LinkedIn 999 responses.",
            "default": 2
          },
          "maxTotalCharge": {
            "title": "Maximum total charge (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Optional local USD cap. No paid post event is emitted after this cap would be exceeded. Apify run limits remain authoritative."
          },
          "dryRun": {
            "title": "Dry run",
            "type": "boolean",
            "description": "Normalize and validate profile URLs, then emit planned records with no network requests or paid events.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify proxy. Residential proxy groups provide the best availability for compliant public collection and daily tests."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}