注册后联系客服,领取 500 条免费测试额度。免费注册

Bubble Lookup API 文档

上传 CSV 或 TXT,批量查询 iMessage 注册、Apple ID 关联与 RCS 启用状态。

项目值
Base URLhttps://api.bubblelookup.com
鉴权头X-API-Key: sk_your_api_key
响应结构{ code, msg, data }

单价请见价格页。有可计费结果时,设有最低计费量的产品至少按该下限结算。多预扣的余额会退回,零条可计费结果全额退款。 查看定价

认证

使用在设置中创建的 API Key,并随每次请求一起发送。

鉴权头
X-API-Key: sk_your_api_key

妥善保管您的 API Key请始终从您的服务端发起请求;持有该 Key 的任何人都可以消耗您的账户余额。

异步检测

POST/api/v1/bulk-tasksGET/api/v1/bulk-tasks/{id}

上传文件后立刻拿到任务号,之后按任务号查询;成功的响应里带 result_url 结果下载链接。对外只有提交与查询两个动作,轮询间隔不要短于 30 秒。

请求参数

字段类型说明
service_typestring批量产品码,取下面列出的任一产品。
countrystringISO 3166-1 国家码(如 US)。号码类任务必填:每个号码都要带国家码并属于这个国家(不符合的号码会被排除、不计费),也用它选路。multipart 时必须排在 file 之前。
filefile.txt 或 .csv,每行一个标识,不超过 max_file_bytes(默认 20MB)。
Idempotency-Keyheader可选,≤128 字符。同一个 key 重放返回原任务,不会重复建单。

iMessage 批量号码检测

imessage_batch手机号每个任务可提交 1–500,000 条;最低计费条数为 500(0 表示按实际可计费结果计费);零条可计费结果全额退款。

批量检测手机号是否注册 iMessage。

提交任务

POST/api/v1/bulk-tasks
请求
curl -X POST "https://api.bubblelookup.com/api/v1/bulk-tasks" \
  -H "X-API-Key: sk_your_api_key" \
  -F service_type=imessage_batch \
  -F country=US \
  -F [email protected]
响应
{
  "code": 0,
  "msg": "ok",
  "data": {
    "id": "3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13",
    "product": "imessage_batch",
    "status": "processing",
    "country": "US",
    "submitted_lines": 509,
    "total": 509,
    "invalid_cnt": 0,
    "no_code_cnt": 0,
    "other_country_cnt": 0,
    "duplicate_cnt": 0,
    "preparing": true,
    "created_at": "2026-09-08T09:30:00Z"
  }
}

查询任务

GET/api/v1/bulk-tasks/{id}
请求
curl "https://api.bubblelookup.com/api/v1/bulk-tasks/3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13" \
  -H "X-API-Key: sk_your_api_key"
响应
{
  "code": 0,
  "msg": "ok",
  "data": {
    "id": "3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13",
    "product": "imessage_batch",
    "status": "success",
    "country": "US",
    "submitted_lines": 509,
    "total": 500,
    "invalid_cnt": 3,
    "no_code_cnt": 0,
    "other_country_cnt": 0,
    "duplicate_cnt": 6,
    "preparing": false,
    "success_cnt": 495,
    "failure_cnt": 5,
    "result_url": "https://…/result.csv",
    "created_at": "2026-09-08T09:30:00Z"
  }
}
结果列
字段示例说明
identifier12345678900提交检测的手机号。
registeredtrue该手机号是否已注册 iMessage。

RCS 批量号码检测

rcs_batch手机号每个任务可提交 1–500,000 条;最低计费条数为 500(0 表示按实际可计费结果计费);零条可计费结果全额退款。

逐条检测号码是否启用 RCS,有可用的系统信息时返回系统类型。

提交任务

POST/api/v1/bulk-tasks
请求
curl -X POST "https://api.bubblelookup.com/api/v1/bulk-tasks" \
  -H "X-API-Key: sk_your_api_key" \
  -F service_type=rcs_batch \
  -F country=US \
  -F [email protected]
响应
{
  "code": 0,
  "msg": "ok",
  "data": {
    "id": "3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13",
    "product": "rcs_batch",
    "status": "processing",
    "country": "US",
    "submitted_lines": 509,
    "total": 509,
    "invalid_cnt": 0,
    "no_code_cnt": 0,
    "other_country_cnt": 0,
    "duplicate_cnt": 0,
    "preparing": true,
    "created_at": "2026-09-08T09:30:00Z"
  }
}

查询任务

GET/api/v1/bulk-tasks/{id}
请求
curl "https://api.bubblelookup.com/api/v1/bulk-tasks/3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13" \
  -H "X-API-Key: sk_your_api_key"
响应
{
  "code": 0,
  "msg": "ok",
  "data": {
    "id": "3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13",
    "product": "rcs_batch",
    "status": "success",
    "country": "US",
    "submitted_lines": 509,
    "total": 500,
    "invalid_cnt": 3,
    "no_code_cnt": 0,
    "other_country_cnt": 0,
    "duplicate_cnt": 6,
    "preparing": false,
    "success_cnt": 495,
    "failure_cnt": 5,
    "result_url": "https://…/result.csv",
    "created_at": "2026-09-08T09:30:00Z"
  }
}
结果列
字段示例说明
identifier12025550123提交检测的手机号。
registeredtrue号码是否启用 RCS。留空表示无法判定。
systemiOS可取得的设备系统,例如 iOS 或 Android。

