Last updated
Changelogproducthunt.com API
HealthyRead-onlyStructured data from producthunt.com. Generated from producthunt.com.
/top_products5 credits per callTop Products
Product Hunt's daily leaderboard: the products launched on one day, best first (Product Hunt's own daily rank), up to 20 per page (sponsored placements left out), each with its launch-day upvote count, comments, topics and links.
Authorization: Bearer <key> on every request.Parameters
launch day as YYYY-MM-DD in Product Hunt's time zone (US Pacific); default today.
true for the featured launches shown on the leaderboard, false for every launch of the day.
`next_cursor` from the previous page to get the next 20; omit for the first page.
Response fields
dateproducts
rankidnametaglineupvotesupvotes_totalcommentstopicslaunched_aturllaunch_urlwebsite_redirectthumbnailweekly_rankmonthly_ranknext_cursorfetched_atagecurl "https://api.maviapi.com/v1/sites/producthunt/top_products?featured=true" \-H "Authorization: Bearer $MAVI_KEY"
{
"date": "string",
"products": [
{
"rank": 0,
"id": "string",
"name": "string",
"tagline": "string",
"upvotes": 0,
"upvotes_total": 0,
"comments": 0,
"topics": [
"string"
],
"launched_at": "string",
"url": "string",
"launch_url": "string",
"website_redirect": "string",
"thumbnail": "string",
"weekly_rank": 0,
"monthly_rank": null
}
],
"next_cursor": "string",
"fetched_at": "string",
"age": 0
}Get all the data, no code
Collect every page of GET /top_products into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.
Use producthunt.com API from Claude, ChatGPT and your coding tools
Add this URL as a custom connector and sign in to maviapi. Nothing to install.
https://mcp.maviapi.com/mcpOr run it locally, with each endpoint of producthunt.com API as its own tool:
claude mcp add maviapi -e MAVIAPI_TOOLS=producthunt -- npx -y '@maviapi/mcp'Import producthunt.com API into Postman and other tools
How to importPaste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.
- OpenAPI 3.1
https://api.maviapi.com/v1/apis/producthunt/openapi.json - Postman
https://api.maviapi.com/v1/apis/producthunt/postman.json
The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.
Build with the producthunt.com API
Choose a starting endpoint
- Top Products
GET /top_productsProduct Hunt's daily leaderboard: the products launched on one day, best first (Product Hunt's own daily rank), up to 20 per page (sponsored placements left out), each with its launch-day upvote count, comments, topics and links.
Parameters and response fields for GET /top_products
Request parameters Name Type / location Required Description date string / query No launch day as YYYY-MM-DD in Product Hunt's time zone (US Pacific); default today. featured boolean / query No true for the featured launches shown on the leaderboard, false for every launch of the day. cursor string / query No `next_cursor` from the previous page to get the next 20; omit for the first page. Response fields Field Type Description date string products object[] products[].rank integer products[].id string products[].name string products[].tagline string products[].upvotes integer products[].upvotes_total integer products[].comments integer products[].topics string[] products[].launched_at string products[].url string products[].launch_url string products[].website_redirect string products[].thumbnail string products[].weekly_rank integer products[].monthly_rank null next_cursor string fetched_at string age integer
Export producthunt.com data to CSV
Each list below downloads as a CSV file with one row per record. Collect it into a dataset with "Get all the data, no code" under the console above. The dataset reads the list page by page, and you download it as CSV, JSON or JSONL.
| List | CSV columns |
|---|---|
Top ProductsGET /top_products | rank, id, name, tagline, upvotes, upvotes_total, comments, topics, launched_at, url, launch_url, website_redirect, thumbnail, weekly_rank, monthly_rank |
A nested value (a list or an object) is written as JSON in one cell. How datasets and exports work
producthunt.com API questions
What you get, what it costs and how to call it.
Is there an official producthunt.com API?
This producthunt.com API is not official. It is an independent, hosted API from maviapi for the public data on producthunt.com, and it is not made, endorsed or supported by producthunt.com. Whether producthunt.com offers a developer API of its own is a question for producthunt.com. This one is ready to call with a maviapi key, and every endpoint and field it returns is documented on this page.
What data can I get from the producthunt.com API?
The producthunt.com API has one endpoint. It returns JSON with the parameters and fields documented above:
- GET
/top_products: Product Hunt's daily leaderboard: the products launched on one day, best first (Product Hunt's own daily rank), up to 20 per page (sponsored placements left…
How much does the producthunt.com API cost?
Calls are paid in credits from your maviapi plan, and only successful calls are charged. Every endpoint of this API costs 5 credits per call. On the Basic plan ($19 a month for 25,000 credits), 1,000 calls cost about $3.80. Failed calls are free. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.
How do I call the producthunt.com API?
Send an HTTPS request to the endpoint with your API key in the Authorization header. For example, GET /top_products:
curl 'https://api.maviapi.com/v1/sites/producthunt/top_products' \
-H "Authorization: Bearer $MAVI_KEY"Create a key on your API keys page, or try any endpoint first in the console above with the free test key.
What are the ways to get producthunt.com data as JSON?
Each way to get producthunt.com data as JSON fits a different need:
- Your own scraper: Full control and no vendor, but the parsing, the blocked requests and the repairs after every change on producthunt.com are yours. Better for a one-off pull from a page that rarely changes.
- Apify: A marketplace of Actors you run, where input, output and price are set by each Actor. Better when an Actor already returns what you need, or you want to host your own code. See maviapi vs Apify.
- RapidAPI: A hub of APIs added by many providers, called with one RapidAPI key and priced per API. Better when you already use the hub and one of its APIs covers what you need. Source: RapidAPI docs.
- maviapi: The producthunt.com API on this page: one documented endpoint, a published response schema and one key for the whole catalog. Better when this data is part of your product and you do not want to maintain a scraper.
What happens when producthunt.com changes its layout?
Your code does not change. maviapi keeps the producthunt.com API working when producthunt.com changes its pages, so you keep calling the same endpoints and get JSON in the shape documented here. See its current health on the status page and what changed in its changelog.
Will an update break my producthunt.com API integration?
No. An endpoint you use never changes shape: new fields, optional parameters and endpoints are added beside it, and a change that would break a call ships as a new endpoint. Ignore response fields you do not know, and follow the changelog for what is new.
Related APIs
- Tripadvisor API
Trip-planning data from Tripadvisor: geo search plus attractions, restaurants and hotels by location (geo_id), with…
- Eventbrite API
Events listed on Eventbrite for a city and date range: dates, venue with address and coordinates, image and summary…
- Songkick Concerts API
Upcoming concerts and music festivals in any city from Songkick, for a date window, with venues, performers, prices…