{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Top Content Scraper (No Cookies or Login Required)",
    "description": "Select LinkedIn Top Content categories or trending topics from a built-in picker and scrape ranked public posts with authors, dates, media, and engagement. Sort by LinkedIn rank, date, reactions, comments, or total engagement. No login or proxy setup. ($0.50 USD per 1,000 results)",
    "version": "0.1",
    "x-build-id": "3vc3jTovbpcJCdByO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/curly~linkedin-top-content-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-curly-linkedin-top-content-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/curly~linkedin-top-content-scraper/runs": {
      "post": {
        "operationId": "runs-sync-curly-linkedin-top-content-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/curly~linkedin-top-content-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-curly-linkedin-top-content-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": {
          "topics": {
            "title": "Topics and trending subjects",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Select one or more LinkedIn categories, editor picks, or current trending subjects. No LinkedIn URL is required.",
            "items": {
              "type": "string",
              "enum": [
                "training-development/mindset-development-tips/tips-for-managing-stressors-with-mental-toughness",
                "communication/managing-challenging-conversations/how-to-navigate-difficult-conversations-for-personal-growth",
                "innovation/ai-trends-and-innovations/top-emerging-ai-use-cases-and-their-capabilities",
                "employee-experience/mental-health-in-workplaces/how-leaders-foster-psychological-safety",
                "career/building-professional-credibility/tips-for-curating-a-professional-network",
                "career/career-path-development/tips-for-strategic-career-planning",
                "career/mentorship-coaching/how-to-find-the-right-mentor-for-your-career",
                "career/resume-tips/tips-for-optimizing-your-linkedin-profile",
                "leadership/strategic-decision-making/how-to-set-priorities-as-a-leader",
                "career",
                "training-development",
                "innovation",
                "leadership",
                "communication",
                "productivity",
                "business-strategy",
                "marketing",
                "technology",
                "finance",
                "sales",
                "corporate-social-responsibility",
                "recruitment-hr",
                "artificial-intelligence",
                "workplace-trends",
                "customer-experience",
                "organizational-culture",
                "engineering",
                "science",
                "supply-chain-management",
                "change-management",
                "economics",
                "hospitality-tourism",
                "writing",
                "consulting",
                "employee-experience",
                "networking",
                "education",
                "ecommerce",
                "user-experience",
                "soft-skills-emotional-intelligence",
                "design",
                "real-estate",
                "retail-merchandising",
                "project-management",
                "negotiation",
                "future-of-work",
                "fundraising",
                "healthcare",
                "event-planning",
                "career/career-advancement-tips",
                "training-development/mindset-development-tips",
                "innovation/ai-trends-and-innovations",
                "leadership/balancing-leadership-responsibilities",
                "communication/promoting-open-communication",
                "leadership/team-performance-and-morale",
                "career/networking-for-professionals",
                "productivity/workday-management-tips",
                "marketing/social-media-engagement-tactics",
                "marketing/personalization-in-marketing",
                "marketing/content-quality-enhancement"
              ],
              "enumTitles": [
                "Trending: Managing stressors with mental toughness",
                "Trending: Difficult conversations for personal growth",
                "Trending: Emerging AI use cases",
                "Trending: Psychological safety",
                "Trending: Curating a professional network",
                "Trending: Strategic career planning",
                "Trending: Finding the right mentor",
                "Trending: Optimizing your LinkedIn profile",
                "Trending: Setting priorities as a leader",
                "Career",
                "Training & Development",
                "Innovation",
                "Leadership",
                "Communication",
                "Productivity",
                "Business Strategy",
                "Marketing",
                "Technology",
                "Finance",
                "Sales",
                "Corporate Social Responsibility",
                "Recruitment & HR",
                "Artificial Intelligence",
                "Workplace Trends",
                "Customer Experience",
                "Organizational Culture",
                "Engineering",
                "Science",
                "Supply Chain Management",
                "Change Management",
                "Economics",
                "Hospitality & Tourism",
                "Writing",
                "Consulting",
                "Employee Experience",
                "Networking",
                "Education",
                "E-commerce",
                "User Experience",
                "Soft Skills & Emotional Intelligence",
                "Design",
                "Real Estate",
                "Retail & Merchandising",
                "Project Management",
                "Negotiation",
                "Future of Work",
                "Fundraising",
                "Healthcare",
                "Event Planning",
                "Career Advancement Tips",
                "Mindset Development Tips",
                "AI Trends and Innovations",
                "Balancing Leadership Responsibilities",
                "Promoting Open Communication",
                "Team Performance and Morale",
                "Networking for Professionals",
                "Workday Management Tips",
                "Social Media Engagement Tactics",
                "Personalization in Marketing",
                "Content Quality Enhancement"
              ]
            },
            "default": []
          },
          "maxResultsPerTopic": {
            "title": "Maximum posts per topic",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Set the maximum number of public posts returned separately from each selected topic.",
            "default": 10
          },
          "sortBy": {
            "title": "Sort posts",
            "enum": [
              "linkedin_rank",
              "newest",
              "most_engagement",
              "most_reactions",
              "most_comments"
            ],
            "type": "string",
            "description": "LinkedIn ranking uses the page's native order. Date and engagement options are calculated by the scraper from the public posts; the original rank is always kept in topic_rank.",
            "default": "linkedin_rank"
          },
          "topicUrls": {
            "title": "Topic URLs or paths",
            "maxItems": 100,
            "type": "array",
            "description": "Advanced fallback for a topic not yet listed in the picker. Paste complete LinkedIn Top Content URLs or topic paths. Leave the topic picker empty; the two modes cannot be combined.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 2000
            },
            "default": []
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}