Datasets

Facet the Product Hunt trends dataset

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

get/datasets/producthunt-trends/facets

Request

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

Query parameters

facet'topic' | 'launch_year' required

Facet enum: topic, launch_year

group_by'topic_month' | 'topic_year' | 'topic'

Aggregate cell dimension enum: topic_month, topic_year, topic. Defaults to topic_month

topicstring

Exact topic-slug filter, e.g. artificial-intelligence, 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 product upvotes, 0 or greater

min_launchesinteger

Minimum launches per bucket; raises the small-cell suppression floor

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 2 revisions of this API.