Reddit Insights
2026-03-27
新闻来源:网淘吧
围观:15
电脑广告
手机广告
Reddit Insights
对数百万Reddit帖子进行语义搜索。与关键词搜索不同,它能理解意图和含义。
由reddapi.dev提供支持 — 基于AI的语义搜索和向量相似性搜索,覆盖1000+个子版块,索引了数百万帖子,持续更新。
主要优势:
- ✅两种搜索模式- 语义搜索(AI摘要)+ 向量搜索(快速相似性)
- ✅完整的Reddit存档- 访问历史和实时讨论
- ✅AI摘要- 语义搜索生成全面摘要
- ✅MCP支持- 直接集成Claude Desktop、Cursor等工具
设置
获取API密钥
- 请在以下网址创建账户https://reddapi.dev
- 订阅付费套餐(Lite版 $9.90/月,Starter版 $49/月,Pro版 $99/月,或 Enterprise版)
- 前往https://reddapi.dev/account查看或生成您的API密钥
环境变量
export REDDAPI_API_KEY="your_api_key"
速率限制
| 套餐 | 月度API调用次数 | 每分钟 |
|---|---|---|
| Lite版 | 500 | 50 |
| Starter版 | 5,000 | 50 |
| Pro版 | 15,000 | 100 |
| Enterprise版 | 无限制 | 1,000 |
HTTP API参考
基础URL: https://reddapi.dev
认证方式:所有请求都需要包含请求头:
Authorization: Bearer YOUR_API_KEY
POST /api/v1/search/semantic
具备关键词提取、向量搜索和AI摘要生成功能的AI语义搜索。
curl -X POST "https://reddapi.dev/api/v1/search/semantic" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "What do developers think about Rust vs Go for backend services?", "limit": 20}'
| 参数 | 类型 | 必需 | 描述 |
|---|---|---|---|
| query | 字符串 | 是 | 自然语言问题 |
| limit | 数字 | 否 | 返回的结果数量(默认:20,最大:100) |
响应:
{
"success": true,
"data": {
"query": "What do developers think about Rust vs Go for backend services?",
"results": [
{
"id": "1abc234",
"title": "Switched our microservices from Go to Rust - here's what happened",
"content": "After 6 months of running Go in production...",
"subreddit": "rust",
"upvotes": 847,
"comments": 234,
"created": "2026-02-15T10:30:00.000Z",
"relevance": 0.92,
"sentiment": "Discussion",
"url": "https://reddit.com/r/rust/comments/1abc234"
}
],
"total": 20,
"processing_time_ms": 12450,
"ai_summary": "Developers are divided on Rust vs Go for backend services..."
}
}
POST /api/v1/search/vector
快速向量相似性搜索。无大语言模型处理,秒级返回结果。
curl -X POST "https://reddapi.dev/api/v1/search/vector" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "best productivity apps for ADHD", "limit": 30, "start_date": "2026-01-01", "end_date": "2026-03-18"}'
| 参数 | 类型 | 必需 | 描述 |
|---|---|---|---|
| query | 字符串 | 是的 | 搜索查询 |
| 限制 | 数字 | 否 | 返回的结果数量(默认值:30,最大值:30) |
| 开始日期 | 字符串 | 否 | 开始日期筛选(格式:YYYY-MM-DD) |
| 结束日期 | 字符串 | 否 | 结束日期筛选(格式:YYYY-MM-DD) |
响应:
{
"success": true,
"data": {
"query": "best productivity apps for ADHD",
"results": [
{
"id": "2def567",
"title": "Finally found an app that works for my ADHD brain",
"content": "I've tried everything from Todoist to Notion...",
"subreddit": "ADHD",
"upvotes": 1203,
"comments": 456,
"created": "2026-03-01T14:22:00.000Z",
"similarity_score": 0.89,
"url": "https://reddit.com/r/ADHD/comments/2def567"
}
],
"total": 30,
"processing_time_ms": 3200
}
}
GET /api/v1/subreddits
列出可用的子版块及其元数据,按订阅者数量排序。
curl "https://reddapi.dev/api/v1/subreddits?search=programming&limit=10" \
-H "Authorization: Bearer YOUR_API_KEY"
| 参数 | 类型 | 是否必需 | 描述 |
|---|---|---|---|
| 搜索 | 字符串 | 否 | 按名称/标题/描述筛选 |
| 页码 | 数字 | 否 | 页码(默认值:1) |
| 限制 | 数字 | 否 | 每页结果数(默认值:50,最大值:100) |
| 排序 | 字符串 | 否 | 按"订阅者数"或"创建时间"排序(默认值:订阅者数) |
| 顺序 | 字符串 | 否 | "升序"或"降序"(默认值:降序) |
GET /api/v1/subreddits/{名称}
获取特定子版块的详细信息及近期帖子。
curl "https://reddapi.dev/api/v1/subreddits/webdev" \
-H "Authorization: Bearer YOUR_API_KEY"
| 参数 | 类型 | 必需 | 描述 |
|---|---|---|---|
| 名称 | 字符串 | 是 | 子版块名称(不带r/前缀 |
POST /api/v1/trends
根据帖子参与度,从Reddit获取热门话题。
curl -X POST "https://reddapi.dev/api/v1/trends" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"start_date": "2026-03-11", "end_date": "2026-03-18", "limit": 20}'
| 参数 | 类型 | 必需 | 描述 |
|---|---|---|---|
| start_date | 字符串 | 否 | 开始日期(默认:今天) |
| end_date | 字符串 | 否 | 结束日期(默认:今天) |
| limit | 数字 | 否 | 返回的话题数量(默认:20,最大:100) |
MCP 服务器
reddapi.dev 还提供了一个模型上下文协议(MCP)服务器,用于直接与AI客户端集成。
端点: https://reddapi.dev/api/mcp
协议:MCP 可流式传输 HTTP 传输
{
"mcpServers": {
"reddit-search-api": {
"transport": {
"type": "http",
"url": "https://reddapi.dev/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
}
MCP 工具:reddit_semantic_search,reddit_vector_search,reddit_list_subreddits,reddit_get_subreddit,reddit_get_trends
在语义搜索和向量搜索之间进行选择
| 使用场景 | 推荐 | 原因 |
|---|---|---|
| 探索性研究 | 语义搜索 | LLM 提取关键词,生成摘要 |
| 已知主题监控 | 向量搜索 | 更快,直接匹配,无 LLM 开销 |
| 批处理 | 向量搜索 | 每个请求速度快 5 倍 |
| 回答复杂问题 | 语义 | AI摘要综合见解 |
| 实时仪表板 | 向量 | 低延迟(约5秒 vs 约20秒) |
最佳用例(已测试)
| 用例 | 有效性 | 原因 |
|---|---|---|
| 产品对比(A vs B) | ⭐⭐⭐⭐⭐ | Reddit用户喜欢辩论 |
| 工具/应用推荐 | ⭐⭐⭐⭐⭐ | 高意向度讨论 |
| 副业/赚钱话题 | ⭐⭐⭐⭐⭐ | 活跃社区 |
| 痛点发现 | ⭐⭐⭐⭐ | 情感类帖子排名靠前 |
| 健康问题 | ⭐⭐⭐⭐ | 活跃的健康子版块 |
| 技术操作指南 | ⭐⭐⭐ | 最好搜索特定的Reddit子版块 |
| 抽象的市场调研 | ⭐⭐ | 对于语义搜索来说过于模糊 |
| 非英语查询 | ⭐ | Reddit以英语为主导 |
查询策略
✅ 优秀查询(相关性 0.70+)
产品对比(最佳结果!):
"Notion vs Obsidian for note taking which one should I use"
→ Relevance: 0.72-0.81 | Found: Detailed comparison discussions, user experiences
"why I switched from Salesforce to HubSpot honest experience"
→ Relevance: 0.70-0.73 | Found: Migration stories, feature comparisons
副业/赚钱话题:
"side hustle ideas that actually make money not scams"
→ Relevance: 0.70-0.77 | Found: Real experiences, specific suggestions
✅ 良好查询(相关性 0.60-0.69)
痛点发现:
"I hate my current CRM it is so frustrating"
→ Relevance: 0.60-0.64 | Found: Specific CRM complaints, feature wishlists
工具评估:
"AI tools that actually save time not just hype"
→ Relevance: 0.64-0.65 | Found: Real productivity gains, tool recommendations
❌ 弱效查询(避免这些模式)
过于抽象:"商业机会 增长潜力" → 0.52-0.58非英语:"学习编程最好的方法" → 0.45-0.51
查询公式速查表
| 目标 | 模式 | 相关性 |
|---|---|---|
| 产品比较 | "[A] 对比 [B],我该用哪个" | 0.70-0.81 |
| 寻找转换者 | "为什么我从 [A] 换到了 [B]" | 0.70-0.73 |
| 金钱/赚钱话题 | "真正[有效/赚钱]而不是[骗局/炒作]的[话题]" | 0.70-0.77 |
| 应用推荐 | "哪个[类别]应用[准确/最好],为什么" | 0.67-0.72 |
| 痛点 | "我讨厌我现在的[工具],它太[令人沮丧/慢]了" | 0.60-0.64 |
| 寻求解决方案 | "[问题] 试过所有方法,到底什么真正有效" | 0.60-0.63 |
示例工作流
市场调研:
curl -X POST https://reddapi.dev/api/v1/search/semantic \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "frustrated with project management tools switching from Jira", "limit": 50}'
品牌监测(快速):
curl -X POST https://reddapi.dev/api/v1/search/vector \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "your-brand-name reviews complaints", "limit": 30}'
深度研究(两者结合):
- 首先使用向量搜索快速界定范围
- 使用语义搜索对特定角度进行深入分析
时间过滤的情绪追踪:
curl -X POST https://reddapi.dev/api/v1/search/vector \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "ChatGPT quality", "start_date": "2026-01-01", "end_date": "2026-03-18"}'
技巧
- 自然语言效果最佳- 像人类一样提问
- 包含上下文- "针对小企业"或"作为开发者"能改善搜索结果
- 结合情感词汇- "沮丧"、"喜爱"、"讨厌"、"希望"能发现更强烈的观点
- 按参与度筛选- 高赞数/评论数 = 已验证的痛点
- 使用向量搜索以提高速度- 约5秒 vs 语义搜索的约20秒
- 使用日期过滤器- 追踪不同时间段内的情绪变化
错误处理
所有端点返回一致的错误响应:
{
"success": false,
"error": "Error description",
"message": {
"title": "Human-readable title",
"message": "Detailed explanation",
"cta": "Suggested action",
"ctaLink": "/pricing"
}
}
常见状态码:400(参数无效),401(API密钥错误),403(套餐限制),429(频率限制),500(服务器错误)
文章底部电脑广告
手机广告位-内容正文底部
上一篇:skill-guard
下一篇:Google Search Console


微信扫一扫,打赏作者吧~