Skip to main content
POST
/
api
/
producthunt
/
collections
/
search
/producthunt/collections/search
curl --request POST \
  --url https://api.anysite.io/api/producthunt/collections/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "keyword": "design"
}
'
[
  {
    "id": "<string>",
    "alias": "<string>",
    "name": "<string>",
    "url": "<string>",
    "@type": "@product_hunt_collection_search_item",
    "title": "<string>",
    "description": "<string>",
    "product_count": 123,
    "curator": {
      "name": "<string>",
      "@type": "@product_hunt_collection_search_curator",
      "id": "<string>",
      "alias": "<string>",
      "image": "<string>",
      "url": "<string>"
    },
    "preview_products": []
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.anysite.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max number of collections to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
keyword
string | null

Optional search keyword to filter collections by name

Example:

"design"

Response

Successful Response

id
string
required
alias
string
required
name
string
required
url
string
required
@type
string
default:@product_hunt_collection_search_item
title
string | null
description
string | null
product_count
integer | null
curator
ProductHuntCollectionSearchCurator · object
preview_products
ProductHuntCollectionSearchProduct · object[]