Currently, it supports common domestic express deliveries such as Shentong Express query interface, Yuantong Express Query API, Zhongtong Express, Yunda Express, Huitong Express, EMS Express, SF Express, Daily Express, and home Express, at the same time, it also supports query services for common overseas express deliveries such as TNT Express, FedEx Express, DHL Express, and UPS Express, which support more than 100 express deliveries, covering over 95% of the users in the market.
My key authorized successfully
If you have any reposted information, please indicate the source: http://blog.csdn.net/qxs965268249. please note!
API address:
Previous: http://api.ickd.cn /? Com = [] & nu = [] & id = [] & type = [] & encode = [] & ord = [] & lang = []
Current: http://api.ickd.cn /? Id = [] & secret = [] & com = [] & nu = [] & type = [] & encode = [] & ord = [] & lang = []
Parameter descriptionFieldRequired?Description: com must be the courier company code (English). For supported courier companies, see the following list. nu must be the courier order number, and the length must be greater than 5 digits.
Secret required
Id that must be authorized
Authorization KEY. for application, click "express delivery Query API request method type". optional return result types, values: html | json (default) | text | xmlencode optional gbk (default) | utf8ord (optional) asc (default) | desc, returned result sorting lang (optional)EnEnglish results returned. Currently, only some express deliveries (EMS, SF, and DHL) are supported)Note:The json_decode function of PHP must be UTF-8 encoded. if json_decode fails, try UTF8 encoding. Return format:Json| Text | html | xml
Encoding:GBK| UTF8
Example: {"status": "3", "message": "", "errCode": "0", "data": [{"time ": "", "context": "Wang Guang, receiver of the four companies in Zhongshan District, Dalian city, Liaoning province, received the mail" },{ "time": "", "context ": "Dalian city, Liaoning province company income" },{ "time": "", "context": "Dalian city, Liaoning province, Zhongshan District, four companies received" },{ "time ": "", "context": "Zhang Jinda, dispatcher of Jingyang company, Changchun city, Jilin province, calls 15948736487" },{ "time ": "", "context": "Zhang Jinda, a member of the customer's colleagues who have received and received the email,"}], "html": "", "mailNo": "7151900624 ", "expTextName": "yuantong Express", "expSpellName": "yuyung", "update": "1362656241", "cache": "186488", "ord ": "ASC"} field descriptionFieldTypeDescription: status of the statusint query result. 0 | 1 | 2 | 3 | 4 | 0 indicates that the query failed. 1 is normal. 2 is being sent. 3 is accepted. 4 is returned. 5 other problems: errCodeint error code, 0 no error, 1 ticket No. does not exist, 2 verification code error, 3 link query server failed, 4 program Internal error, 5 program execution error, 6 courier ticket No. Format Error, 7 courier company error, 10 unknown error messagestring error message dataarray progress htmlstring other HTML, this field does not necessarily have mailNostring express bill number expSpellNamestring express company English code expTextNamestring Express Company Chinese name updateint last update time (unix timestamp) cacheint cache time, the difference between the current time and update. unit: Second ordstring sorting, ASC | DESCphp application example