Cloud market/ Express outlet query
contact number
400-000-0387
Service provider
Express 100
QQ customer service
two billion eight hundred and fifty million five hundred and fifteen thousand seven hundred and forty-four
service time
09:00-18:00
Contact E-mail

Express outlet query

Quickly obtain the location and telephone information of express outlets, and judge whether a certain express can reach a certain place, for reference of outlet layout.

¥ Original price:¥

Package version

zero Yuan/ twenty second
one hundred Yuan/ ten thousand second
two hundred Yuan/ twenty thousand second
eight hundred Yuan/ one hundred thousand second
one thousand and three hundred Yuan/ two hundred thousand second
three thousand and nine hundred Yuan/ six hundred thousand second
Effective duration
1 year
contact number
400-000-0387
Service provider
Express 100
QQ customer service
two billion eight hundred and fifty million five hundred and fifteen thousand seven hundred and forty-four
service time
09:00-18:00
Contact E-mail
  • API interface
  • product details
  • Delivery mode
  • Express outlet query
Call address: http://cloud.kuaidi100.com/api
Request method: POST
Return type: JSON
Debugging tools: API Debugging>>
Request Parameters (Headers)

No parameters

Query

No parameters

Request parameters (Body)
name type Must describe
secret_key string true User authorization key
secret_code string true Interface No
secret_sign string true Encryption signature: md5 (secret_key+secret_secret) to uppercase
method string true Default parameter: searchnetwork
param string false The param example is: {"area": "Guangdong Shenzhen Futian District", "keyword": "SEG (optional)", "company": "shentong (optional)", "offset": "0 (starting from 0 pages)"}
Request Example
  • curl
  • Java
  • C#
  • PHP
  • Python
                         curl  http://cloud.kuaidi100.com/api  -X POST -d \ "secret_key=***&secret_code=d9dc91cb9d124dc897a0674528b59dab&secret_sign=md5(***)&method=¶m="
                        
                      
                         import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net. HttpURLConnection; import java.net. URL; import java.net. URLEncoder; import java.security. MessageDigest; import java.security. NoSuchAlgorithmException; import java.util. HashMap; import java.util. Map; public class CloudDemo { public static void main (String[] args) { CloudDemo cloudDemo = new CloudDemo(); Map  params = new HashMap (); params.put("secret_key", "***"); params.put("secret_code", "d9dc91cb9d124dc897a0674528b59dab"); params.put("secret_sign", "md5(***)"); params.put("method", ""); params.put("param", ""); cloudDemo.post(params); } public String post(Map  params) { StringBuilder response = new StringBuilder(""); BufferedReader reader = null; try { StringBuilder builder = new StringBuilder(); for (Map.Entry  param : params.entrySet()) { if (builder.length() > 0) { builder.append('&'); } builder.append(URLEncoder.encode(param.getKey(), "UTF-8")); builder.append('='); builder.append(URLEncoder.encode(String.valueOf(param.getValue()), "UTF-8")); } byte[] bytes = builder.toString().getBytes("UTF-8"); URL url = new URL(" http://cloud.kuaidi100.com/api "); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setConnectTimeout(5000); conn.setReadTimeout(5000); conn.setRequestMethod("POST"); conn.setRequestProperty("accept", "*/*"); conn.setRequestProperty("connection", "Keep-Alive"); conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded"); conn.setRequestProperty("Content-Length", String.valueOf(bytes.length)); conn.setDoOutput(true); conn.getOutputStream().write(bytes); reader = new BufferedReader(new InputStreamReader(conn.getInputStream(), "UTF-8")); String line = ""; while ((line = reader.readLine()) !=  null) { response.append(line); } } catch (Exception e) { e.printStackTrace(); } finally { try { if (null != reader) { reader.close(); } } catch (IOException e) { e.printStackTrace(); } } return response.toString(); } } class MD5Utils {    private static MessageDigest mdigest = null; private static char digits[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}; private static MessageDigest getMdInst() { if (null == mdigest) { try { mdigest = MessageDigest.getInstance("MD5"); } catch (NoSuchAlgorithmException e) { e.printStackTrace(); } } return mdigest; } public static String encode(String s) { if(null == s) { return ""; } try {            byte[] bytes = s.getBytes(); getMdInst().update(bytes); byte[] md = getMdInst().digest(); int j = md.length; char str[] = new char[j * 2]; int k = 0; for(int i = 0; i < j; i++) { byte byte0 = md[i]; str[k++] = digits[byte0 >>> 4 & 0xf]; str[k++] = digits[byte0 & 0xf]; } return new String(str); } catch (Exception e) { e.printStackTrace(); return null; } } }
                        
                      
                        
                         No example
                      
                         <? php $params = ""; $params .=  'secret_key=***'.'&'; $params .=  'secret_code=d9dc91cb9d124dc897a0674528b59dab'.'&'; $params .=  'secret_sign=md5(***)'.'&'; $params .=  'method='.'&'; $params .=  'param='.'&'; $params .=  substr($params, 0, -1); $ch = curl_init(); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_URL, ' http://cloud.kuaidi100.com/api '); curl_setopt($ch, CURLOPT_POSTFIELDS, $params); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec($ch); echo $result; ?>
                        
                      
                         # coding = utf-8 import sys,os import requests,json,hashlib params = {} params['secret_key'] = '***' params['secret_code'] = 'd9dc91cb9d124dc897a0674528b59dab' params['secret_sign'] = 'md5(***)' params['method'] = '' params['param'] = '' result = requests.post(' http://cloud.kuaidi100.com/api ', params) print(result.text)
                        
                      
Return parameters

No parameters

Normal return example
                     { "status": 200, "Message": "Success", "netList": [ { "id": 7950922429974716, "sId": "7950922429974716", "md5Code": "3CF63F8CEA06DC6B5F3E8C9A9AB80174", "companyId": 4, "CompanyNumber": "yuantong",//company code "CompanyName": "Yuantong Express",//company name "Number": "Jiangwan, Hongkou District, Shanghai",//Code "Name": "Shanghai Hongkou Qu Jiangwan ",//Name "Linkman": null,//contact "Address": "Shanghai, Shanghai, Hongkou District",//address "WorkArea": "whole territory",//dispatch area "RefuseArea": "None",//No dispatching area "XzqNumber": "310909000000",//The default administrative region code "XzqFullName": "Shanghai, Hongkou District, Hongkou District",//the default full name of the administrative region "Longitude": 0,//longitude "Latitude": 0,//latitude "tel": " Hongkou Qu Jiangwan Inquiry Tel.: 021-35070256 021-65256173; Customer service hotline: 021-35070256 021-65256173; Pick up phone: 021-65869074; Complaint hotline: 021-65285319... ", "mobile": null,  "fax": "021-65285312",  "qq": null,  "remark": "-",  "snatch": true,  "Audit": false,//Whether to authenticate "Visible": true,//visible "Score": 8,//Customer rating "index": 100, "lock": 0, "type": "SNATCH", "Got": true,//Whether to receive or send goods "DetailText": "Phone: Hongkou Qu Jiangwan Inquiry Tel.: 021-35070256 021-65256173; Customer service hotline: 021-35070256 021-65256173; Pick up phone: 021-65869074; Complaint hotline: 021-65285319. Name: Shanghai Hongkou Qu Jiangwan ",//Details "LastModify": "2016-06-02",//Latest update date "source": "SNATCH", "url": " http://116.228.70.245:8088/BDM/OutWebService/StationPlace/FindStatonPage?StationCode=210026&callback=jsonp1342680517040 ",//Url address of the original page "TelOne": "021-35070256",//Main phone "subTel": null, "netUsers": [] }, "companyTotal": [ { "CompanyName": "Huitong", "companyNumber": "huitongkuaidi", "companyId": 6, "count": 8 } ], "total": 8 }
                
Failure return example
                     "status": 500, "Message": "Server error"
                
Status code definition
Status code Status code information describe
two hundred success
five hundred Server error
four hundred and one Parameter error

Developed by the express 100 team, it can help users quickly obtain information such as the location and telephone number of express outlets, and judge whether a certain express can reach a certain place for the reference of outlet layout.

 

 

For the express company in the parameter, please use the code corresponding to the table

Express company code table:

http://api.kuaidi100.com/manager/openapi/download/kdbm.do

one Click to buy now > two Confirm and pay the order > three Enter the cloud market console > four Start using API