微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

Apollo

Apollo · v1.0.7
安全 A 级 作者 byungkyu 公开目录收录
6.3k 下载 5 安装 24.1k 收藏 6 浏览

简介

Apollo

原始描述

Apollo.io API integration with managed OAuth. Search and enrich people and companies, manage contacts and accounts. Use this skill when users want to prospect, enrich leads, or manage sales data. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).

通过你的 Agent 添加

安装目录:apollo/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/apollo-156853/
Codex CLI~/.codex/skills/apollo-156853/
DeepSeek Harness~/.agents/skills/apollo-156853/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

Apollo Skill 是一套完整的 Apollo.io API 集成指南,通过 Maton 代理服务实现托管 OAuth 认证。用户可执行以下核心操作:

  1. 人员与企业搜索:使用 mixed_people/api_search 和 organizations/search 端点,按公司名称、职位、地理位置、员工规模等维度筛选潜在客户。

  2. 数据增强服务:通过 people/match 端点基于邮箱或 LinkedIn 链接丰富个人资料,利用 organizations/enrich 基于域名获取公司详细信息。

  3. 销售管道管理:支持联系人/账户的创建与更新、邮件序列管理、标签分类等 CRM 核心功能。

  4. 连接生命周期管理:提供完整的 OAuth 连接创建、查询、删除能力,支持多账户场景下的连接指定。

所有请求需通过 api.maton.ai 代理转发,并携带 MATON_API_KEY 认证头。写入操作声明需用户显式确认。

显著优点

  1. 安全代理架构:Maton 中间层隔离了直接与 Apollo.io 的凭证交互,降低密钥泄露风险,统一处理 OAuth 生命周期。

  2. 完整功能覆盖:涵盖 Apollo.io 核心 API —— 搜索、增强、CRM 管理、邮件序列,满足销售开发团队端到端需求。

  3. 多语言示例:提供 Python、JavaScript/cURL 等主流语言的完整代码示例,降低集成门槛。

  4. 权限边界清晰:文档明确声明访问范围(联系人、账户、机会、序列、邮件),并强调写入操作需用户批准。

  5. 连接管理灵活:支持多 Apollo 账户场景,可通过 Maton-Connection Header 精确路由请求。

潜在缺点与局限性

  1. 外部依赖单一:核心功能完全依赖 Maton 代理服务的可用性,若 Maton 服务中断则 Skill 失效,无直接连接 Apollo.io 的降级方案。

  2. 速率限制约束:Apollo API 限制每秒 10 请求,大规模数据抓取场景需自行实现分页与限流逻辑。

  3. 凭证配置门槛:需用户自行注册 Maton 账户、获取并安全配置 API Key,对非技术用户存在使用门槛。

  4. 数据隐私顾虑:业务敏感数据(联系人、公司信息)需经过 Maton 代理转发,存在第三方数据处理的合规考量。

  5. T3 来源可信度:由个人开发者(byungkyu)维护,非官方或企业级发布,长期维护承诺与功能更新存在不确定性。

适合的目标群体

  • 销售开发代表(SDR/BDR):需要批量搜索潜在客户、获取决策人联系方式的销售团队。
  • 市场营销运营:执行基于账户的营销(ABM)活动,需要企业画像与联系人数据支持。
  • CRM 管理员:需要自动化联系人/账户录入、维护数据质量的运营人员。
  • 增长黑客/创业者:资源有限但需要专业级销售情报工具支持的早期团队。
  • 技术集成开发者:正在构建销售自动化工作流、需要将 Apollo 数据接入内部系统的工程师。

使用风险

  1. 服务可用性风险:Maton 代理服务若发生故障或变更 API,将直接影响所有依赖该 Skill 的工作流。

  2. 凭证泄露风险:MATON_API_KEY 若配置不当(硬编码、提交至版本控制)可能导致账户被滥用,建议严格使用环境变量并定期轮换。

  3. 数据合规风险:处理欧盟或加州联系人数据时需评估 GDPR/CCPA 合规性,Maton 与 Apollo 的数据处理协议需额外审查。

  4. 速率超限风险:高频调用易触发 429 限流,可能导致自动化任务中断,需实现指数退避重试机制。

  5. OAuth 会话过期:长期运行的自动化流程可能因连接状态变化(INACTIVE)而失败,需监控连接状态并实现重连逻辑。

技能正文


name: apollo description: | Apollo.io API integration with managed OAuth. Search and enrich people and companies, manage contacts and accounts. Use this skill when users want to prospect, enrich leads, or manage sales data. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). compatibility: Requires network access and valid Maton API key metadata: author: maton version: "1.0" clawdbot: emoji: 🧠 requires: env: - MATON_API_KEY

Apollo

Access the Apollo.io API with managed OAuth authentication. Search people and organizations, enrich contacts, and manage your sales pipeline.

Quick Start

