// api 控制台
示例API 参考中的示例响应
- total
- 48
- personal_emails
- 41
- generic_emails
- 7
- department.engineering
- 12
- department.finance
- 2
- department.hr
- 1
- department.it
- 3
- department.marketing
- 4
- department.operations
- 2
// 01 · 请求
Email Count只需一个 HTTPS 请求
使用您的密钥和密钥密码发送参数。每个 SDK、CLI 和 MCP 服务器都发出相同的调用。
GET
/email-countdomain必填- Company domain
curl -G https://api.tomba.io/v1/email-count \
--data-urlencode "domain=piedpiper.com" \
-H "X-Tomba-Key: $TOMBA_API_KEY" \
-H "X-Tomba-Secret: $TOMBA_SECRET_KEY"const params = new URLSearchParams({
domain: "piedpiper.com"
});
const res = await fetch(`https://api.tomba.io/v1/email-count?${params}`, {
headers: {
"X-Tomba-Key": process.env.TOMBA_API_KEY,
"X-Tomba-Secret": process.env.TOMBA_SECRET_KEY
}
});
const { data } = await res.json();import os, requests
res = requests.get(
"https://api.tomba.io/v1/email-count",
params={
"domain": "piedpiper.com",
},
headers={
"X-Tomba-Key": os.environ["TOMBA_API_KEY"],
"X-Tomba-Secret": os.environ["TOMBA_SECRET_KEY"],
},
)
data = res.json()["data"]// 02 · 响应
返回的内容
JSON,在任何语言中都相同。Tomba 不知道的字段为 null,绝不猜测。
GET
/email-countdata.totalinteger- All addresses
data.personal_emails, data.generic_emailsinteger- Addresses of people, and role addresses such as sales@
data.departmentobject- Addresses per team: engineering, sales, marketing, executive and 18 more
data.seniorityobject- Addresses per level: junior, senior, executive
website_idinteger- Tomba's ID for the company record; 0 when it has none
GET /email-count
200 OK· 1 email count credit
{
"data": {
"total": 48,
"personal_emails": 41,
"generic_emails": 7,
"department": {
"engineering": 12,
"finance": 2,
"hr": 1,
"it": 3,
"marketing": 4,
"operations": 2,
"management": 3,
"sales": 5,
"legal": 1,
"support": 2,
"communication": 1,
"executive": 4,
"accounting": 0,
"administrative": 1,
"diversity": 0,
"facilities": 0,
"pr": 0,
"security": 0,
"software": 0,
"warehouse": 0,
"healthcare": 0,
"education": 0
},
"seniority": {
"junior": 12,
"senior": 22,
"executive": 7
}
},
"website_id": 128734
}// 03 · 费用和限制
调用的费用
仅在满足以下条件时才对调用收费。速率限制取决于您的套餐。
// 速率限制
每秒 / 每分钟 / 每天请求数| Free | Basic | Growth | Pro | |
|---|---|---|---|---|
| Search, finder, similar, technology | 1 / 2 / 5 | 3 / 50 / 500 | 5 / 80 / 1,000 | 8 / 150 / 4,000 |
| Email verifier | 1 / 2 / 10 | 2 / 40 / 500 | 3 / 60 / 1,000 | 5 / 100 / 4,000 |
横向滚动可查看所有列
Pro Plus, Scale and credit packs of 50,000 or more: no limit on these endpoints. Enterprise: no per-second or per-minute limit, 100,000 requests a day. Daily limits reset at 00:00 UTC. 速率限制
邮箱总数、个人邮箱数量、通用邮箱数量、部门分布(工程、销售、市场、人力资源、财务、IT、法务、支持、运营、管理、沟通)和职级分布(初级、高级、管理层)。
是的。每次邮箱计数请求消耗 1 个积分。可用于在执行完整域名搜索之前预览域名规模。
工程、财务、人力资源、IT、市场、运营、管理、销售、法务、支持和沟通。
初级、高级和管理层。
可以。查询多个域名并汇总计数,以估算任何行业或细分市场中的可触达联系人总数。
计数随着我们的爬虫发现新邮箱地址而实时更新。数据反映我们 4.5 亿+ 联系人数据库的最新状态。
13 个官方 SDK:C#、Dart、Deno、Elixir、Go、Lua、Node.js、Perl、PHP、Python、R、Ruby 和 Rust。