简介
AI驱动的专业人脉搜索与深度背调工具,精准挖掘目标人物职业履历与社交关系网络。
原始描述
Search your professional network and research people using the Happenstance API.
中文使用说明 来自收录源
Happenstance API 综合评估
核心用法
Happenstance API 是一款面向专业人脉网络搜索与人物深度研究的API服务,主要提供两大核心能力:网络搜索(Search) 和 人物研究(Research)。用户可通过自然语言描述(如"从事AI基础设施的工程师")在自有社交圈、好友连接及特定群组中异步搜索目标人群,也可针对特定个体进行深度职业背景调查。
搜索功能支持多维度过滤:用户自有连接、好友连接、指定群组,返回结果包含姓名、职位、公司、社交链接、共同好友及AI生成的特征评分。人物研究功能则输出结构化档案,涵盖工作经历、教育背景、项目成果、出版物、兴趣爱好及综合摘要,并附来源链接。
显著优点
- AI驱动的语义搜索:突破传统关键词匹配,支持自然语言描述复杂人才画像
- 关系网络可视化:自动标注共同好友(mutuals)和社交路径,降低冷接触门槛
- 深度研究自动化:将传统需数小时的人工背调压缩至1-3分钟,输出结构化数据
- 多源数据聚合:整合LinkedIn、Twitter等多平台信息,生成统一档案视图
潜在缺点与局限性
- 异步轮询设计:搜索与研究均需客户端轮询状态(5-10秒间隔),增加集成复杂度
- 信用点计费模式:搜索2点/次、研究1点/次,高频使用成本可控但需预充值管理
- 并发限制严格:最多10个同时进行的搜索/研究任务,大规模批量处理受限
- 结果依赖用户数据质量:文档明确提示"用户连接的数据源越多,搜索结果越好"
- 模糊匹配风险:研究请求可能返回
FAILED_AMBIGUOUS状态,需人工二次确认
适合人群
- 招聘与猎头:快速定位特定领域人才并生成完整职业档案
- 投资人/BD:尽职调查阶段高效收集目标公司关键人员背景
- 销售与合作伙伴拓展:通过共同好友找到最佳引荐路径
- 媒体记者/研究者:人物报道前的背景资料收集
常规风险
- 隐私合规风险:聚合公开数据但可能涉及欧盟GDPR等法规对"数据画像"的限制
- 数据时效性问题:职业变动、公司信息可能存在滞后,关键决策需人工核实
- API密钥泄露风险:Bearer Token模式需妥善保管
HAPPENSTANCE_API_KEY
技能正文
name: happenstance description: Search your professional network and research people using the Happenstance API. metadata: openclaw: requires: env: - HAPPENSTANCE_API_KEY bins: - curl primaryEnv: HAPPENSTANCE_API_KEY
Happenstance
Search your network and get detailed research profiles on people using the Happenstance API.
Documentation: https://developer.happenstance.ai
Authentication
All requests require the HAPPENSTANCE_API_KEY environment variable. Pass it as a Bearer token:
Authorization: Bearer $HAPPENSTANCE_API_KEY
Base URL: https://api.happenstance.ai
Billing
- Search: 2 credits per search (including find-more)
- Research: 1 credit per completed research
- Check balance with
GET /v1/usage - Purchase credits at https://happenstance.ai/settings/api
Available Operations
1. Search Your Network
Search for people across groups and connections. Searches run asynchronously.
Start a search:
curl -s -X POST https://api.happenstance.ai/v1/search \
-H "Authorization: Bearer $HAPPENSTANCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "engineers who have worked on AI infrastructure",
"include_my_connections": true,
"include_friends_connections": true
}'
You can also search within specific groups by adding "group_ids": ["uuid1", "uuid2"]. Get group IDs from GET /v1/groups.
At least one search source is required: group_ids, include_my_connections: true, or include_friends_connections: true.
Response:
{"id": "search-uuid", "url": "https://happenstance.ai/search/search-uuid"}
Poll for results (every 5-10 seconds until status is COMPLETED or FAILED):
curl -s https://api.happenstance.ai/v1/search/SEARCH_ID \
-H "Authorization: Bearer $HAPPENSTANCE_API_KEY"
Completed response includes:
status:RUNNING,COMPLETED, orFAILEDresults: array of people, each withid,name,current_title,current_company,summary,weighted_traits_score,socials(withhappenstance_url,linkedin_url,twitter_url),mutuals, andtraitshas_more: boolean indicating if more results are availablemutuals: top-level array of mutual connections (results reference these by index)traits: top-level array of trait definitions (results reference these by index)
2. Find More Results
When has_more is true on a completed search, get additional results that exclude all previously returned people. Costs 2 credits.
curl -s -X POST https://api.happenstance.ai/v1/search/SEARCH_ID/find-more \
-H "Authorization: Bearer $HAPPENSTANCE_API_KEY"
Response:
{"page_id": "page-uuid", "parent_search_id": "search-uuid"}
Then poll with the page_id:
curl -s "https://api.happenstance.ai/v1/search/SEARCH_ID?page_id=PAGE_ID" \
-H "Authorization: Bearer $HAPPENSTANCE_API_KEY"
3. Research a Person
Get a detailed professional profile for a specific person. Runs asynchronously.
Start research:
curl -s -X POST https://api.happenstance.ai/v1/research \
-H "Authorization: Bearer $HAPPENSTANCE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"description": "Garry Tan, CEO of Y Combinator, @garrytan on Twitter"}'
Include as many details as possible (full name, company, title, location, social handles) for best results.
Response:
{"id": "research-uuid"}
Poll for results (every 5-10 seconds until status is COMPLETED, FAILED, or FAILED_AMBIGUOUS):
curl -s https://api.happenstance.ai/v1/research/RESEARCH_ID \
-H "Authorization: Bearer $HAPPENSTANCE_API_KEY"
Completed response includes a profile object with:
person_metadata:full_name,alternate_names,profile_urls,current_locations,taglineemployment: array of jobs withcompany_name,job_title,start_date,end_date,descriptioneducation: array withuniversity_name,degree,start_date,end_dateprojects: array withtitle,description,urlswritings: array of publications withtitle,description,date,urlshobbies: array withdescriptionsummary: overalltextsummary with supportingurls
4. List Groups
Get the groups you can search within:
curl -s https://api.happenstance.ai/v1/groups \
-H "Authorization: Bearer $HAPPENSTANCE_API_KEY"
Returns {"groups": [{"id": "uuid", "name": "Group Name"}, ...]}.
5. Check Credits and Usage
curl -s https://api.happenstance.ai/v1/usage \
-H "Authorization: Bearer $HAPPENSTANCE_API_KEY"
Returns balance_credits, has_credits, purchases, usage history, and auto_reload settings.
Error Handling
Errors use RFC 7807 format:
{"type": "about:blank", "title": "Bad Request", "status": 400, "detail": "Description must not be empty", "instance": "/v1/research"}
Key status codes:
401: Invalid or missing API key402: Insufficient credits429: Too many concurrent requests (max 10 running searches or research requests)500/503: Server error, retry with backoff
Tips
- Always check credits before starting multiple searches or research requests.
- Search typically completes in 30-60 seconds. Research takes 1-3 minutes.
- Each search returns up to 30 results. Use find-more for additional pages.
- When presenting search results, include the person's name, title, company, summary, and Happenstance profile link.
- When presenting research, summarize the profile and link to sources.
- The more data sources the user connects, the better the search results.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。