Misc

Phone Number Location Lookup

0calls
2 credits / call

Want to know where a phone number is from, and which carrier it belongs to? This endpoint gives you the answer.

GET
uapis.cn
/api/v1/misc/phoneinfo
Query parameters
1
phone
string
required

The 11-digit mainland China mobile number to look up.

Overview

Provide a mainland China phone number and the endpoint returns its registered location (province and city) along with the carrier (China Mobile, China Unicom, or China Telecom).

Query parameters

phone
stringrequired

The 11-digit mainland China mobile number to look up.

Response

200 / OK

Lookup succeeded. Returns the registered location and carrier for the number.

JSON
{
  "city": "深圳",
  "province": "广东",
  // Carrier name (returned in Chinese, e.g. 移动 / 联通 / 电信).
  "sp": "联通"
}

400 / Bad Request

Invalid request parameters. Check that you supplied the phone parameter and that it is a valid 11-digit mobile number.

JSON
{
  "code": "INVALID_ARGUMENT",
  "details": {},
  "message": "Missing or invalid 'phone' parameter."
}

500 / Internal Server Error

Lookup failed. The phone number location data may be temporarily unavailable — please try again later.

JSON
{
  "code": "INTERNAL_SERVER_ERROR",
  "details": {},
  "message": "Failed to query phone information."
}