Datasets

Facet the Product Hunt products dataset

Returns distribution counts over the Product Hunt products dataset (dataset id enum value producthunt-products), honoring the same filters as search. Facet enum: topic, launch_year, pricing_type, product_state.

get/datasets/producthunt-products/facets

Request

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

Query parameters

facet'topic' | 'launch_year' | 'pricing_type' | 'product_state' required

Facet enum: topic, launch_year, pricing_type, product_state

qstring

Full-text query over product name and tagline, max 256 characters

topicstring

Exact topic-slug filter, e.g. artificial-intelligence, max 128 characters

makerstring

Exact maker-username filter (populated by hydration), max 128 characters

launched_afterstring

Lower bound on first-launch date, an ISO-8601 date (YYYY-MM-DD)

launched_beforestring

Upper bound on first-launch date, an ISO-8601 date (YYYY-MM-DD)

min_votesinteger

Minimum upvotes, 0 or greater

min_ratingnumber

Minimum review rating, from 0 through 5

pricing_typestring

Exact pricing-type filter, e.g. free, paid, freemium

has_websiteboolean

Website presence filter

is_onlineboolean

true keeps only products still online, false only retired products

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.