Product Hunt Topic API
Get a topic, such as Artificial Intelligence, with its description, followers and the products ranked in it.
- 1 credit per call
- Failed calls are free
- Updated
- producthunt.topic
{ "name": "Artificial Intelligence", "description": "Artificial intelligence powers products that can write, reason, analyze data, and take action for you. These categories cover the main ways…", "id": "268", "slug": "artificial-intelligence", "url": "https://www.producthunt.com/topics/artificial-intelligence", "products": [ { "name": "PostHog", "id": "126122", "slug": "posthog", "tagline": "Literally every piece of SaaS that a product engineer needs", "url": "https://www.producthunt.com/products/posthog" }, { "name": "Granola", "id": "584337", "slug": "granola", "tagline": "The AI notepad for people in back-to-back meetings", "url": "https://www.producthunt.com/products/granola" } ]}
| # | Name | Reviews count | Reviews rating | Slug | Tagline | Id | Logo url | Url |
|---|---|---|---|---|---|---|---|---|
| 1 | PostHog | posthog | Literally every piece of SaaS that a product engineer needs | 126122 | https://www.producthunt.com/products/posthog | |||
| 2 | Granola | granola | The AI notepad for people in back-to-back meetings | 584337 | https://www.producthunt.com/products/granola | |||
| 3 | Vercel | 990 | 4.97 | vercel | The frontend cloud. Creators of Next.js. | 435808 | https://ph-files.imgix.net/593ff5e2-9d11-491c-ab63-9e929e894214… | https://www.producthunt.com/products/vercel |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| url | string | yes | The topic's name as it appears in its URL, such as artificial-intelligence, or its full URL. | artificial-intelligence |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| products[].name | string | The product's name. | PostHog |
| products[].id | string | Product Hunt's ID for the item. | 126122 |
| products[].slug | string | The name in the product's Product Hunt address. | posthog |
| products[].tagline | string | The product's one-line pitch. | Literally every piece of SaaS that a product engineer needs |
| products[].url | string | The page on Product Hunt. | https://www.producthunt.com/products/posthog |
| name | string | The product's name. | Artificial Intelligence |
| description | string | The description Product Hunt shows. | Artificial intelligence powers products that can write, reason,… |
| id | string | Product Hunt's ID for the item. | 268 |
| products | array | The products listed. | 3 records |
| slug | string | The name in the product's Product Hunt address. | artificial-intelligence |
| url | string | The page on Product Hunt. | https://www.producthunt.com/topics/artificial-intelligence |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "producthunt.topic", "input": { "url": "artificial-intelligence" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "producthunt.topic", "input": { "url": "artificial-intelligence" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "producthunt.topic", "input": { "url": "artificial-intelligence" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, get the Product Hunt topic for url "artificial-intelligence". Tell me what it costs before you run it, then show the results as a table.
More from the Product Hunt API
The same data from other platforms
Product Hunt Topic API FAQ
The short answers. The docs have the long ones.
How much does the Product Hunt Topic API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send url. The input fields below list every option with its type and limits.
Do I need a Product Hunt login?
No. It reads public Product Hunt data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds producthunt.topic, checks its price and runs it with the same credits as the REST API.
Your first Product Hunt call is free.
Up to 100 free credits to start, no card needed.