Skip to main content
POST
/
api
/
producthunt
/
categories
/
list
/producthunt/categories/list
curl --request POST \
  --url https://api.anysite.io/api/producthunt/categories/list \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "name": "<string>",
    "alias": "<string>",
    "url": "<string>",
    "@type": "@product_hunt_category_node",
    "description": "<string>",
    "sub_categories": []
  }
]

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 top-level categories to return

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

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
name
string
required
alias
string
required
url
string
required
@type
string
default:@product_hunt_category_node
description
string | null
sub_categories
Sub Categories · array