Apollo.io
Interact with Apollo.io via REST API.
Config
Create config/apollo.env (example at config/apollo.env.example):
- -
APOLLO_BASE_URL (usually https://api.apollo.io) - INLINECODE4
Scripts load this automatically.
Commands
Low-level helpers
- - GET:
skills/apollo/scripts/apollo-get.sh "/api/v1/users" (endpoint availability may vary) - People search (new): INLINECODE6
- POST (generic): INLINECODE7
Enrichment (common)
- - Enrich website/org by domain: INLINECODE8
- Get complete org info (bulk): INLINECODE9
Notes
- - Apollo authenticates via
X-Api-Key header (these scripts send it automatically). - Some endpoints require a master API key and a paid plan (Apollo returns
403 in that case). - Rate limiting is common (e.g. 600/hour on many endpoints); handle
429 responses.
Apollo.io
通过REST API与Apollo.io进行交互。
配置
创建config/apollo.env文件(示例见config/apollo.env.example):
- - APOLLOBASEURL(通常为https://api.apollo.io)
- APOLLOAPIKEY
脚本会自动加载这些配置。
命令
底层辅助工具
- - GET请求:skills/apollo/scripts/apollo-get.sh /api/v1/users(端点可用性可能有所不同)
- 人员搜索(新):skills/apollo/scripts/apollo-people-search.sh vp marketing 1 5
- POST请求(通用):skills/apollo/scripts/apollo-post.sh /api/v1/mixedpeople/apisearch {qkeywords:vp marketing,page:1,perpage:5}
数据丰富(常用)
- - 按域名丰富网站/组织信息:skills/apollo/scripts/apollo-enrich-website.sh apollo.io
- 获取完整组织信息(批量):skills/apollo/scripts/apollo-orgs-bulk.sh 6136480939c707388501e6b9
注意事项
- - Apollo通过X-Api-Key标头进行身份验证(这些脚本会自动发送该标头)。
- 某些端点需要主API密钥和付费套餐(否则Apollo会返回403错误)。
- 速率限制很常见(例如许多端点每小时600次请求);请处理429响应。