{
  "openapi": "3.0.1",
  "info": {
    "title": "Product Hunt Scraper — Launches, Makers, Leads & Monitor",
    "description": "🔥 Up to 20% OFF! Scrape Product Hunt — launches, taglines, votes, makers and websites, with lead emails and new-launch monitoring. Browser-based with embedded-data parsing. Perfect for startup research, lead gen and trend tracking. ⚡",
    "version": "0.0",
    "x-build-id": "tW1KKKXN2zbhZktm1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/bgfc97~product-hunt-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-bgfc97-product-hunt-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/bgfc97~product-hunt-scraper/runs": {
      "post": {
        "operationId": "runs-sync-bgfc97-product-hunt-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/bgfc97~product-hunt-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-bgfc97-product-hunt-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": "Mode",
            "enum": [
              "leaderboard",
              "product",
              "search",
              "collections"
            ],
            "type": "string",
            "description": "What to scrape. 'leaderboard' = the day's/week's/month's or a topic's ranked launches (makers = leads). 'product' = deep details for specific products by slug. 'search' = products matching search terms. 'collections' = a Product Hunt collection and the products inside it.",
            "default": "leaderboard"
          },
          "leaderboardPeriod": {
            "title": "Leaderboard period",
            "enum": [
              "daily",
              "weekly",
              "monthly"
            ],
            "type": "string",
            "description": "Leaderboard mode only (ignored when topics are set). Daily, weekly or monthly leaderboard. Combine with 'date' to pick which day/week/month.",
            "default": "daily"
          },
          "date": {
            "title": "Leaderboard date (YYYY-MM-DD)",
            "type": "string",
            "description": "Leaderboard mode only. A single day/week/month to pull, e.g. 2026-11-20. For weekly the ISO week of that date is used; for monthly the month is used. Leave empty for the latest. Ignored when a date range (below) is set."
          },
          "dateFrom": {
            "title": "History: date from (YYYY-MM-DD)",
            "type": "string",
            "description": "Leaderboard mode only (no topics). Start of a historical range. With 'date to', the Actor crawls EVERY leaderboard of the chosen period (daily/weekly/monthly) between the two dates — e.g. 90 days of daily winners in one run. Each product is tagged with its leaderboardDate. Capped at 180 periods per run."
          },
          "dateTo": {
            "title": "History: date to (YYYY-MM-DD)",
            "type": "string",
            "description": "Leaderboard mode only. End of the historical range (inclusive). Requires 'date from'."
          },
          "topics": {
            "title": "Topics / categories",
            "type": "array",
            "description": "Leaderboard mode only. Optional Product Hunt topic slugs (e.g. artificial-intelligence, developer-tools, saas, productivity). Each topic page is scraped. Leave empty for the overall leaderboard.",
            "items": {
              "type": "string"
            }
          },
          "slugs": {
            "title": "Product slugs",
            "type": "array",
            "description": "Product mode only. One or more product slugs or full product URLs, e.g. 'gitroots' or 'https://www.producthunt.com/products/gitroots'.",
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Search mode only. One or more search terms, e.g. 'ai agents', 'invoicing'. Returns the products Product Hunt server-renders for each query.",
            "items": {
              "type": "string"
            }
          },
          "collections": {
            "title": "Collections",
            "type": "array",
            "description": "Collections mode only. Full collection URLs (e.g. https://www.producthunt.com/@user/collections/best-ai-tools) or '@user/collections/slug'. Returns the collection's metadata plus the products inside it.",
            "items": {
              "type": "string"
            }
          },
          "includeComments": {
            "title": "Include comments",
            "type": "boolean",
            "description": "Also return each product's top comments and the people who wrote them (great for finding engaged users / warm leads). Most reliable in 'product' mode. Only comments present in the page's data are returned.",
            "default": false
          },
          "maxCommentsPerProduct": {
            "title": "Max comments per product",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "When 'Include comments' is on, cap the number of comments returned per product (top-voted first).",
            "default": 20
          },
          "includeSentiment": {
            "title": "Comment sentiment + signals",
            "type": "boolean",
            "description": "When comments are included, add a 'commentSentiment' summary per product (local lexicon heuristic — positive/negative/neutral counts, average score, maker replies in sample, open questions). No external API. Clearly labelled as a heuristic.",
            "default": true
          },
          "enrichContacts": {
            "title": "Enrich maker contacts (find emails)",
            "type": "boolean",
            "description": "Lead-gen booster: follow each maker's / hunter's OWN website and pull the public email, social profiles (LinkedIn, Twitter/X, GitHub, Instagram…) and phone they publish there. Turns a name into a reachable contact. Best-effort, bounded, and only public data the site itself shows. Adds time + bandwidth.",
            "default": false
          },
          "maxEnrich": {
            "title": "Max domains to enrich",
            "minimum": 0,
            "maximum": 300,
            "type": "integer",
            "description": "When contact enrichment is on, cap how many distinct maker/company domains are probed per run (de-duplicated by domain).",
            "default": 40
          },
          "emitLeads": {
            "title": "Also emit a de-duplicated people list",
            "type": "boolean",
            "description": "In addition to product rows, emit one 'recordType:\"lead\"' row per unique person (makers + hunters, optionally commenters) — an outreach-ready contact list with their socials, enriched email (if enabled) and which products/roles they're tied to. Each lead is mail-merge-ready: a cleaned display name, a safe 'greetingName' first name (for 'Hi {greetingName}'), bare social handles, email/website domains, a tracking-stripped website and the single best outreach channel ('primaryChannel'/'bestContact').",
            "default": false
          },
          "includeCommentersAsLeads": {
            "title": "Include commenters as leads",
            "type": "boolean",
            "description": "When emitting the people list, also include the users who commented on the scraped launches (engaged community = warm leads).",
            "default": false
          },
          "emitSummary": {
            "title": "Emit a run summary row",
            "type": "boolean",
            "description": "Append one 'recordType:\"summary\"' row with run-level analytics: products returned, unique makers, emails found, top topics, pricing breakdown, average/median votes, launch-day breakdown and the top products by votes.",
            "default": true
          },
          "maxItems": {
            "title": "Max products",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of products to return across the whole run (1-1000).",
            "default": 50
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy used by the browser to reach Product Hunt and clear its Cloudflare challenge. RESIDENTIAL is strongly recommended (datacenter IPs are usually blocked). The user who runs the Actor pays for proxy and compute.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          },
          "blockResources": {
            "title": "Block images/media (save proxy data)",
            "type": "boolean",
            "description": "Abort image, media and font downloads in the browser to cut residential-proxy bandwidth and speed up runs. Scripts and API calls still load, so the Cloudflare challenge is cleared and the data is read normally. Turn off only if a page misbehaves.",
            "default": true
          },
          "userAgent": {
            "title": "User-Agent (optional)",
            "type": "string",
            "description": "Custom User-Agent for the browser. Leave empty to let Crawlee generate a realistic fingerprint (recommended for clearing anti-bot challenges)."
          },
          "trackChanges": {
            "title": "Track changes between runs (cross-run monitor)",
            "type": "boolean",
            "description": "Turn the run into a MONITOR. Each launch's snapshot is saved to a named key-value store that survives between runs, so the next run with the same monitorKey diffs today's Product Hunt against the last look: what launched NEW, vote gains + vote VELOCITY (votes/hour), rank moves (climbed/fell, entered/left the top N, reached #1), comment/review deltas, new makers, and — on a full-coverage run — launches that left the list. It also keeps a bounded rolling history per launch (see 'History points') and derives a MOMENTUM CURVE: the velocity curve across every window, whether momentum is accelerating / steady / decelerating / cooled, the peak velocity and whether the launch is past it, and an honest projection — all from real measured points. Adds a few monitor columns per product (incl. 'momentum') and one free 'monitor_summary' row. Off = identical to today, zero monitor columns. Run on a schedule with the same monitorKey + same search.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor key",
            "type": "string",
            "description": "A stable name tying successive monitoring runs together (e.g. 'daily-ai-watch'). Use the SAME key + same mode/search on each run so diffs compare like with like. Only used when 'Track changes' is on; blank falls back to 'default'. Use one key per saved search — different keys keep independent histories."
          },
          "monitorTopN": {
            "title": "Top-N band for rank alerts",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "When tracking changes, the ranking band used for 'entered the top N' / 'fell out of the top N' alerts (e.g. 10 = top 10). Only used when 'Track changes' is on.",
            "default": 10
          },
          "monitorHistoryPoints": {
            "title": "History points per launch (momentum curve)",
            "minimum": 2,
            "maximum": 50,
            "type": "integer",
            "description": "When tracking changes, how many recent captures to keep per launch for the MOMENTUM CURVE. The last N points { time, votes, comments, rank } are stored in the named store (bounded per launch), so the Actor can read the vote-velocity curve across windows and tell an accelerating launch from one that exploded and cooled. More points = a richer curve but a bigger store record; 2 keeps only the plain two-point velocity (no trend). Trend/acceleration need at least 3 captures (so they appear from the monitor's 3rd run on). Only used when 'Track changes' is on.",
            "default": 10
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}