快递查询

全球快递查询,单号可自动识别,实时数据,准确率极高。

  • 0元/10次
  • 10元 / 2200次
  • 200元 / 52000次
  • 500元 / 140000次
  • 1000元 / 300000次
  • 10次
  • 0.0
  • 支付宝
  • 暂无。
  • 免费试用

    免费提供试用服务
    满意再下单

  • 服务保障

    客服极速响应
    快速解决客户问题

  • 技术支持

    专业技术团队
    为客户提供技术支持

API接口
  • 快递查询接口
  • 快递公司查询接口

快递查询接口

接口地址:http://apigateway.jianjiaoshuju.com/api/v_1/expressInfo.html

请求方式:POST

返回类型:JSON

调试工具: 登录后方可调试

请求参数(Headers)
名称 类型 是否必须 描述
appCode STRING 必选 鉴权AppCode
appKey STRING 必选 鉴权AppKey
appSecret STRING 必选 鉴权AppSecret
请求参数(Body)
名称 类型 是否必须 描述
com_code STRING 可选 快递公司编码,可以通过“快递公司查询接口”获得,传入此字段查询结果更精确。
express_code STRING 必选 快递单号,可自动识别。
请求示例
  • curl
  • Java
  • C#
  • PHP
  • Python
  • ObjectC
curl -i -X POST 'http://apigateway.jianjiaoshuju.com/api/v_1/expressInfo.html' -H 'AppCode:你自己的AppCode' -H 'AppKey:你自己的AppKey' -H 'AppSecret:你自己的AppSecret' --data 'com_code=com_code&express_code=express_code'
public static void main(String[] args) {
	String host = "http://apigateway.jianjiaoshuju.com";
	String path = "/api/v_1/expressInfo.html";
	String method = "POST";
	String appcode = "你自己的AppCode";
	String appKey = "你自己的AppKey";
	String appSecret = "你自己的AppSecret";
	Map headers = new HashMap();
	headers.put("appcode",appcode);
	headers.put("appKey",appKey);
	headers.put("appSecret",appSecret);
	headers.put("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
	Map querys = new HashMap();
	Map bodys = new HashMap();
	bodys.put("com_code", "com_code");
	bodys.put("express_code", "express_code");
	try {
		/**
		* 重要提示如下:
		* HttpUtils请从
		* https://github.com/aliyun/api-gateway-demo-sign-java/blob/master/src/main/java/com/aliyun/api/gateway/demo/util/HttpUtils.java
		* 下载
		*
		* 相应的依赖请参照
		* https://github.com/aliyun/api-gateway-demo-sign-java/blob/master/pom.xml
		*/
		HttpResponse response = HttpUtils.doPost(host, path, method, headers, querys, bodys);
		System.out.println(response.toString());
		//获取response的body
		//System.out.println(EntityUtils.toString(response.getEntity()));
	} catch (Exception e) {
		e.printStackTrace();
	}
}
	    													
//using System.IO;
//using System.Text;
//using System.Net;
//using System.Net.Security;
//using System.Security.Cryptography.X509Certificates;

        private const String host = "http://apigateway.jianjiaoshuju.com";
        private const String path = "/api/v_1/expressInfo.html";
        private const String method = "POST";
        private const String appcode = "你自己的AppCode";
        private const String appKey = "你自己的AppKey";
        private const String appSecret = "你自己的AppSecret";

        static void Main(string[] args)
        {
            String querys = "";
            String bodys = "com_code=com_code&express_code=express_code";
            String url = host + path;
            HttpWebRequest httpRequest = null;
            HttpWebResponse httpResponse = null;

            if (0 < querys.Length)
            {
                url = url + "?" + querys;
            }

            if (host.Contains("https://"))
            {
                ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult);
                httpRequest = (HttpWebRequest)WebRequest.CreateDefault(new Uri(url));
            }
            else
            {
                httpRequest = (HttpWebRequest)WebRequest.Create(url);
            }
            httpRequest.Method = method;
            httpRequest.Headers.Add("appcode",appcode);
            httpRequest.Headers.Add("appKey",appKey);
            httpRequest.Headers.Add("appSecret",appSecret);
            //根据API的要求,定义相对应的Content-Type
            httpRequest.ContentType = "application/x-www-form-urlencoded; charset=UTF-8";
            if (0 < bodys.Length)
            {
                byte[] data = Encoding.UTF8.GetBytes(bodys);
                using (Stream stream = httpRequest.GetRequestStream())
                {
                    stream.Write(data, 0, data.Length);
                }
            }
            try
            {
                httpResponse = (HttpWebResponse)httpRequest.GetResponse();
            }
            catch (WebException ex)
            {
                httpResponse = (HttpWebResponse)ex.Response;
            }

            Console.WriteLine(httpResponse.StatusCode);
            Console.WriteLine(httpResponse.Method);
            Console.WriteLine(httpResponse.Headers);
            Stream st = httpResponse.GetResponseStream();
            StreamReader reader = new StreamReader(st, Encoding.GetEncoding("utf-8"));
            Console.WriteLine(reader.ReadToEnd());
            Console.WriteLine("\n");

        }

        public static bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors)
        {
            return true;
        }
