---
title: "Facet the Product Hunt makers dataset"
method: GET
path: "/datasets/producthunt-makers/facets"
tags: ["Datasets"]
---

# Facet the Product Hunt makers dataset

`GET /datasets/producthunt-makers/facets`

## Request

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

Returns distribution counts over the Product Hunt makers dataset (dataset id enum value `producthunt-makers`), honoring the same filters as search. Facet enum: `topic`, `product_count_band`.

## Query parameters

- `facet` 'topic' | 'product_count_band', required
- `q` string
- `topic` string
- `min_products` integer
- `min_total_votes` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- DatasetsProducthuntMakersFacetResponseDoc
  - `code` integer
  - `data` DatasetsProductHuntMakersFacetResponse
    - `dataset` string
    - `facet` string
    - `items` EsProductHuntMakersFacetItem[]
      - `count` integer
      - `value` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `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)
