Integrate Cell Phone Number Service programmatically to query phone number status, simplifying operations and reducing management costs.
OpenAPI overview
The Alibaba Cloud OpenAPI portal provides API search, documentation, online debugging, SDK downloads, code samples, error diagnostics, and call statistics. Use it to invoke OpenAPIs, view request and response details, and generate SDK code examples. What is OpenAPI.
Version guide
Cell Phone Number Service provides OpenAPIs for phone number status queries, mobile number portability checks, number location lookups, and personal information verification.
Alibaba Cloud uses version numbers to manage API lists for major cloud product versions.
For example, Cell Phone Number Service supports API version 2020-02-17. This is an API version identifier, not a calendar date. It does not mean the APIs have remained unchanged since that date.
|
API version |
Description |
|
Recommended |
Online debugging
Cell Phone Number Service provides API debugging in the OpenAPI portal. Before making calls, review supported versions, endpoints, interface styles, and invocation methods.
The Cell Phone Number Service OpenAPI debugging page supports testing the CertNoTwoElementVerification (two-element ID verification) API. Select a service endpoint (such as China (Shanghai)) and enter the required parameters: AuthCode (authorization code), CertName (name to verify), and CertNo (ID number to verify). QPS limit: 200 requests per second.

Debugging entry points
Debugging entry point: https://api.alibabacloud.com/api/Dytnsapi/2023-01-01/
Endpoint details
Select the endpoint that matches the region of your resources for lowest latency.
Global endpoint: dytnsapi.aliyuncs.com. Service endpoints.
Supported caller identities
After you log in with your Alibaba Cloud account, the portal uses it by default for API debugging.
|
User identity |
Support status |
|
Supported |
|
|
Not supported |
|
|
Not supported |
Integration methods
Cell Phone Number Service supports multiple integration methods. Choose the one that best fits your needs.
Alibaba Cloud SDK
-
Alibaba Cloud SDK supports Java, C#, Go, Python, Node.js/TypeScript, PHP, C++, and more. The SDK handles signature logic, timeouts, retries, and returns structured response objects, simplifying development.
-
Supported languages and installation instructions: SDK Reference.
Alibaba Cloud CLI
-
The Alibaba Cloud CLI lets you interact with Alibaba Cloud services and manage cloud resources using the
aliyuncommand. What is Alibaba Cloud CLI. -
Calling the Cell Phone Number Service using the Alibaba Cloud CLI is not currently supported.
Resource Orchestration Service (ROS)
-
ROS simplifies cloud resource management. Define Alibaba Cloud resources (such as ECS and RDS instances) and their dependencies in templates. ROS automatically creates and configures all resources, enabling automated deployment and O&M. What is Resource Orchestration Service.
-
Calling the Cell Phone Number Service using ROS is not currently supported.
Custom API encapsulation
If the above methods do not meet your requirements, you can encapsulate OpenAPI requests directly (not recommended). V3 request body & signature mechanism.
Important notes
-
If an API call returns an error, check your request parameters against the error code in the Error code center.
-
Record the RequestID from the response or SDK error messages and use the Alibaba Cloud OpenAPI diagnostics platform for self-service troubleshooting.