<?php
    $host = "http://apigateway.jianjiaoshuju.com";
    $path = "/api/v_1/expressInfo.html";
    $method = "POST";
    $appcode = "你自己的AppCode";
    $appKey = "你自己的AppKey";
    $appSecret = "你自己的AppSecret";
    $headers = array();
    array_push($headers, "appcode:" . $appcode);
    array_push($headers, "appKey:" . $appKey);
    array_push($headers, "appSecret:" . $appSecret);
    //根据API的要求,定义相对应的Content-Type
    array_push($headers, "Content-Type".":"."application/x-www-form-urlencoded; charset=UTF-8");
    $querys = "";
    $bodys = "com_code=com_code&express_code=express_code";
    $url = $host . $path;

    $curl = curl_init();
    curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
    curl_setopt($curl, CURLOPT_URL, $url);
    curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
    curl_setopt($curl, CURLOPT_FAILONERROR, false);
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($curl, CURLOPT_HEADER, false);
    if (1 == strpos("$".$host, "https://"))
    {
        curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
    }
    curl_setopt($curl, CURLOPT_POSTFIELDS, $bodys);
    echo curl_exec($curl);
?>

import urllib, urllib2, sys

host = 'http://apigateway.jianjiaoshuju.com'
path = '/api/v_1/expressInfo.html'
method = 'POST'
appcode = '你自己的AppCode'
appKey = '你自己的AppKey'
appSecret = '你自己的AppSecret'
querys = ''
bodys = {}
url = host + path

bodys['com_code'] = '''com_code'''
bodys['express_code'] = '''express_code'''
post_data = urllib.urlencode(bodys)
request = urllib2.Request(url, post_data)
request.add_header('appcode', appcode)
request.add_header('appKey', appKey)
request.add_header('appSecret', appSecret)
//根据API的要求,定义相对应的Content-Type
request.add_header('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8')
response = urllib2.urlopen(request)
content = response.read()
if (content):
    print(content)
