Technical document of express intelligent identification number
1、 Intelligent identification interface description
1.1 Request address
http://www.kuaidi100.com/autonumber/auto?num= [Order No.]&key=[key]
1.2 Request parameters
Request parameters (header)
name | type | Default |
Content-Type | string | application/x-www-form-urlencoded |
Request parameters (body)
Parameter name | data type | Required | Sample value | Parameter description |
num | String | must | nine hundred and six billion nine hundred and nineteen million one hundred and sixty-four thousand five hundred and thirty-four | courier number |
key | String | must | | Authorization code, please Apply for Enterprise Edition obtain |
1.3 Return Results
Field Name | Field Description |
lengthPre | Length of order number |
comCode | Corresponding code of express company |
name | Name of express company |
1.4 Example of correct return
[{ "lengthPre": 15, "comCode": "yuantong", "Name": "Yuantong Express" }]
1.5 Example of error return
{ "returnCode": "701", "Message": "Key missing", "result": false }
1.6 Meaning of error return code
Return code | Description of information content | Reason and suggested treatment |
six hundred and one | POLL: KEY has expired | The smart number identification interface is not opened. After the official recharge query and subscription package, you can open the interface and use the smart number identification service for free |
seven hundred and one | POLL: KEY is missing | The request parameter is missing a key. You need to take the key with you when requesting |