# 邮箱计数响应

由 [`GET /email-count`](/api/finder#email-count) 在 `data` 中返回。计数涵盖 Tomba 收录的该域名的邮箱地址。使用 `type=personal` 或 `type=generic` 时，`total` 以及按部门和职级的计数只包含该类型。

## 字段

| 字段                                                         | 类型    | 说明                                                                                                                          |
| ------------------------------------------------------------- | ------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| `total`                                                       | integer | 所请求 `type` 的地址数量。                                                                                         |
| `personal_emails`                                             | integer | 个人地址数量。                                                                                                        |
| `generic_emails`                                              | integer | 通用（角色）地址数量。                                                                                                  |
| `department.<name>`                                           | integer | 每个部门的地址数量。每个[部门](/attributes/person#departments)都会出现，没有地址时为 `0`。 |
| `seniority.junior`, `seniority.senior`, `seniority.executive` | integer | 每个职级的地址数量。                                                                                         |

响应还包含一个顶层 `website_id`，即 Tomba 为该域名分配的内部 ID。

未知域名、网页邮箱域名或一次性邮箱域名的每项计数都返回 `0`。

## 示例

`GET /email-count?domain=stripe.com`:

```json
{
    "data": {
        "total": 1250,
        "personal_emails": 1100,
        "generic_emails": 150,
        "department": {
            "engineering": 410,
            "finance": 35,
            "hr": 22,
            "it": 18,
            "marketing": 64,
            "operations": 51,
            "management": 88,
            "sales": 120,
            "legal": 12,
            "support": 47,
            "communication": 9,
            "executive": 15,
            "accounting": 6,
            "administrative": 4,
            "diversity": 0,
            "facilities": 2,
            "pr": 5,
            "security": 14,
            "software": 30,
            "warehouse": 0,
            "healthcare": 0,
            "education": 1
        },
        "seniority": {
            "junior": 180,
            "senior": 420,
            "executive": 37
        }
    },
    "website_id": 1024
}
```
