# Product Hunt 评价 API (producthunt.reviews)

- Canonical page: [https://everyinfra.com/producthunt-api/reviews](https://everyinfra.com/producthunt-api/reviews?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "producthunt", "action": "reviews", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 50 per call
- Mode: sync; add "mode": "async" for slow tasks

Product Hunt 评价按 `url` 读取产品页上的星级评价。每行有评分 `rating` 和它的满分 `rating_scale`，还有易用性评分 `ease_of_use_rating`、性价比评分 `value_rating`；文字部分分成正面反馈 `positive`、负面反馈 `negative`、优点 `pros` 和缺点 `cons`，`review_type` 标出评价类型。它回答「用过的人打几分、好在哪、差在哪」，适合做竞品口碑对比。

评价和评论是两类内容：评论挂在可评论、可投票的发布页下，评价汇集在产品页上，这一页读的是后者。评价不等于已验证的购买记录，评论数也不会被换算成评分。

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=producthunt&action=reviews

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | Product Hunt 的 /posts/发布短名 或 /products/产品短名 完整 URL。profile 读取产品资料，comments 读取发布讨论，reviews 读取星级评价；讨论与产品评价不是同一类内容。 |
| limit | integer (1–50) | no | 20 | 这次调用最多返回的条数，整数，1–50；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| ease_of_use_rating | 易用性评分。 |
| value_rating | 性价比评分。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| positive | 正面反馈。 |
| negative | 负面反馈。 |
| pros | 优点。 |
| cons | 缺点。 |
| vote_count | 获得的投票数（upvotes），PH 上的核心热度指标。 |
| review_type | 评价类型。 |
| author_name | 作者昵称（显示名）。 |
| author_username | 作者用户名（@handle），通常可用于拼 URL。 |
| author_headline | 评价人的一句话头衔。 |
| product_name | 产品名称。 |
| product_url | 产品页链接。 |
| posted_at | 发布时间，ISO 8601 格式、UTC 时区（如 2026-08-07T12:34:56+00:00）。平台只给非标准字符串时原样透传，解析前建议做容错。null 表示平台未公开。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "producthunt",
  "action": "reviews",
  "params": {
    "url": "https://www.producthunt.com/products/claude"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "producthunt",
        "action": "reviews",
        "params": {
            "url": "https://www.producthunt.com/products/claude",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 10. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "producthunt",
  "action": "reviews",
  "results": [
    {
      "id": "635393",
      "rating": 5,
      "text": "Claude powers Joy’s guided conversations, helping business owners discover the outcomes they want and turn them into editable briefs.",
      "vote_count": 0,
      "review_type": "founder",
      "author_name": "•••",
      "author_username": "•••",
      "author_headline": "•••",
      "product_name": "Claude by Anthropic",
      "product_url": "https://www.producthunt.com/products/claude",
      "posted_at": "2026-09-25T01:43:52-07:00",
      "platform": "producthunt",
      "rating_scale": 5
    },
    {
      "id": "635053",
      "rating": 5,
      "text": "Claude is a natural MCP client for building and iterating on charts and dashboards from conversation.",
      "vote_count": 0,
      "review_type": "founder",
      "author_name": "•••",
      "author_username": "•••",
      "author_headline": "•••",
      "product_name": "Claude by Anthropic",
      "product_url": "https://www.producthunt.com/products/claude",
      "posted_at": "2026-09-24T15:20:31-07:00",
      "platform": "producthunt",
      "rating_scale": 5
    }
  ],
  "count": 10,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### `rating` 的满分是多少？

看同一行的 `rating_scale`：5 表示五星制，10 表示十分制。没有 `rating` 的行也没有 `rating_scale`。跨平台比较评分前要先按满分换算，直接比数字可能得出相反的结论。

### 评价和评论该读哪一页？

要打分和优缺点，读评价这一页；要看发布下的讨论和置顶评论，读评论那一页，它多出置顶和评论人认证两个标记，但没有评分。

### 评价里的 `vote_count` 是什么？

`vote_count` 是这条评价获得的投票数，也是 Product Hunt 上的核心热度指标，可以用它在评价里挑出得到更多认可的几条。`text` 是正文，已去掉 HTML 标签。要比较分数时看 `rating`、`ease_of_use_rating` 和 `value_rating`，不要拿投票数当评分。

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=producthunt
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
