Airbnb 检测 API:批量手机号注册检测
检测上传文件中的手机号是否注册 Airbnb。使用 task_type 为 airbnb,流程与其他手机号平台注册检测任务一致。
上传检测文件示例:
curl --location 'https://api.checknumber.ai/v1/tasks' \--header 'X-API-Key: API-KEY' \--form 'file=@"./numbers.txt"' \--form 'task_type="airbnb"'查询任务状态示例:
curl --location 'https://api.checknumber.ai/v1/gettasks' \--header 'X-API-Key: API-KEY' \--form 'task_id="task_id"'上传成功后的响应
{ "task_id": "d4g8o46p2jvh04o9uolg", "status": "pending", "total": 5000, "message": "Task created successfully", "created_at": "2025-11-21T15:58:08.916446594Z"}处理中
{ "created_at": "2025-11-21T08:27:09.933Z", "updated_at": "2025-11-21T08:27:10.241Z", "task_id": "d4g24nep2jvh04o9uoh0", "user_id": "wfi7wGPS4B4PdtTMox5Y", "status": "processing", "total": 5000, "success": 2500, "failure": 0}完成(
exported)
{ "created_at": "2025-11-21T08:27:09.933Z", "updated_at": "2025-11-21T08:27:10.241Z", "task_id": "d4g24nep2jvh04o9uoh0", "user_id": "wfi7wGPS4B4PdtTMox5Y", "status": "exported", "total": 5000, "success": 5000, "failure": 0, "result_url": "https://example-link-to-results.zip"}上传文件地址
POST https://api.checknumber.ai/v1/tasks
上传参数
| 参数名 | 说明 |
|---|---|
file | file,每行一个手机号,建议使用 E.164 格式,例如 +14155552671 |
task_type | string,固定为 airbnb |
查询任务状态地址
POST https://api.checknumber.ai/v1/gettasks
查询参数
| 参数名 | 说明 |
|---|---|
task_id | 创建任务返回的任务 ID |
结果字段
| 字段名 | 说明 |
|---|---|
Number | 手机号 |
activated | 是否注册 Airbnb(yes / no,以导出文件为准) |
响应字段说明
| 字段 | 说明 |
|---|---|
created_at | 创建时间 |
updated_at | 最后更新时间 |
task_id | 任务 ID |
user_id | 用户 ID |
status | pending · processing · exported |
total | 总行数 |
success | 成功数 |
failure | 失败数 |
result_url | 结果下载地址 |
状态码
| 状态 | 说明 |
|---|---|
200 | charge,成功 |
400 | free,请求无效 |
500 | free,服务错误 |