Skip to main content
POST
/
api
/
producthunt
/
users
/
upvotes
/producthunt/users/upvotes
curl --request POST \
  --url https://api.anysite.io/api/producthunt/users/upvotes \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "user": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "alias": "<string>",
    "name": "<string>",
    "@type": "@product_hunt_user_upvote",
    "tagline": "<string>",
    "image": "<string>",
    "url": "<string>",
    "vote_count": 123,
    "comment_count": 123,
    "daily_rank": 123,
    "weekly_rank": 123,
    "monthly_rank": 123,
    "featured_at": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "product": {
      "alias": "<string>",
      "url": "<string>",
      "@type": "@product_hunt_user_upvote_product",
      "id": "<string>"
    }
  }
]

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
user
string
required

Product Hunt username ('kevin'), @-prefixed handle ('@kevin'), or full profile URL ('https://www.producthunt.com/@kevin').

Minimum string length: 1
Pattern: ^(?:https?://[^\s]+|//[^\s]+|(?:www\.)?producthunt\.com[^\s]*|@?[A-Za-z0-9][A-Za-z0-9._-]*)$
Examples:

"kevin"

"@kevin"

"https://www.producthunt.com/@kevin"

count
integer
required

Max number of upvoted launches 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
alias
string
required
name
string
required
@type
string
default:@product_hunt_user_upvote
tagline
string | null
image
string | null
url
string | null
vote_count
integer | null
comment_count
integer | null
daily_rank
integer | null
weekly_rank
integer | null
monthly_rank
integer | null
created_at
string | null
updated_at
string | null
product
ProductHuntUserUpvoteProduct · object