I. Description of intelligent identification interface
1.1 Request Address
http://www.kuaidi100.com/autonumber/auto?num= [number] & key = [key]
1.2 Request Parameters
Request parameters (header)
The name of the | type | The default value |
---|---|---|
Content-Type | string | application/x-www-form-urlencoded |
Request Parameters (Body)
The parameter name | The data type | If required | The sample value | Parameters to describe |
---|---|---|---|---|
num | String | Must be | 906919164534 | Courier number |
key | String | Must be | Authorization code, pleaseApply for enterprise EditionTo obtain |
1.3 Returned Result
The field names | The field |
---|---|
comCode | The code corresponding to the express company |
id | Please ignore |
noCount | Please ignore |
noPre | Please ignore |
startTime | Please ignore |
1.4 Example of Returned Data
[{"comCode": "shunfeng"."id": ""."noCount": 302236."noPre": "9069"."startTime": ""
},
{
"comCode": "yuantong"."id": ""."noCount": 24."noPre": "9069"."startTime": ""}]Copy the code
1.5 Meaning of information Code
Information code | Information Description | Causes and recommended handling methods |
---|---|---|
200 | Submitted successfully | The request is successful |
601 | POLL: The KEY has expired | The intelligent id identification interface is not enabled. After the official recharge query and subscription package, you can open the interface and use the intelligent single number recognition service for free |
I. Product introduction
According to the tracking number submitted by the customer, the code of the express company that the tracking number may belong to is judged. The returned data is a list of multiple possible express companies, and the express company with high similarity ranks first.
Ii. Application scenarios of intelligent single number identification API
-
The customer enters the tracking number. Dynamic prompt indicates the Courier company to which the tracking number belongs.
-
It can be used to submit and verify the information entered by merchants, so as to reduce the errors recorded by merchants.
Iii. Fees and Rights and responsibilities
Since the waybill number rules are constantly changing and there is no standard or uniform rule for each express company, our existing mechanism is to make intelligent analysis on the massive data we have accumulated and get relevant rules and update them every day, so we cannot guarantee the accuracy of judgment can reach 100%. Therefore, this interface is provided to your company for free, and we will not provide any legal commitment on the accuracy and validity of this interface. Of course, this interface is also used by our official website, so we will do our best to maintain. If your company provides this service to end users, it is recommended that you add the following prompts when presenting it to users:
- Add a sentence “guess by express” and other words with “guess” after the judgment result;
- The selected company can be manually modified by the user;
- After judging the result, the text explanation such as “this result is for reference only” is prompted.
Official documents:
Api.kuaidi100.com/document/5f…
Api.kuaidi100.com/document/5f…