NSString *appcode = @"你自己的AppCode";
NSString *appKey = @"你自己的AppKey";
NSString *appSecret = @"你自己的AppSecret";
NSString *host = @"http://apigateway.jianjiaoshuju.com";
NSString *path = @"/api/v_1/expressInfo.html";
NSString *method = @"POST";
NSString *querys = @"";
NSString *url = [NSString stringWithFormat:@"%@%@%@",  host,  path , querys];
NSString *bodys = @"com_code=com_code&express_code=express_code";

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString: url]  cachePolicy:1  timeoutInterval:  5];
request.HTTPMethod  =  method;
[request addValue:  [NSString  stringWithFormat:appcode]  forHTTPHeaderField:  @"appcode"];
[request addValue:  [NSString  stringWithFormat:appKey]  forHTTPHeaderField:  @"appKey"];
[request addValue:  [NSString  stringWithFormat:appSecret]  forHTTPHeaderField:  @"appSecret"];
[request addValue: @"application/x-www-form-urlencoded; charset=UTF-8" forHTTPHeaderField: @"Content-Type"];
NSData *data = [bodys dataUsingEncoding: NSUTF8StringEncoding];
[request setHTTPBody: data];
NSURLSession *requestSession = [NSURLSession sessionWithConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];
NSURLSessionDataTask *task = [requestSession dataTaskWithRequest:request
    completionHandler:^(NSData * _Nullable body , NSURLResponse * _Nullable response, NSError * _Nullable error) {
    NSLog(@"Response object: %@" , response);
    NSString *bodyString = [[NSString alloc] initWithData:body encoding:NSUTF8StringEncoding];

    //打印应答中的body
    NSLog(@"Response body: %@" , bodyString);
    }];

[task resume];
正常返回示例
{
  "errCode": 0,
  "msg": "查询成功!",
  "com_code": "zhongtong",
  "express_code": "632457109119",
  "expressInfoList": [
    {
      "expressComName": "中通快递",
      "expressList": [
        {
          "info": "【广州市】 快件已在 【珠江新城】 签收,签收人: 拍照签收, 感谢使用中通快递,期待再次为您服务!",
          "time": "2018-05-21 18:29:13"
        },
        {
          "info": "【广州市】 快件已被 【丰巢的环球都会广场 丰巢智能快递柜】 代收, 如有问题请电联(4000633333,17*****9665),感谢使用中通快递,期待再次为您服务!",
          "time": "2018-05-21 18:05:46"
        },
        {
          "info": "【广州市】 【珠江新城】 的***(17*****9665) 正在第1次派件, 请保持电话畅通,并耐心等待",
          "time": "2018-05-21 17:57:19"
        },
        {
          "info": "【广州市】 快件到达 【珠江新城】",
          "time": "2018-05-21 09:57:14"
        },
        {
          "info": "【广州市】 快件离开 【广州中心】 发往 【珠江新城】",
          "time": "2018-05-21 09:48:07"
        },
        {
          "info": "【重庆市】 快件离开 【重庆】 发往 【广州中心】",
          "time": "2018-05-20 01:19:44"
        },
        {
          "info": "【重庆市】 快件到达 【重庆】",
          "time": "2018-05-20 00:01:29"
        },
        {
          "info": "【重庆市】 快件离开 【渝北二部】 发往 【重庆】",
          "time": "2018-05-18 18:50:26"
        },
        {
          "info": "【重庆市】 【**二部】(023-6*****35、023-63****66) 的 *** (13*****848) 已揽收",
          "time": "2018-05-18 17:22:23"
        }
      ]
    }
  ]
}
错误码定义
错误码 错误信息 描述
0 查询成功! 查询成功!
101 接口参数错误! 接口参数错误!
102 接口错误! 接口错误!

快递公司查询接口

接口地址:http://apigateway.jianjiaoshuju.com/api/v_1/expressComm.html

请求方式:POST

返回类型:JSON

调试工具: 登录后方可调试

请求参数(Headers)
名称 类型 是否必须 描述
appCode STRING 必选 鉴权AppCode
appKey STRING 必选 鉴权AppKey
appSecret STRING 必选 鉴权AppSecret
请求参数(Body)
无参数
请求示例
  • curl
  • Java
  • C#
  • PHP
  • Python
  • ObjectC
