Product Hunt
科技领域最棒的新产品
- 认证方式
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 社交
简介
Product Hunt 的 API 是 GraphQL(v2)——帖子、评论和投票。认证是 OAuth 2.0(GET 返回 404,已实测)。
快速开始
GraphQL 查询(需要 OAuth token):
curl -X POST "https://api.producthunt.com/v2/api/graphql" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"query": "{ posts(first: 1) { edges { node { name } } } }"}'
认证方式
- 在 producthunt.com/v2/oauth 注册应用 → OAuth token。
- 通过
Authorization: Bearer发送。
速率限制与注意事项
- 免费;基于 OAuth。
- 仅 POST GraphQL(GET 404,已实测)。
常见问题
Product Hunt 免费吗? 是的——带 OAuth 免费。
为什么 GET 404? API 仅 GraphQL POST(已实测)。
能查询什么? 帖子、评论和投票。
社交 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 4chan Simple image-based bulletin board dedicated to a variety of topics | No auth | Yes | Yes | ↗ |
| Ayrshare Social media APIs to post, get analytics, and manage multiple users social media accounts | API Key | Yes | Yes | ↗ |
| aztro Daily horoscope info for yesterday, today, and tomorrow | No auth | Yes | Unknown | ↗ |
| Blogger The Blogger APIs allows client applications to view and update Blogger content | OAuth | Yes | Unknown | ↗ |
| Bluesky Decentralized social networking via the AT protocol | No auth | Yes | Yes | ↗ |