Express order number query API Jingdong Express


How to use the interface provided by express bird to query the logistics track of Jingdong express.

First of all, we have the resources we need,

Test merchant ID:


Test API key:

554343b2-7252-439b-b4eb-1af42c8f2175 (this key is only used in test environment)

API test address:

Next, let’s talk about request parameters

1、 Interface description / description

Description of request system level parameters:
Express order number query API Jingdong Express
remarks:R-required, o-optional, and the parameter in c-message is optional under certain conditions

The system level parameters mentioned here are equivalent to public parameters. These parameters must be passed to each interface when calling.

Interface parameters:
Express order number query API Jingdong Express

Interface parameters, also known as business parameters, request business interfaces are different, parameter fields, content is also different, it changes with the business, here we implement the instant query interface, request instruction type: 1002, express bird official website requires that express company code and logistics order number must be passed, JD is the code of Jingdong express

To view the codes of other express companies, click this link:

We use the real order number (jdvc02975597147) to complete the track interface call,

Request JSON

{‘ordercode’: ‘,’shippercode’: JD ‘, logisticcode’:’jdvc02975597147 ‘,’customername’:’merchant code ‘}

The complete message of the request (after the URL code): request data% 0d% 0A% 0A + + + + + + + + + + + +% 7b% 27ordercode% 27% 3A% 27% 27% 2C% 27shipcode% 27% 3A% 27jd% 27% 27% 2C% 27logisticcode% 27% 3A% 27jdvc02979797147% 27% 2C% 27customernname% 27% 3A% 27% 27% E5% 95% 95% 86% E5% AE% B6% E7% BC% 96% E7% A0% 81% 27% 7d% 0d% 0A% 0A + + & ebusineid = 27% 3A% 27jd% 27% 27% 0d% 0A + + ebusinessid = 0A + + ebusinessiid = 0d% 0A% 0A% 0A% 0A% 0A 1264783 & requesttype = 1002 & datasign = ntblzdnimdddlndyxndbjjjjc1zjfknda2ytgwnzm3otc% 3D& DataType=2

Uncoded request message:

Requestdata = {ordercode ‘:’,’shippercode ‘:’jd’,’logisticcode ‘:’jdvc02975597147’,’customername ‘:’merchant code’} & ebusinessid = 1264783 & requesttype = 1002 & datasign = ntblzdnimdddlndyxndbjjjjc1zjfknda2ytgwnzm3otc = & datatype = 2

Return message information


"LogisticCode": "JDVC02975597147",

"ShipperCode": "JD",

"Traces": [{

    "Acceptstation": "the collection task has been assigned to Liu Jietian, and the dispatcher's telephone number is 13902201195",

    "AcceptTime": "2020-02-28 15:06:32"

}, {

    "Acceptstation": "goods have been delivered to JD logistics",

    "AcceptTime": "2020-02-28 19:01:17"

}, {

    "Acceptstation": "Li Liansheng, the distributor, has completed the collection.",

    "AcceptTime": "2020-02-28 19:01:17"

}, {

    "Acceptstation": "the goods have arrived at [Guangzhou Huangpu sorting center]",

    "AcceptTime": "2020-02-28 23:14:54"

}, {

    "Acceptstation": "the goods have been sorted and left [Guangzhou Huangpu sorting center]",

    "AcceptTime": "2020-02-28 23:31:53"

}, {

    "Acceptstation": "the goods have been sorted and left [Foshan Shishan sorting center]",

    "AcceptTime": "2020-02-29 02:53:29"

}, {

    "Acceptstation": "the distributor starts to deliver, please prepare to receive the goods. The delivery clerk, Zhao luocan, mobile number: 18818484932",

    "AcceptTime": "2020-02-29 11:40:35"

}, {

    "Acceptstation": "goods have been allocated and are waiting for distribution",

    "AcceptTime": "2020-02-29 12:08:59"

}, {

    "Acceptstation": "the goods have been collected by Jingdong appliance store opposite to Gangping gas station. Thank you for choosing Jingdong Logistics! "

    "AcceptTime": "2020-02-29 17:49:51"


"State": "3",

"EBusinessID": "1264783",

"Success": true


The detailed interface document is attached to you:

Source code download:

Recommended Today

Introduction to vernacular spring cloud

First of all, let me show you a picture. If you don’t understand this picture very well, I hope you will suddenly realize it after reading my article. What is spring cloud Building a distributed system doesn’t need to be complex and error prone. Spring cloud provides a simple and easy to accept programming model […]