# Product Hunt 主页或对象详情 API (producthunt.profile)

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

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | Product Hunt 的 /posts/发布短名 或 /products/产品短名 完整 URL。profile 读取产品资料，comments 读取发布讨论，reviews 读取星级评价；讨论与产品评价不是同一类内容。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| slug | URL 短名。 |
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| tagline | 产品标语。 |
| description | 简介或描述，通常比 text 短。 |
| url | 该记录在原平台上的可访问链接。 |
| website | 账号或商家填写的外链网址。 |
| vote_count | 获得的投票数（upvotes），PH 上的核心热度指标。 |
| comment_count | 评论数。null 表示不公开，不等于 0。 |
| review_count | 评价条数，用于商品/商家类能力。null 表示不公开，不等于 0。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| follower_count | 粉丝数。null 表示不公开，不等于 0。 |
| daily_rank | 当日排名。Product of the Day 是 PH 最重要的荣誉。 |
| weekly_rank | 本周排名。 |
| is_top_product | 是否为置顶推荐产品。 |
| topics | 所属话题标签。 |
| posted_at | 发布时间，ISO 8601 格式、UTC 时区（如 2026-08-07T12:34:56+00:00）。平台只给非标准字符串时原样透传，解析前建议做容错。null 表示平台未公开。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |
| latest_launch_name | platform-native meaning |
| latest_launch_at | platform-native meaning |
| emails | 在产品官网公开页面上找到的联系邮箱（profile，去重）；找不到时没有这个字段，不代表对方同意营销联系。 |
| contact_email | 为产品找到的主要联系邮箱（profile），来自官网公开信息，可能为空。 |
| contact_website | 找到 contact_email 的网站（profile）。 |

## 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": "profile",
  "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": "profile",
        "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. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "producthunt",
  "action": "profile",
  "results": {
    "id": "576351",
    "slug": "claude",
    "name": "Claude by Anthropic",
    "tagline": "A family of foundational AI models",
    "description": "We're an AI research company that builds reliable, interpretable, and steerable AI systems. Our first product is Claude, an AI assistant for tasks at any scale.",
    "url": "https://www.producthunt.com/products/claude",
    "website": "https://www.anthropic.com/claude",
    "review_count": 1005,
    "rating": 4.96,
    "follower_count": 84942,
    "is_top_product": true,
    "topics": [
      "LLMs",
      "AI Chatbots"
    ],
    "platform": "producthunt",
    "latest_launch_name": "Claude Opus 5",
    "latest_launch_at": "2026-07-27T00:01:00-07:00",
    "rating_scale": 5
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## 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
