{
  "openapi": "3.0.1",
  "info": {
    "title": "Product Hunt Scraper - Leaderboards, Topics, Categories & Apps",
    "description": "Scrape Product Hunt launches: daily, weekly, monthly and yearly leaderboards for any date range, filtered by topic; products in any topic or category; or specific products by URL. Rank, votes, comments, website, topics, reviews and social links. No login or API key.",
    "version": "1.1",
    "x-build-id": "UvSZ8uBMy6SyEPbGl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cazadores~product-hunt-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cazadores-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/cazadores~product-hunt-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cazadores-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/cazadores~product-hunt-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cazadores-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",
        "properties": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "leaderboard",
              "topic",
              "category",
              "products"
            ],
            "type": "string",
            "description": "'leaderboard' = launches ranked by day, week, month or year (uses the leaderboard and date fields). 'topic' = products in Product Hunt topics (uses 'topics'). 'category' = products in Product Hunt categories (uses 'categories'). 'products' = specific products or launches by URL (uses 'productUrls').",
            "default": "leaderboard"
          },
          "leaderboard": {
            "title": "Leaderboard",
            "enum": [
              "daily",
              "weekly",
              "monthly",
              "yearly"
            ],
            "type": "string",
            "description": "Mode 'leaderboard' only. 'daily' = launches of each day, 'weekly' = top launches of each week (ISO weeks, Monday to Sunday), 'monthly' = top launches of each month, 'yearly' = top launches of each year.",
            "default": "daily"
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "description": "Mode 'leaderboard' only. First day to scrape, format YYYY-MM-DD (Product Hunt days are in US Pacific time). For weekly/monthly/yearly, the week, month or year containing this date is included. Leave empty to scrape yesterday."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "description": "Mode 'leaderboard' only. Last day to scrape (inclusive), format YYYY-MM-DD. Leave empty to scrape only the start date. Every day, week, month or year between start and end date is scraped."
          },
          "featuredOnly": {
            "title": "Featured launches only",
            "type": "boolean",
            "description": "Mode 'leaderboard' only. If true (default), returns the launches shown on the official leaderboard (typically 15–70 per day). If false, returns ALL launches of the day, including non-featured ones (can be 500+ per day). Only applies to the daily leaderboard.",
            "default": true
          },
          "topicFilter": {
            "title": "Only launches in these topics",
            "type": "array",
            "description": "Mode 'leaderboard' only. Keep only launches tagged with at least one of these topics, by name or slug (e.g. 'Artificial Intelligence', 'developer-tools'). Leave empty to keep all launches. You are only charged for launches that match.",
            "items": {
              "type": "string"
            }
          },
          "topics": {
            "title": "Topics",
            "type": "array",
            "description": "Mode 'topic' only. Product Hunt topic URLs or slugs, e.g. https://www.producthunt.com/topics/artificial-intelligence or 'developer-tools'. Returns the products listed in each topic with their latest launch.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Mode 'category' only. Product Hunt category URLs or slugs, e.g. https://www.producthunt.com/categories/ai-agents or 'note-taking'. Returns the products listed in each category with their latest launch.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort topic/category products by",
            "enum": [
              "recent",
              "popular",
              "top_rated"
            ],
            "type": "string",
            "description": "Modes 'topic' and 'category' only. 'recent' = most recently launched first, 'popular' = most followed first, 'top_rated' = highest rated first.",
            "default": "recent"
          },
          "productUrls": {
            "title": "Product or launch URLs",
            "type": "array",
            "description": "Mode 'products' only. Product Hunt product URLs (https://www.producthunt.com/products/notion → its latest launch), launch URLs (…/products/notion/launches/notion-mail → that exact launch) or product slugs ('notion').",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of results to return in total. You are charged per result.",
            "default": 1000
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave the default (Apify Proxy, automatic): the actor rotates datacenter IPs and falls back to residential proxies automatically if Product Hunt blocks them. Choose a specific proxy group or your own proxies only if you need to.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}