# Product Hunt Trending API (producthunt.trending)

- Canonical page: [https://everyinfra.com/en/producthunt-api/trending](https://everyinfra.com/en/producthunt-api/trending?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "producthunt", "action": "trending", "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 40 per call
- 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=trending

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| days | integer | no | not declared | Specifies the lookback window in days for the trending action. Defaults to 1 (today) and accepts values from 1 to 30. It should not be treated as a complete historical archive export. |
| limit | integer (1–40) | no | 20 | The most rows to return in this call, an integer from 1 to 40. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| name | Name of the object itself, for account, product and business capabilities. |
| tagline | platform-native meaning |
| description | Summary or description, usually shorter than text. |
| url | Link to the record on the platform. |
| rank | platform-native meaning |
| vote_count | platform-native meaning |
| comment_count | Comments. null means not disclosed, not 0. |
| topics | platform-native meaning |
| maker | platform-native meaning |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
| platform | Source platform identifier, the same as platform in the request (for example 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": "trending",
  "params": {}
}'
```

```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": "trending",
        "params": {},
    },
    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": "trending",
  "results": [
    {
      "name": "Chit",
      "tagline": "A printed receipt of your day in Claude Code",
      "description": "Chit reads the Claude Code transcripts already on your disk and prints the day back as a receipt, grouped by project and ready to paste into a standup. A 777 KB Mac app. No Hammerspoon, no Python, no account, and no network code in the binary at all.",
      "url": "https://www.producthunt.com/posts/chit-2",
      "vote_count": 0,
      "comment_count": 4,
      "topics": [
        "Mac",
        "Productivity",
        "Developer Tools"
      ],
      "maker": "Ravindra Sisodia",
      "image_url": "https://ph-files.imgix.net/53ccc9ff-ad92-4070-87ab-e1373aa8abc0.png?auto=format&fit=max&w=200",
      "posted_at": "2026-09-26T00:01:00-07:00",
      "platform": "producthunt"
    },
    {
      "name": "MakerMap",
      "tagline": "A living map of makers and what they’re building",
      "description": "MakerMap is a living map of the maker world. Discover 4,000+ makers and products, search by niche, location, interests or what people are building, explore live profiles, and find people worth meeting. Add yourself and become part of the map.",
      "url": "https://www.producthunt.com/posts/makermap",
      "vote_count": 0,
      "comment_count": 3,
      "topics": [
        "Social Network",
        "Social Media",
        "Maps"
      ],
      "maker": "Martijn Verbove",
      "image_url": "https://ph-files.imgix.net/b57f658d-92d0-4cac-9ff6-bef59fcfa50c.png?auto=format&fit=max&w=200",
      "posted_at": "2026-09-26T00:01:00-07:00",
      "platform": "producthunt"
    }
  ],
  "count": 10,
  "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
