{
  "openapi": "3.0.1",
  "info": {
    "title": "Product Hunt Scraper — Launches, Comments & Leads",
    "description": "Scrape Product Hunt launches, full comments, makers, videos, built-with tools, momentum scores, websites, and lead signals via fast HTTP-only extraction.",
    "version": "0.0",
    "x-build-id": "jYoH6eH6pzESim5ec"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/philzx~ph-launch-intelligence/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-philzx-ph-launch-intelligence",
        "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/philzx~ph-launch-intelligence/runs": {
      "post": {
        "operationId": "runs-sync-philzx-ph-launch-intelligence",
        "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/philzx~ph-launch-intelligence/run-sync": {
      "post": {
        "operationId": "run-sync-philzx-ph-launch-intelligence",
        "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": {
          "startUrls": {
            "title": "Product Hunt URLs",
            "type": "array",
            "description": "Optional Product Hunt product or leaderboard URLs to scrape directly. Supports /products/{slug} and /leaderboard/{daily|weekly|monthly|yearly}/... URLs. When provided, these URLs override mode/date/category inputs.",
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "leaderboard",
              "feed",
              "both"
            ],
            "type": "string",
            "description": "leaderboard = fetch ranked products from leaderboard pages. feed = fetch from Atom feed by category. both = fetch from leaderboard then add feed categories. Ignored when startUrls is set.",
            "default": "leaderboard"
          },
          "leaderboardType": {
            "title": "Leaderboard type",
            "enum": [
              "daily",
              "weekly",
              "monthly",
              "yearly"
            ],
            "type": "string",
            "description": "Type of leaderboard to scrape. Only used when mode is leaderboard or both.",
            "default": "daily"
          },
          "date": {
            "title": "Date",
            "type": "string",
            "description": "Date for the leaderboard. Format: daily='2026/7/4', weekly='2026/27', monthly='2026/6', yearly='2026'. Leave empty for today (daily only).",
            "default": ""
          },
          "categories": {
            "title": "Categories (feed mode)",
            "type": "array",
            "description": "Product Hunt categories for feed mode. Examples: ai-software, tech, design-tools, developer-tools, marketing, productivity.",
            "items": {
              "type": "string"
            }
          },
          "maxEntries": {
            "title": "Max entries per category (feed)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum entries per category from Atom feed (max 50).",
            "default": 50
          },
          "enrichProducts": {
            "title": "Enrich product pages",
            "type": "boolean",
            "description": "Fetch each product page for full data: scores, followers, makers, reviews, ratings, pricing, screenshots, topics, and website.",
            "default": true
          },
          "maxProducts": {
            "title": "Max products to enrich",
            "minimum": 0,
            "type": "integer",
            "description": "Limit number of products to enrich (0 = all). Useful to control time/cost.",
            "default": 0
          },
          "includeComments": {
            "title": "Include comments text",
            "type": "boolean",
            "description": "Extract visible Product Hunt comments from Apollo SSR data when available. Some launch comments are loaded separately by Product Hunt and may not be SSR-visible.",
            "default": false
          },
          "maxCommentsPerProduct": {
            "title": "Max comments per product",
            "minimum": 0,
            "maximum": 200,
            "type": "integer",
            "description": "Maximum number of SSR-visible comments to return per product.",
            "default": 20
          },
          "includeBuiltWith": {
            "title": "Include Product Hunt Built With tools",
            "type": "boolean",
            "description": "Extract tools/products shown in Product Hunt Built With / launch shoutouts, e.g. GitHub, Figma, AWS.",
            "default": true
          },
          "includeMedia": {
            "title": "Include media and videos",
            "type": "boolean",
            "description": "Extract Product Hunt media gallery entries including images, videos, platforms, video IDs, and thumbnails.",
            "default": true
          },
          "includePromotedAds": {
            "title": "Include explicit promoted/ad signals",
            "type": "boolean",
            "description": "Extract explicit Product Hunt promoted ad blocks found on the page and mark the current product as promoted only if the ad slug matches.",
            "default": true
          },
          "enrichCommenters": {
            "title": "Enrich commenter profiles",
            "type": "boolean",
            "description": "Fetch profile pages for unique commenters to extract headline, bio, follower counts, and social links. Useful for lead generation from comment sections.",
            "default": false
          },
          "maxCommentersPerProduct": {
            "title": "Max commenters per product",
            "minimum": 0,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of commenter profiles to enrich per product (0 = all).",
            "default": 50
          },
          "includeMomentum": {
            "title": "Include momentum scores",
            "type": "boolean",
            "description": "Compute derived momentum signals: launch_age_hours, score_per_comment, score_per_hour, comment_rate, momentum_signal.",
            "default": true
          },
          "enrichMakers": {
            "title": "Enrich maker profiles",
            "type": "boolean",
            "description": "Fetch maker profile pages to extract headline, follower counts, review counts, product counts, Twitter handle, and external links.",
            "default": false
          },
          "maxMakersPerProduct": {
            "title": "Max makers per product",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum number of maker profiles to enrich per product (0 = all).",
            "default": 3
          },
          "featuredOnly": {
            "title": "Featured launches only",
            "type": "boolean",
            "description": "Keep only products with a featuredAt timestamp or leaderboard rank.",
            "default": false
          },
          "excludePromoted": {
            "title": "Exclude promoted products",
            "type": "boolean",
            "description": "Exclude products only when Product Hunt exposes an explicit promoted marker. Conservative: does not guess from hideVotesCount.",
            "default": false
          },
          "minScore": {
            "title": "Minimum score / votes proxy",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only products with latestScore >= this value. 0 disables the filter.",
            "default": 0
          },
          "minComments": {
            "title": "Minimum comments count",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only products with commentsCount >= this value. 0 disables the filter.",
            "default": 0
          },
          "includeLaunchHistory": {
            "title": "Include launch history",
            "type": "boolean",
            "description": "Fetch /products/{slug}/launches and extract best-effort historical launch records from Apollo SSR.",
            "default": false
          },
          "includeWebsiteText": {
            "title": "Include website raw text",
            "type": "boolean",
            "description": "Fetch each product website and add cleaned visible text as website_text. Useful for lead scoring and search.",
            "default": false
          },
          "maxWebsiteTextChars": {
            "title": "Max website text chars",
            "minimum": 0,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum characters to keep from the cleaned website text.",
            "default": 5000
          },
          "detectTechStack": {
            "title": "Detect website tech stack",
            "type": "boolean",
            "description": "Detect common website technologies from HTML and response headers: Next.js, Vercel, Webflow, Shopify, WordPress, Stripe, PostHog, GA, Cloudflare, etc.",
            "default": false
          },
          "extractEmails": {
            "title": "Extract emails from websites",
            "type": "boolean",
            "description": "Visit product websites and scan for email addresses.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}