快递查询,公司自动识别
equalizer 累计使用:3383
请求地址 https://free.wqwlkj.cn/wqwlapi/kuaidi.php
请求示例 https://free.wqwlkj.cn/wqwlapi/kuaidi.php?dh=单号
请求方式 GET
返回格式 JSON
{
"code": 1,
"data": "{\"data\":[{\"time\":\"2026-03-04 17:08:35\",\"content\":\"快件已在【胜芳高速营业部E】被揽件,揽件员是【宋金龙】\"},{\"time\":\"2026-03-04 17:12:23\",\"content\":\"快件已从【胜芳高速营业部E】装车,会尽快安排中转,请您耐心等待\"},{\"time\":\"2026-03-04 20:17:56\",\"content\":\"快件正进行卸车扫描【天津分拨】,会尽快安排中转,请耐心等待\"},{\"time\":\"2026-03-04 21:19:18\",\"content\":\"快件已从【天津分拨】装车,会尽快安排中转,请您耐心等待\"},{\"time\":\"2026-03-05 02:25:00\",\"content\":\"车辆已从【天津分拨】出发,下一站是【宁波分拨】,货物正在运输中\"},{\"time\":\"2026-03-06 03:32:29\",\"content\":\"车辆已到达【宁波分拨】,会尽快安排卸车,请耐心等待\"},{\"time\":\"2026-03-06 04:14:58\",\"content\":\"快件正进行卸车扫描【宁波分拨】,会尽快安排中转,请耐心等待\"},{\"time\":\"2026-03-06 06:36:51\",\"content\":\"快件已从【宁波分拨】装车,会尽快安排中转,请您耐心等待\"},{\"time\":\"2026-03-06 10:17:54\",\"content\":\"车辆已从【宁波分拨】出发,下一站是【宁波罗蒙营业部】,货物正在运输中\"},{\"time\":\"2026-03-06 10:43:59\",\"content\":\"车辆已到达【宁波罗蒙营业部】,会尽快安排卸车,请耐心等待\"},{\"time\":\"2026-03-06 10:47:27\",\"content\":\"快件正进行卸车扫描【宁波罗蒙营业部】,会尽快安排中转,请耐心等待\"},{\"time\":\"2026-03-06 11:25:27\",\"content\":\"快件已在派送中,派件员是【张浩】,请您耐心等待\"},{\"time\":\"2026-03-06 13:11:12\",\"content\":\"您的快件已顺利送达并由【家门口签收】签收!如遇物流问题,可联系【张浩,电话:】,我们第一时间为您处理。感谢支持,感恩相遇!祝您新春纳福,马年吉祥,每一份期待都能如约而至~\"}]}",
"company": "no find",
"companyicon": "http://api.wqwlkj.cn/img/nofind.png"
}
| 参数名称 | 是否必需 | 参数说明 |
|---|---|---|
dh |
否 | 参数dh的说明 |
| 参数名称 | 参数类型 | 参数说明 |
|---|---|---|
code |
string |
1成功 -1失败 |
data |
string |
快递信息 |
更新时间 2022-09-11 15:56:21
| 状态码 | 状态说明 |
|---|---|
| 400 | 请求错误 |
| 403 | 请求被服务器拒绝 |
| 404 | 请求服务器失败 |
| 500 | 服务器错误 |
| 503 | 服务器维护 |
PHP
GET方法
$url = 'https://free.wqwlkj.cn/wqwlapi/kuaidi.php';
$data = '?dh=单号';
$get = $url.$data;
$result = file_get_contents($get);
if ($result) {
//成功
echo $result;
} else {
//失败
}
POST方法
$url = 'https://free.wqwlkj.cn/wqwlapi/kuaidi.php';
$data = array(
  'dh' => '单号',
);
$data = http_build_query($data);
$option = array('http'=>array('method'=>'POST','content'=>$data));
$context = stream_context_create($option);
$result = file_get_contents($url,false,$context);
if ($result) {
//成功
echo $result;
} else {
//失败
}
JavaScript
GET方法
var url = "https://free.wqwlkj.cn/wqwlapi/kuaidi.php"
var data = "?dh=单号"
var xhrGet = new XMLHttpRequest();
xhrGet.open('GET', url + data, true);
xhrGet.send();
xhrGet.onreadystatechange = function() {
if (xhrGet.readyState == 4 && xhrGet.status == 200) {
//成功
var result = xhrGet.responseText;
console.log(result);
} else {
//失败
}
};
POST方法
var url = "https://free.wqwlkj.cn/wqwlapi/kuaidi.php"
var data = "dh=单号"
var xhrPost = new XMLHttpRequest();
xhrPost.open('POST', url, true);
xhrPost.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhrPost.send(data);
xhrPost.onreadystatechange = function() {
if (xhrPost.readyState == 4 && xhrPost.status == 200) {
//成功
var result = xhrPost.responseText;
console.log(result);
} else {
//失败
}
};
JAVA
GET方法
new Thread(){
public void run() {
String path = "https://free.wqwlkj.cn/wqwlapi/kuaidi.php";
String data = "?dh=单号";
try {
URL url = new URL(path + data);
HttpURLConnection connection = (HttpURLConnection)url.openConnection();
connection.setRequestMethod("GET");
int code = connection.getResponseCode();
if (code == 200) {
//成功
InputStreamReader isr = new InputStreamReader(connection.getInputStream());
BufferedReader bufferedreader = new BufferedReader(isr);
String string;
StringBuilder stringbuilder = new StringBuilder();
while ((string = bufferedreader.readLine()) != null) {
stringbuilder.append(string);
}
final String result = stringbuilder.toString();
System.out.println(result);
} else {
//失败
}
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}}.start();
POST方法
new Thread(){
public void run() {
String path = "https://free.wqwlkj.cn/wqwlapi/kuaidi.php";
String data = "dh=单号";
try {
URL url = new URL(path);
HttpURLConnection connection = (HttpURLConnection)url.openConnection();
connection.setRequestMethod("POST");
connection.setDoOutput(true);
connection.getOutputStream().write(data.getBytes());
int code = connection.getResponseCode();
if (code == 200) {
//成功
InputStreamReader isr = new InputStreamReader(connection.getInputStream());
BufferedReader bufferedreader = new BufferedReader(isr);
String string;
StringBuilder stringbuilder = new StringBuilder();
while ((string = bufferedreader.readLine()) != null) {
stringbuilder.append(string);
}
final String result = stringbuilder.toString();
System.out.println(result);
} else {
//失败
}
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}}.start();
Lua
GET方法
url="https://free.wqwlkj.cn/wqwlapi/kuaidi.php"
data=url.."?dh=单号"
Http.get(data,function(code,content,data)
if code==200 then
--成功
print(content)
else
--失败
end
end)
POST方法
url="https://free.wqwlkj.cn/wqwlapi/kuaidi.php"
data="dh=单号"
Http.post(url,data,function(code,content,data)
if code==200 then
--成功
print(content)
else
--失败
end
end)
结绳
GET方法
变量 网络GET操作 为 网络操作 = 创建 网络操作()
变量 GET数据 为 文本型 = "?dh=单号"
网络GET操作.取网页源码("https://free.wqwlkj.cn/wqwlapi/kuaidi.php" + GET数据)
事件 网络GET操作:取网页源码结束(结果 为 文本型,cookie 为 文本型)
//成功
调试输出(结果)
结束 事件
事件 网络GET操作:取网页源码失败(响应码 为 文本型)
//失败
结束 事件
POST方法
变量 网络POST操作 为 网络操作 = 创建 网络操作()
变量 POST数据 为 文本型 = "dh=单号"
网络POST操作.发送数据("https://free.wqwlkj.cn/wqwlapi/kuaidi.php",POST数据)
事件 网络POST操作:发送数据结束(结果 为 文本型,cookie 为 文本型)
//成功
调试输出(结果)
结束 事件
事件 网络POST操作:发送数据失败(响应码 为 文本型)
//失败
结束 事件
iAPP
GET方法
s url="https://free.wqwlkj.cn/wqwlapi/kuaidi.php"
s data="?dh=单号"
ss(url+data,get)
t(){
hs(get,result)
f(result!=null){
//成功
syso(result)
}else{
//失败
}
}
POST方法
s url="https://free.wqwlkj.cn/wqwlapi/kuaidi.php"
s data="dh=单号"
t(){
hs(url,data,"utf-8",result)
f(result!=null){
//成功
syso(result)
}else{
//失败
}
} | 反馈时间 | 反馈接口 | 反馈内容 | 反馈者IP |
|---|