---
title: "Search for products, users, or launches on Product Hunt"
method: GET
path: "/producthunt/search"
tags: ["ProductHunt"]
---

# Search for products, users, or launches on Product Hunt

`GET /producthunt/search`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/producthunt/search`
- Auth: API key in header `x-api-key`

Searches Product Hunt for the required `query`. `type` is `product` (default), `user` or `launch`, and `page` starts at 1. `featured` and `topics` apply to launch search only. Results come as `edges` with `pageInfo` and `pagesCount`; launch search also returns topic aggregations.

## Query parameters

- `query` string, required
- `type` 'product' | 'user' | 'launch'
- `page` integer
- `featured` boolean
- `topics` string

## Headers

- `x-api-key` string, required

## Response `200`

Wrapped search payload (map[string]any)

- ProducthuntSearchResponseDoc
  - `code` integer
  - `data` ProducthuntSearchDataDoc
    - `aggregations` ProducthuntSearchAggregationsDoc
      - `topics` ProducthuntSearchTopicDoc[]: Launch counts per topic for the search results.
        - `count` integer: Number of matching launches in the topic.
        - `topic` object: Topic the count applies to, with its `id` and `name`.
          - `id` string
          - `name` string
    - `edges` ProducthuntSearchEdgeDoc[]: Search results on this page, one per entry.
      - `node` object: Search result: a product, user or launch, depending on `type`.
    - `pageInfo` ProducthuntSearchPageInfoDoc
      - `hasNextPage` boolean: Whether another page of results follows this one.
      - `hasPreviousPage` boolean: Whether a page of results precedes this one.
      - `page` integer: Page number returned.
    - `pagesCount` integer: Total number of result pages.
  - `msg` string

## Other responses

- `400`: Missing or invalid parameters
- `404`: No results found
- `429`: Rate limit exceeded
- `500`: Internal server error

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/028417aa35bb?raw)
