api cek resi all-in-one

REST API Documentation

Key Type Request URL
Trial URL http://api.cekresi.com/trial?key=your_trial_key&awb=your_awb&courier=courier&output=json
Active URL http://api.cekresi.com/v2?key=your_active_key&awb=your_awb&courier=courier&output=json
Parameter Value Required Default Description
key String Y Your key value
awb String Y Your awb number
courier String Y JNE, POS, TIKI, WAHANA, etc (We have up to 22 couriers)
output string N json json, xml, or serialize
Contoh Output JNE (json format)
{"result":{"awb_no":"KDRAA01056184914","service":"REG","date_of_shipment":"26-04-2014 01:54","origin":"KEDIRI","destination":"NGALIYAN,SEMARANG","shipper":"GAME 1","consignee":"YANUARDI ASHAR","shipment_status":{"outbond":[{"time":"27-APR-2014 17:37","position":"SEMARANG","status":"Received On Destination"},{"time":"26-APR-2014 11:39","position":"KEDIRI","status":"Manifested"},{"time":"26-APR-2014 21:44","position":"SURABAYA","status":"On Transit"}],"pod_detail":[{"time":"28 Apr 2014 19:01","position":"AGUS","status":"DELIVERED"}]}},"summary":{"last_time":"28 Apr 2014 19:01","last_position":"AGUS","last_status":"DELIVERED","status":"DELIVERED","resi_status":1},"info":{"http_status":200,"error_txt":"","search_id":"139873718800982800","search_code":"KDRAA01056184914","process_time":1398737188,"execution_time":0.87986302375793}}
json to array
Array
(
    [result] => Array
        (
            [awb_no] => KDRAA01056184914
            [service] => REG
            [date_of_shipment] => 26-04-2014 01:54
            [origin] => KEDIRI
            [destination] => NGALIYAN,SEMARANG
            [shipper] => GAME 1
            [consignee] => YANUARDI ASHAR
            [shipment_status] => Array
                (
                    [outbond] => Array
                        (
                            [0] => Array
                                (
                                    [time] => 27-APR-2014 17:37
                                    [position] => SEMARANG
                                    [status] => Received On Destination
                                )

                            [1] => Array
                                (
                                    [time] => 26-APR-2014 11:39
                                    [position] => KEDIRI
                                    [status] => Manifested
                                )

                            [2] => Array
                                (
                                    [time] => 26-APR-2014 21:44
                                    [position] => SURABAYA
                                    [status] => On Transit
                                )

                        )

                    [pod_detail] => Array
                        (
                            [0] => Array
                                (
                                    [time] => 28 Apr 2014 19:01
                                    [position] => AGUS
                                    [status] => DELIVERED
                                )

                        )

                )

        )

    [summary] => Array
        (
            [last_time] => 28 Apr 2014 19:01
            [last_position] => AGUS
            [last_status] => DELIVERED
            [status] => DELIVERED
            [resi_status] => 1
        )

    [info] => Array
        (
            [http_status] => 200
            [error_txt] => 
            [search_id] => 139873718800982800
            [search_code] => KDRAA01056184914
            [process_time] => 1398737188
            [execution_time] => 0.87986302375793
        )

)