curl -i -X POST 'http://apigateway.jianjiaoshuju.com/api/v_1/expressComm.html' -H 'AppCode:你自己的AppCode' -H 'AppKey:你自己的AppKey' -H 'AppSecret:你自己的AppSecret'
public static void main(String[] args) {
	String host = "http://apigateway.jianjiaoshuju.com";
	String path = "/api/v_1/expressComm.html";
	String method = "POST";
	String appcode = "你自己的AppCode";
	String appKey = "你自己的AppKey";
	String appSecret = "你自己的AppSecret";
	Map headers = new HashMap();
	headers.put("appcode",appcode);
	headers.put("appKey",appKey);
	headers.put("appSecret",appSecret);
	headers.put("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8");
	Map querys = new HashMap();
	Map bodys = new HashMap();
	try {
		/**
		* 重要提示如下:
		* HttpUtils请从
		* https://github.com/aliyun/api-gateway-demo-sign-java/blob/master/src/main/java/com/aliyun/api/gateway/demo/util/HttpUtils.java
		* 下载
		*
		* 相应的依赖请参照
		* https://github.com/aliyun/api-gateway-demo-sign-java/blob/master/pom.xml
		*/
		HttpResponse response = HttpUtils.doPost(host, path, method, headers, querys, bodys);
		System.out.println(response.toString());
		//获取response的body
		//System.out.println(EntityUtils.toString(response.getEntity()));
	} catch (Exception e) {
		e.printStackTrace();
	}
}
	    													
//using System.IO;
//using System.Text;
//using System.Net;
//using System.Net.Security;
//using System.Security.Cryptography.X509Certificates;

        private const String host = "http://apigateway.jianjiaoshuju.com";
        private const String path = "/api/v_1/expressComm.html";
        private const String method = "POST";
        private const String appcode = "你自己的AppCode";
        private const String appKey = "你自己的AppKey";
        private const String appSecret = "你自己的AppSecret";

        static void Main(string[] args)
        {
            String querys = "";
            String bodys = "";
            String url = host + path;
            HttpWebRequest httpRequest = null;
            HttpWebResponse httpResponse = null;

            if (0 < querys.Length)
            {
                url = url + "?" + querys;
            }

            if (host.Contains("https://"))
            {
                ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult);
                httpRequest = (HttpWebRequest)WebRequest.CreateDefault(new Uri(url));
            }
            else
            {
                httpRequest = (HttpWebRequest)WebRequest.Create(url);
            }
            httpRequest.Method = method;
            httpRequest.Headers.Add("appcode",appcode);
            httpRequest.Headers.Add("appKey",appKey);
            httpRequest.Headers.Add("appSecret",appSecret);
            //根据API的要求,定义相对应的Content-Type
            httpRequest.ContentType = "application/x-www-form-urlencoded; charset=UTF-8";
            if (0 < bodys.Length)
            {
                byte[] data = Encoding.UTF8.GetBytes(bodys);
                using (Stream stream = httpRequest.GetRequestStream())
                {
                    stream.Write(data, 0, data.Length);
                }
            }
            try
            {
                httpResponse = (HttpWebResponse)httpRequest.GetResponse();
            }
            catch (WebException ex)
            {
                httpResponse = (HttpWebResponse)ex.Response;
            }

            Console.WriteLine(httpResponse.StatusCode);
            Console.WriteLine(httpResponse.Method);
            Console.WriteLine(httpResponse.Headers);
            Stream st = httpResponse.GetResponseStream();
            StreamReader reader = new StreamReader(st, Encoding.GetEncoding("utf-8"));
            Console.WriteLine(reader.ReadToEnd());
            Console.WriteLine("\n");

        }

        public static bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors)
        {
            return true;
        }
<?php
    $host = "http://apigateway.jianjiaoshuju.com";
    $path = "/api/v_1/expressComm.html";
    $method = "POST";
    $appcode = "你自己的AppCode";
    $appKey = "你自己的AppKey";
    $appSecret = "你自己的AppSecret";
    $headers = array();
    array_push($headers, "appcode:" . $appcode);
    array_push($headers, "appKey:" . $appKey);
    array_push($headers, "appSecret:" . $appSecret);
    //根据API的要求,定义相对应的Content-Type
    array_push($headers, "Content-Type".":"."application/x-www-form-urlencoded; charset=UTF-8");
    $querys = "";
    $bodys = "";
    $url = $host . $path;

    $curl = curl_init();
    curl_setopt($curl, CURLOPT_CUSTOMREQUEST, $method);
    curl_setopt($curl, CURLOPT_URL, $url);
    curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
    curl_setopt($curl, CURLOPT_FAILONERROR, false);
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($curl, CURLOPT_HEADER, false);
    if (1 == strpos("$".$host, "https://"))
    {
        curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
    }
    curl_setopt($curl, CURLOPT_POSTFIELDS, $bodys);
    echo curl_exec($curl);