# Search for people at a company
python <<'EOF'
import urllib.request, os, json
data = json.dumps({'q_organization_name': 'Google', 'per_page': 10}).encode()
req = urllib.request.Request('https://api.maton.ai/apollo/v1/mixed_people/api_search', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Base URL

https://api.maton.ai/apollo/{native-api-path}

Maton proxies requests to api.apollo.io and automatically injects your API key.

Authentication

All requests require the Maton API key in the Authorization header:

Authorization: Bearer $MATON_API_KEY

Environment Variable: Set your API key as MATON_API_KEY:

export MATON_API_KEY="YOUR_API_KEY"

Getting Your API Key

  1. Sign in or create an account at maton.ai
  2. Go to maton.ai/settings
  3. Copy your API key

Connection Management

Manage your Apollo connections at https://api.maton.ai.

List Connections

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections?app=apollo&status=ACTIVE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Create Connection

python <<'EOF'
import urllib.request, os, json
data = json.dumps({'app': 'apollo'}).encode()
req = urllib.request.Request('https://api.maton.ai/connections', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Content-Type', 'application/json')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Get Connection

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections/{connection_id}')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Response:

{
  "connection": {
    "connection_id": "{connection_id}",
    "status": "ACTIVE",
    "creation_time": "2025-12-08T07:20:53.488460Z",
    "last_updated_time": "2026-01-31T20:03:32.593153Z",
    "url": "https://connect.maton.ai/?session_token=...",
    "app": "apollo",
    "metadata": {}
  }
}

Open the returned url in a browser to complete OAuth authorization.

Delete Connection

python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections/{connection_id}', method='DELETE')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Specifying Connection

If you have multiple Apollo connections, specify which one to use with the Maton-Connection header:

python <<'EOF'
import urllib.request, os, json
data = json.dumps({'q_organization_name': 'Google', 'per_page': 10}).encode()
req = urllib.request.Request('https://api.maton.ai/apollo/v1/mixed_people/api_search', data=data, method='POST')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
req.add_header('Maton-Connection', '{connection_id}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

If you have multiple connections, always include this header to ensure requests go to the intended account.

Security & Permissions

  • Access is scoped to contacts, accounts, opportunities, sequences, and email data within the connected Apollo account.
  • All write operations require explicit user approval. Before executing any create, update, or delete call, confirm the target resource and intended effect with the user.

API Reference

People

Search People
POST /apollo/v1/mixed_people/api_search
Content-Type: application/json

{
  "q_organization_name": "Google",
  "page": 1,
  "per_page": 25
}
Enrich Person by Email
POST /apollo/v1/people/match
Content-Type: application/json

{
  "email": "john@example.com"
}
Enrich Person by LinkedIn
POST /apollo/v1/people/match
Content-Type: application/json

{
  "linkedin_url": "https://linkedin.com/in/johndoe"
}

Organizations

Search Organizations
POST /apollo/v1/organizations/search
Content-Type: application/json

{
  "q_organization_name": "Google",
  "page": 1,
  "per_page": 25
}
Enrich Organization
POST /apollo/v1/organizations/enrich
Content-Type: application/json

{
  "domain": "google.com"
}

Contacts

Search Contacts
POST /apollo/v1/contacts/search
Content-Type: application/json

{
  "page": 1,
  "per_page": 25
}
Create Contact
POST /apollo/v1/contacts
Content-Type: application/json

{
  "first_name": "John",
  "last_name": "Doe",
  "email": "john@example.com",
  "organization_name": "Acme Corp"
}
Update Contact
PUT /apollo/v1/contacts/{contactId}
Content-Type: application/json

{
  "first_name": "Jane"
}

Accounts

Search Accounts
POST /apollo/v1/accounts/search
Content-Type: application/json

{
  "page": 1,
  "per_page": 25
}
Create Account
POST /apollo/v1/accounts
Content-Type: application/json

{
  "name": "Acme Corp",
  "domain": "acme.com"
}

Sequences

Search Sequences
POST /apollo/v1/emailer_campaigns/search
Content-Type: application/json

{
  "page": 1,
  "per_page": 25
}
Add Contact to Sequence
POST /apollo/v1/emailer_campaigns/{campaignId}/add_contact_ids
Content-Type: application/json

{
  "contact_ids": ["contact_id_1", "contact_id_2"]
}

Labels

List Labels
GET /apollo/v1/labels

Search Filters

Common search parameters:

  • q_organization_name - Company name
  • q_person_title - Job title
  • person_locations - Array of locations
  • organization_num_employees_ranges - Employee count ranges
  • q_keywords - General keyword search

Code Examples

JavaScript

const response = await fetch(
  'https://api.maton.ai/apollo/v1/mixed_people/api_search',
  {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'Authorization': `Bearer ${process.env.MATON_API_KEY}`
    },
    body: JSON.stringify({
      q_organization_name: 'Google',
      per_page: 10
    })
  }
);

Python

import os
import requests

response = requests.post(
    'https://api.maton.ai/apollo/v1/mixed_people/api_search',
    headers={'Authorization': f'Bearer {os.environ["MATON_API_KEY"]}'},
    json={'q_organization_name': 'Google', 'per_page': 10}
)

Notes

  • Pagination uses page and per_page in POST body
  • Most list endpoints use POST with /search suffix
  • Email enrichment consumes credits
  • people/search and mixed_people/search are deprecated - use mixed_people/api_search
  • IMPORTANT: When using curl commands, use curl -g when URLs contain brackets (fields[], sort[], records[]) to disable glob parsing
  • IMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments. You may get "Invalid API key" errors when piping.

Error Handling

Status Meaning
400 Missing Apollo connection
401 Invalid or missing Maton API key
429 Rate limited (10 req/sec per account)
4xx/5xx Passthrough error from Apollo API

Troubleshooting: API Key Issues

  1. Check that the MATON_API_KEY environment variable is set:
echo $MATON_API_KEY
  1. Verify the API key is valid by listing connections:
python <<'EOF'
import urllib.request, os, json
req = urllib.request.Request('https://api.maton.ai/connections')
req.add_header('Authorization', f'Bearer {os.environ["MATON_API_KEY"]}')
print(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))
EOF

Troubleshooting: Invalid App Name

  1. Ensure your URL path starts with apollo. For example:
  • Correct: https://api.maton.ai/apollo/v1/mixed_people/api_search
  • Incorrect: https://api.maton.ai/v1/mixed_people/api_search

Resources

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill