Back to articles
How to Scrape Product Hunt Launches and Upvote Data

How to Scrape Product Hunt Launches and Upvote Data

via Dev.to WebdevАлексей Спинов

Product Hunt is the go-to platform for tech launches. Product Hunt API (GraphQL, Free) async function getTopProducts ( token ) { const res = await fetch ( " https://api.producthunt.com/v2/api/graphql " , { method : " POST " , headers : { Authorization : `Bearer ${ token } ` , " Content-Type " : " application/json " }, body : JSON . stringify ({ query : `{ posts(order: VOTES) { edges { node { name tagline votesCount url } } } }` }) }); return res . json (); } Data: name, tagline, upvotes, URL, maker, category, comments Use Cases Competitor tracking Trend detection Launch strategy research Community outreach Resources HN API Complete Index Need startup or Product Hunt data? $20. Email: Spinov001@gmail.com | Hire me

Continue reading on Dev.to Webdev

Opens in a new tab

Read Full Article
5 views

Related Articles