360 Secure SkillHub
360 安全技能中心

It validates phone-number status including valid, invalid, landline, mobile andWhatsApp-registered statuses. It helps sales teams, recruiters, traders and exportersverify phone-number authenticity, cut invalid contacts and boost outreach efficiency. Thisessential tool supports CRM data cleansing, candidate screening and supplier verification.It works for pre-send cleanup for bulk foreign-trade SMS, recruitment background checksand buyer validation.

基于 Open Platform 手机号校验 API 的脚本工具,接受一个或多个国际格式号码,返回号码有效性、号码类型及 WhatsApp 注册状态,适用于外呼名单与 CRM 联系人清洗;需在用户配置目录的 .env 文件中设置 UPKUAJING_API_KEY,调用按次计费,异常响应可在用户确认后上报平台。

分类:效率
upkuajing
upkuajing
热度 31.00
最近更新 2026-11-26 14:54:14

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add upkuajing/phone-validity-check
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
phone-validity-check
description
Verify mobile and landline numbers and WhatsApp registration status. Reduce invalid contacts to improve outreach for exporters, recruiters and sales teams. Trigger: phone number validation, WhatsApp status check, CRM data cleansing, bulk SMS pre‑verification, supplier verification
metadata
{"version":"1.0.3","homepage":"https://www.upkuajing.com","clawdbot":{"emoji":"📞","requires":{"bins":["python"],"env":["UPKUAJING_API_KEY"]},"primaryEnv":"UPKUAJING_API_KEY"}}

Phone Validity Check

Check phone number validity, type, and WhatsApp status using the Open Platform API.

Overview

This skill provides access to phone validity detection through a single interface:

  • Phone Validity Check (phone_validity_check.py): Check phone number validity, type, and WhatsApp status

Running Scripts

Environment Setup

  1. Check Python: python --version
  2. Install dependencies: pip install -r requirements.txt

Script directory: scripts/*.py Run example: python scripts/*.py

Important: Always use direct script invocation like python scripts/phone_validity_check.py. Do NOT use shell compound commands like cd scripts && python phone_validity_check.py.

Phone Validity Check (phone_validity_check.py)

Check phone number validity, type, and WhatsApp status.

Parameters: See Phone Validity API

Examples:

# Check single phone number
python scripts/phone_validity_check.py --phones "+8613812345678"

# Check multiple phone numbers
python scripts/phone_validity_check.py --phones "+8613812345678 +14155551234 +442071234567"

API Key and Account

  • API Key: Stored in ~/.upkuajing/.env file as UPKUAJING_API_KEY
  • First check: If not set, prompt user to provide or apply at Open Platform

API Key Not Set

First check if the ~/.upkuajing/.env file has UPKUAJING_API_KEY; If UPKUAJING_API_KEY is not set, prompt the user to choose:

  1. User has one: User provides it (manually add to ~/.upkuajing/.env file)
  2. User doesn't have one: Guide user to apply at Open Platform Wait for user selection;

Account Top-up

When API response indicates insufficient balance, explain and guide user to top up:

  1. Create top-up order (auth.py --new_rec_order)
  2. Based on order response, send payment page URL to user, guide user to open URL and pay, user confirms after successful payment;

Get Account Information

Report Skill Call Errors

When an API call fails or returns abnormal data (server error, timeout, malformed response, etc.), explain the anomaly to the user in natural language and ask whether to report it to the platform for troubleshooting. Only run the report after user confirmation:

python scripts/error_report.py --params '{"requestPath":"/agent/validation/phone","requestId":"f47ac10b58cc4372a5670e02b2c3d479","context":"Phone validity check failed with a server error"}'
  • Do not report normal business conditions (insufficient balance, invalid API key, parameter errors) — handle them via their own flows
  • Error reporting does not incur query fees
  • Parameters: See Error Report API

Fees

Phone validity check API calls incur fees. Latest pricing: Users can visit Detailed Price Description Or use: python scripts/auth.py --price_info (returns complete pricing for all interfaces)

Fee Confirmation Principle

Any operation that incurs fees must first inform and wait for explicit user confirmation. Do not execute in the same message as the notification.

Billing Mode

This skill bills the API balance only. Its endpoints do not support plans, so planMode is never sent and is ignored if provided.

Workflow

Decision Guide

User Intent Use API
"Check if phone number is valid" Phone Validity Check

Error Handling

  • API key invalid/non-existent: Check UPKUAJING_API_KEY in ~/.upkuajing/.env file
  • Insufficient balance: Guide user to top up
  • Invalid parameters: Must first check the corresponding API documentation in references/ directory, get correct parameter names and formats from documentation, do not guess
  • Skill call errors / abnormal responses: Explain to the user and, with user confirmation, report to the platform via python scripts/error_report.py (see Report Skill Call Errors)

API Documentation Reference

Notes

  • File paths use forward slashes on all platforms
  • Do not guess parameter names, get accurate parameter names and formats from documentation
  • Prohibit outputting technical parameter format: Do not display code-style parameters in responses, convert to natural language
  • Do not estimate or guess fees — use python scripts/auth.py --price_info to get accurate pricing information

Related Skills

Other skills you might find useful:

  • linkedin-person-search — Search people from the LinkedIn source
  • global-company-person-search — Search people from the global company database
  • linkedin-company-search — Search companies from the LinkedIn source
  • global-company-search — Search companies from the global company database
  • global-company-shareholder — Query shareholder list from the global company database
  • global-company-employee — Query employee list from the global company database
  • global-company-person-colleague — Query colleague list from the global company database
  • global-company-person-alumni — Query alumni list from the global company database
  • global-company-person-experience — Query work experience list from the global company database
  • global-company-person-education — Query education history list from the global company database
  • global-company-person-school-detail — Query school detail from the global company database
  • upkuajing-global-company-people-search — Global company and people search
  • upkuajing-customs-trade-company-search — Search customs trade companies
  • upkuajing-map-merchants-search — Map-based merchant search
  • upkuajing-email-tool — Send emails and manage email tasks
  • upkuajing-sms-tool — Send SMS and manage SMS tasks
  • upkuajing-contact-info-validity-check — Check contact info validity
  • phone-validity-check — Check phone number validity
  • email-validity-check — Check email address validity
  • domain-validity-check — Check domain validity and security