iCloud 批量号码检测

apple_batch手机号每个任务可提交 1–500,000 条;最低计费条数为 500(0 表示按实际可计费结果计费);零条可计费结果全额退款。

批量检测手机号是否关联 Apple ID。

提交任务

POST/api/v1/bulk-tasks
请求
curl -X POST "https://api.bubblelookup.com/api/v1/bulk-tasks" \
  -H "X-API-Key: sk_your_api_key" \
  -F service_type=apple_batch \
  -F country=US \
  -F [email protected]
响应
{
  "code": 0,
  "msg": "ok",
  "data": {
    "id": "3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13",
    "product": "apple_batch",
    "status": "processing",
    "country": "US",
    "submitted_lines": 509,
    "total": 509,
    "invalid_cnt": 0,
    "no_code_cnt": 0,
    "other_country_cnt": 0,
    "duplicate_cnt": 0,
    "preparing": true,
    "created_at": "2026-09-08T09:30:00Z"
  }
}

查询任务

GET/api/v1/bulk-tasks/{id}
请求
curl "https://api.bubblelookup.com/api/v1/bulk-tasks/3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13" \
  -H "X-API-Key: sk_your_api_key"
响应
{
  "code": 0,
  "msg": "ok",
  "data": {
    "id": "3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13",
    "product": "apple_batch",
    "status": "success",
    "country": "US",
    "submitted_lines": 509,
    "total": 500,
    "invalid_cnt": 3,
    "no_code_cnt": 0,
    "other_country_cnt": 0,
    "duplicate_cnt": 6,
    "preparing": false,
    "success_cnt": 495,
    "failure_cnt": 5,
    "result_url": "https://…/result.csv",
    "created_at": "2026-09-08T09:30:00Z"
  }
}
结果列
字段示例说明
identifier12345678900提交检测的手机号。
registeredtrue该手机号是否关联 Apple ID。

iCloud 批量邮箱检测

apple_email_batch邮箱每个任务可提交 1–500,000 条;最低计费条数为 500(0 表示按实际可计费结果计费);零条可计费结果全额退款。

批量检测邮箱是否关联 Apple ID。

提交任务

POST/api/v1/bulk-tasks
请求
curl -X POST "https://api.bubblelookup.com/api/v1/bulk-tasks" \
  -H "X-API-Key: sk_your_api_key" \
  -F service_type=apple_email_batch \
  -F [email protected]
响应
{
  "code": 0,
  "msg": "ok",
  "data": {
    "id": "3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13",
    "product": "apple_email_batch",
    "status": "processing",
    "submitted_lines": 509,
    "total": 509,
    "invalid_cnt": 0,
    "no_code_cnt": 0,
    "other_country_cnt": 0,
    "duplicate_cnt": 0,
    "preparing": true,
    "created_at": "2026-09-08T09:30:00Z"
  }
}

查询任务

GET/api/v1/bulk-tasks/{id}
请求
curl "https://api.bubblelookup.com/api/v1/bulk-tasks/3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13" \
  -H "X-API-Key: sk_your_api_key"
响应
{
  "code": 0,
  "msg": "ok",
  "data": {
    "id": "3f9c2a7d8e4b4c1a9f0e6b2d5c8a7e13",
    "product": "apple_email_batch",
    "status": "success",
    "submitted_lines": 509,
    "total": 500,
    "invalid_cnt": 3,
    "no_code_cnt": 0,
    "other_country_cnt": 0,
    "duplicate_cnt": 6,
    "preparing": false,
    "success_cnt": 495,
    "failure_cnt": 5,
    "result_url": "https://…/result.csv",
    "created_at": "2026-09-08T09:30:00Z"
  }
}
结果列
字段示例说明
identifier[email protected]提交检测的邮箱地址。
registeredtrue该邮箱地址是否关联 Apple ID。

余额查询

GET/api/v1/balance

查询账户当前余额(USD micros)。只读接口:不产生检测记录,也不扣费。

余额查询

GET/api/v1/balance
请求
curl "https://api.bubblelookup.com/api/v1/balance" \
  -H "X-API-Key: sk_your_api_key"
响应
{
  "code": 0,
  "msg": "ok",
  "data": {
    "balance_micros": 12500000
  }
}

并发、超时与重试方式

请查看各产品接受的文件类型、最大提交量和最低计费量。

字段说明
号码名单按国家或地区提交使用带国家区号的号码,同一份号码名单使用同一个国家或地区。邮箱任务无需选择国家。
查询任务状态提交后用任务 ID 查询进度,完成后从任务响应中获取下载链接。
每个用户默认最多 5 个请求在处理提交批量任务也计入并发名额。满额时返回 42901,请按 Retry-After 等待后重试。

错误码

业务码说明
40000产品类型、国家参数或上传内容无效
40001请求体不是有效的 JSON
40100API Key 缺失或无效
40200账户余额不足
40400任务不存在或不属于当前账户
42901并发提交已达上限,按 Retry-After 等待后重试
50400提交请求超时。重试时使用同一 Idempotency-Key,避免重复提交。