Datasets API endpoint
Use Crawlora's Product Hunt trends search API to search or inspect stored structured datasets as JSON. This page includes request parameters, cURL examples, response schema, validation behavior, credit cost, and a Playground link for testing before integration. Dataset endpoints read indexed records and do not apply proxy routing.
/datasets/producthunt-trends/searchReturns aggregate Product Hunt launch trends from the dataset id enum value `producthunt-trends`. Aggregate-only: each row is a category-over-time cell (a topic, optionally within a calendar period), reporting launch count, total and average upvotes, average rating and the top product — never an individual product record. Thin cells are suppressed. group_by enum: `topic_month`, `topic_year`, `topic`. Sort enum: `period_desc`, `period_asc`, `launch_count_desc`, `sum_votes_desc`. Developers commonly use this endpoint for repeatable dataset search, filtering, facets, local business enrichment, analytics, exports, and internal tools that need structured records beyond the limited manual refinement available in the Google Maps app. Authentication uses the x-api-key header, usage is metered with the credit cost shown on this page, and the request does not trigger live scraping or proxy routing.
Request parameters are generated from the active endpoint catalog. Dataset parameters filter, page, facet, or locate stored structured records; they do not configure a live scraper or proxy path.
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| group_by | string | No | topic_month | Aggregate cell dimension enum: topic_month, topic_year, topic. Defaults to topic_month | |
| topic | string | No | Exact topic-slug filter, e.g. artificial-intelligence, max 128 characters | ||
| launched_after | string | No | Lower bound on first-launch date, an ISO-8601 date (YYYY-MM-DD) | ||
| launched_before | string | No | Upper bound on first-launch date, an ISO-8601 date (YYYY-MM-DD) | ||
| min_votes | integer | No | Minimum product upvotes, 0 or greater | ||
| min_launches | integer | No | Minimum launches per cell; raises the small-cell suppression floor (never lowered below the built-in minimum) | ||
| sort | string | No | Sort enum: period_desc, period_asc, launch_count_desc, sum_votes_desc | ||
| page | integer | No | 1 | Page number, defaults to 1 | |
| page_size | integer | No | 20 and maxes at 100 | Page size, defaults to 20 and maxes at 100; page * page_size must be <= 10000 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/datasets/producthunt-trends/search?page=1" \ -H "x-api-key: $CRAWLORA_API_KEY"
Send your scraping API key in the x-api-key header. Use the console API Keys page to rotate or select the active key.
Endpoint usage is metered in credits. The plan prices, included credits, limits, and overage rates below match the active backend billing configuration.
| Plan | Price | Included credits | Daily cap | Rate limit | Overage |
|---|---|---|---|---|---|
| Free | $0/mo | 2,000 | 500 daily credits | 5/min | No overage |
| Starter | $9/mo | 20,000 | 5,000 daily credits | 15/min | $0.75/1,000 overage credits when enabled |
| Growth | $29/mo | 100,000 | 25,000 daily credits | 45/min | $0.45/1,000 overage credits when enabled |
| Pro | $79/mo | 400,000 | No daily cap | 120/min | $0.30/1,000 overage credits |
| Business | $199/mo | 1,200,000 | No daily cap | 300/min | $0.20/1,000 overage credits |
| Enterprise | $499/mo | 5,000,000 | No daily cap | 1,000/min | $0.12/1,000 overage credits |
This endpoint reads stored indexed dataset records. It does not execute a live upstream Google Maps request, browser session, or proxy-routed scraping job.
- Each cell carries `topic`, `period` (`YYYY-MM` for `topic_month`, `YYYY` for `topic_year`, omitted for `topic`), `launches`, `total_votes`, `avg_votes`, `avg_rating` and `top_product`. - `avg_rating` is reported only for cells with enough rated launches, so a handful of reviews never swings the figure; it is omitted otherwise. - `top_product` is the single highest-upvoted product in the cell (`slug`, `name`, `votes`). - The `min_launches` field in the response echoes the effective suppression floor that was applied. - Results are paginated over the aggregate cells; the maximum result window is `10000`, so `page * page_size` must not exceed `10000`. - Invalid enum values return the standard invalid params envelope. - Returns an empty `items` array (not an error) when no cell clears the suppression floor or the dataset has no data yet. - Does not trigger live scraping. Example response: ```json { "code": 200, "msg": "OK", "data": { "dataset": "producthunt-trends", "group_by": "topic_month", "items": [ { "topic": "artificial-intelligence", "period": "2024-01", "launches": 312, "total_votes": 84210, "avg_votes": 269.9, "avg_rating": 4.61, "top_product": { "slug": "chatgpt", "name": "ChatGPT", "votes": 4120 } } ], "page": 1, "page_size": 20, "total": 1, "sort": "period_desc", "min_launches": 3 } } ```
Crawlora does not silently return invalid dataset search results when filters, pagination, coordinates, or stored record lookups cannot be satisfied.
| Status | Common failure case |
|---|---|
| 400 | Invalid input, missing required parameter, invalid enum, bad coordinate pair, or result window beyond the dataset limit |
| 404 | Requested stored dataset item is not present |
| 429 | Plan or endpoint rate limit exceeded |
| 500 | Internal dataset query or storage error |
When possible, Crawlora returns structured error context so your integration can adjust filters, page size, location inputs, or lookup identifiers.
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
{
"code": 200,
"msg": "OK",
"data": {
"dataset": "producthunt-trends",
"group_by": "topic_month",
"items": [
{
"topic": "artificial-intelligence",
"period": "2024-01",
"launches": 312,
"total_votes": 84210,
"avg_votes": 269.9,
"avg_rating": 4.61,
"top_product": {
"slug": "chatgpt",
"name": "ChatGPT",
"votes": 4120
}
}
],
"page": 1,
"page_size": 20,
"total": 1,
"sort": "period_desc",
"min_launches": 3
}
}Request schema
No body schema
Response schema
#/definitions/datasets.producthuntTrendsSearchResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | datasets.ProductHuntTrendsSearchResponse | No | ||||
| data.dataset | string | No | ||||
| data.group_by | string | No | ||||
| data.items | array | No | ||||
| data.items[].avg_rating | number | No | ||||
| data.items[].avg_votes | number | No | ||||
| data.items[].launches | integer | No | ||||
| data.items[].period | string | No | "2024-01" | "2024" | "" for all-time | |||
| data.items[].top_product | es.ProductHuntTrendTopProduct | No | ||||
| data.items[].top_product.name | string | No | ||||
| data.items[].top_product.slug | string | No | ||||
| data.items[].top_product.votes | integer | No | ||||
| data.items[].topic | string | No | ||||
| data.items[].total_votes | integer | No | ||||
| data.min_launches | integer | No | ||||
| data.page | integer | No | ||||
| data.page_size | integer | No | ||||
| data.sort | string | No | ||||
| data.total | integer | No | ||||
| msg | string | No | OK |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/datasets/producthunt-trends/search?page=1" \
-H "x-api-key: $CRAWLORA_API_KEY"Crawlora is designed for responsible structured public web data workflows. Customers are responsible for using Crawlora in compliance with applicable laws, third-party rights, target-platform rules, and Crawlora terms.
Read Crawlora terms