?>

import urllib, urllib2, sys

host = 'http://apigateway.jianjiaoshuju.com'
path = '/api/v_1/expressComm.html'
method = 'POST'
appcode = '你自己的AppCode'
appKey = '你自己的AppKey'
appSecret = '你自己的AppSecret'
querys = ''
bodys = {}
url = host + path

request = urllib2.Request(url)
request.add_header('appcode', appcode)
request.add_header('appKey', appKey)
request.add_header('appSecret', appSecret)
//根据API的要求,定义相对应的Content-Type
request.add_header('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8')
response = urllib2.urlopen(request)
content = response.read()
if (content):
    print(content)
NSString *appcode = @"你自己的AppCode";
NSString *appKey = @"你自己的AppKey";
NSString *appSecret = @"你自己的AppSecret";
NSString *host = @"http://apigateway.jianjiaoshuju.com";
NSString *path = @"/api/v_1/expressComm.html";
NSString *method = @"POST";
NSString *querys = @"";
NSString *url = [NSString stringWithFormat:@"%@%@%@",  host,  path , querys];
NSString *bodys = @"";

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString: url]  cachePolicy:1  timeoutInterval:  5];
request.HTTPMethod  =  method;
[request addValue:  [NSString  stringWithFormat:appcode]  forHTTPHeaderField:  @"appcode"];
[request addValue:  [NSString  stringWithFormat:appKey]  forHTTPHeaderField:  @"appKey"];
[request addValue:  [NSString  stringWithFormat:appSecret]  forHTTPHeaderField:  @"appSecret"];
[request addValue: @"application/x-www-form-urlencoded; charset=UTF-8" forHTTPHeaderField: @"Content-Type"];
NSData *data = [bodys dataUsingEncoding: NSUTF8StringEncoding];
[request setHTTPBody: data];
NSURLSession *requestSession = [NSURLSession sessionWithConfiguration:[NSURLSessionConfiguration defaultSessionConfiguration]];
NSURLSessionDataTask *task = [requestSession dataTaskWithRequest:request
    completionHandler:^(NSData * _Nullable body , NSURLResponse * _Nullable response, NSError * _Nullable error) {
    NSLog(@"Response object: %@" , response);
    NSString *bodyString = [[NSString alloc] initWithData:body encoding:NSUTF8StringEncoding];

    //打印应答中的body
    NSLog(@"Response body: %@" , bodyString);
    }];

[task resume];
正常返回示例
{
    "errCode":0,
    "msg":"查询成功!",
    "brandList":[
        {     
            "imgUrl":"http://**********",    //汽车标志图片url 
            "brandName":"奥迪",     //汽车品牌名称
            "id":"4*****",           //汽车品牌ID
            "letter":"A"            //品牌首写字母(大写)
        }
    ]
}
错误码定义
错误码 错误信息 描述
0 查询成功! 查询成功!
102 接口错误! 接口错误!
联系我们  |  关于我们
重庆尖叫网络科技有限公司
4009030002转13663
kf@cqjianjiao.com
2459200267,1119712415
服务内容
图片验证码识别   |   汽车品牌配置查询
被执行人信息查询   |   失信信息查询   |   快递查询
国际航班信息查询   |   国内航班信息查询
验证码识别
全国免费服务热线
4009030002
转13663

周一至周五 9:00-18:00

尖叫网络

尖叫数据