{
  "description": "Collect Product Hunt launches, products, comments and reviews without a Product Hunt account or API token.",
  "properties": {
    "categorySlugs": {
      "default": [],
      "description": "Categories for mode=category, e.g. `ai-code-editors`, `productivity`, or a full `/categories/...` URL.",
      "editor": "stringList",
      "prefill": [],
      "title": "Category slugs or URLs",
      "type": "array"
    },
    "date": {
      "description": "Optional date for mode=leaderboard, in YYYY-MM-DD form. The daily period uses the exact day; weekly, monthly and yearly use that day's ISO week, month or year. Defaults to today.",
      "editor": "textfield",
      "title": "Leaderboard date",
      "type": "string"
    },
    "featuredOnly": {
      "default": false,
      "description": "Keep only launches that Product Hunt selected for the homepage.",
      "prefill": false,
      "title": "Featured launches only",
      "type": "boolean"
    },
    "from": {
      "description": "Optional first day for mode=dailyRange, in YYYY-MM-DD form. Defaults to the `to` date, or yesterday.",
      "editor": "textfield",
      "title": "From date",
      "type": "string"
    },
    "includeComments": {
      "default": false,
      "description": "Attach the discussion thread (comments and nested replies) to each launch. Adds one or more requests per launch.",
      "prefill": false,
      "title": "Include comments and replies",
      "type": "boolean"
    },
    "includeDetails": {
      "default": true,
      "description": "Fetch the full launch page for description, hunter, makers, media, website, pricing, ranks and review score. Turn off for a faster, lighter feed.",
      "prefill": true,
      "title": "Include launch and product details",
      "type": "boolean"
    },
    "includeHistory": {
      "default": false,
      "description": "Attach every earlier launch from the same product, newest first.",
      "prefill": false,
      "title": "Include launch history",
      "type": "boolean"
    },
    "includeReviews": {
      "default": false,
      "description": "Attach Product Hunt's detailed reviews, ratings, pros and cons to each launch. Adds one request per 10 reviews.",
      "prefill": false,
      "title": "Include product reviews",
      "type": "boolean"
    },
    "maxComments": {
      "default": 50,
      "description": "Used when `includeComments` is on. Comments are read 20 threads per page, including replies, and capped at this number.",
      "maximum": 500,
      "minimum": 1,
      "prefill": 20,
      "title": "Maximum comments per launch",
      "type": "integer"
    },
    "maxItems": {
      "default": 50,
      "description": "Stop after this many launch records. One record is one launch (comments and reviews stay attached to it).",
      "maximum": 1000,
      "minimum": 1,
      "prefill": 3,
      "title": "Maximum records",
      "type": "integer"
    },
    "maxPages": {
      "default": 10,
      "description": "Page cap per feed, topic, category, search query, product history, comment thread or review feed. A full Product Hunt day is about 40-60 pages of 20 launches.",
      "maximum": 60,
      "minimum": 1,
      "prefill": 1,
      "title": "Maximum pages per source",
      "type": "integer"
    },
    "maxReviews": {
      "default": 20,
      "description": "Used when `includeReviews` is on. Reviews are read 10 per page and capped at this number.",
      "maximum": 200,
      "minimum": 1,
      "prefill": 10,
      "title": "Maximum reviews per product",
      "type": "integer"
    },
    "mode": {
      "default": "latest",
      "description": "Pick the launch feed, a leaderboard period, a date range, a topic, a category, a keyword search, specific products, or specific launches.",
      "editor": "select",
      "enum": [
        "latest",
        "leaderboard",
        "dailyRange",
        "topic",
        "category",
        "search",
        "product",
        "launch"
      ],
      "enumTitles": [
        "Latest launches (today's full feed)",
        "Leaderboard (daily, weekly, monthly or yearly)",
        "Daily range (one or more days)",
        "Topic launches",
        "Category launches",
        "Keyword product search",
        "Specific products (latest launch)",
        "Specific launches"
      ],
      "prefill": "latest",
      "title": "What to scrape",
      "type": "string"
    },
    "period": {
      "default": "daily",
      "description": "Used when mode is `leaderboard`. Daily = one day, weekly = ISO week, monthly = calendar month, yearly = calendar year.",
      "editor": "select",
      "enum": [
        "daily",
        "weekly",
        "monthly",
        "yearly"
      ],
      "enumTitles": [
        "Daily",
        "Weekly",
        "Monthly",
        "Yearly"
      ],
      "prefill": "daily",
      "title": "Leaderboard period",
      "type": "string"
    },
    "postIds": {
      "default": [],
      "description": "Launches for mode=launch, e.g. `strawberry-1-0`, or full `https://www.producthunt.com/products/...?launch=...` URLs.",
      "editor": "stringList",
      "prefill": [],
      "title": "Launch slugs or URLs",
      "type": "array"
    },
    "productSlugs": {
      "default": [],
      "description": "Products for mode=product, e.g. `notion`, `figma`, or full `https://www.producthunt.com/products/...` URLs. Each product's latest launch is returned.",
      "editor": "stringList",
      "prefill": [],
      "title": "Product slugs or URLs",
      "type": "array"
    },
    "proxyConfiguration": {
      "default": {
        "useApifyProxy": false
      },
      "description": "Optional. The actor works without a proxy; add one only if Product Hunt blocks your network or you need a specific location.",
      "editor": "proxy",
      "prefill": {
        "useApifyProxy": true
      },
      "title": "Proxy configuration",
      "type": "object"
    },
    "searchQuery": {
      "description": "Keyword for mode=search, e.g. `notion`, `ai browser`, `invoice`. Product Hunt searches products, then the actor resolves each product's latest launch.",
      "editor": "textfield",
      "title": "Search query",
      "type": "string"
    },
    "to": {
      "description": "Optional last day for mode=dailyRange, in YYYY-MM-DD form. Defaults to the `from` date, or yesterday.",
      "editor": "textfield",
      "title": "To date",
      "type": "string"
    },
    "topicSlugs": {
      "default": [],
      "description": "Topics for mode=topic, e.g. `artificial-intelligence`, `developer-tools`, or a full `/topics/...` URL.",
      "editor": "stringList",
      "prefill": [],
      "title": "Topic slugs or URLs",
      "type": "array"
    }
  },
  "required": [
    "mode"
  ],
  "schemaVersion": 1,
  "title": "Product Hunt Scraper Input",
  "type": "object"
}
