cURL 请求
POST /api/v1/checkcurl -X POST "https://api.walookup.com/api/v1/check" \
-H "X-API-Key: sk_your_api_key" \
-H "Content-Type: application/json" \
-d '{ "service_type": "ws_profile", "identifier": "+12135550164" }'查一个号码在 WhatsApp 上有没有头像,取回图片地址,并读出这张头像的画像属性。
POST /api/v1/check批量检测
号码很多时,可以改用批量检测。
上传整份号码文件,批量返回 WhatsApp 头像链接,以及头像识别结果:类别、年龄、性别、肤色与发色。
WhatsApp 头像解析无需登录,直接试用。
免费试用仅供测试:头像以压缩缩略图展示,正式检测返回高清原图。
提交一个号码,并用 service_type 选择本产品;认证使用您的 API Key。
复制下面的 curl 命令,只需将示例 API Key 替换为您自己的 Key。
POST /api/v1/checkcurl -X POST "https://api.walookup.com/api/v1/check" \
-H "X-API-Key: sk_your_api_key" \
-H "Content-Type: application/json" \
-d '{ "service_type": "ws_profile", "identifier": "+12135550164" }'200 OK{
"code": 0,
"msg": "ok",
"data": {
"service_type": "ws_profile",
"identifier": "+12135550164",
"registered": true,
"avatar": true,
"avatar_url": "<image url>",
"category": "individual portrait",
"age": 39,
"gender": "male",
"skin_color": "white",
"hair_color": "brown"
}
}请包含国家区号,例如 +12135550164,确保每次检测对应一个明确的号码。
当前 service_type 只返回其定义的 WhatsApp 字段;需要不同字段时请选择对应产品。
提交后马上返回所选字段;需要更新状态时请重新检测,联系用户前仍需取得相应同意。
registered · boolean — 该号码是否注册了 WhatsApp。avatar · boolean — 是否设置了头像。avatar_url · string — 头像的图片地址;未设置头像时为空字符串。category · string — 图片是什么:individual portrait、group photo、game avatar、cartoon avatar、landscape、pet avatar 或 object。没跑出画像时为 unknown。age · integer — 估计年龄,整数,误差约 3 岁,范围 0-80。估计不出时(例如没判定出性别)不返回该字段。gender · string — male、female 或 unknown。skin_color · string — 描述性的肤色,如 white、east_asian、hispanic。按开放集合处理;判不出时为 unknown。hair_color · string — 描述性的发色,如 black、brown、blond、gray white。按开放集合处理;判不出时为 unknown。WhatsApp 头像解析 用于返回该号码在 WhatsApp 上是否有头像,有则一并给出图片地址。调用时把 service_type(选择检测产品的参数)设为 ws_profile,提交一个 E.164 格式号码(例如 +12135550164),即可在同一次响应中读取 registered。
它检测一个号码,提交后马上返回该号码在 WhatsApp 上是否有头像,有则一并给出图片地址。
仅在检测完成后扣除余额;检测失败或无法判定的请求不会保留扣费。
提交带国家区号的完整号码,例如 +12135550164。
不是。结果仅反映检测时可获得的 WhatsApp 状态字段;同意、接收方偏好和适用的平台规则仍需由您自行遵守。