Endpoint | Description |
---|---|
GET /couriers |
Send all the shipping companies that you can use. |
POST /couriers/detect |
Send the params of the shipping company that the format of the parcel number is the same. |
/couriers
instead of YOUR_API_KEY
and YOUR_KEY_SECRET
yours with your own code.
Etrackings-Api-Key: YOUR_API_KEY
Etrackings-Key-Secret: YOUR_KEY_SECRET
Accept-Language: YOUR_LANGUAGE (TH | EN)
Content-Type: application/json
Example
{
"meta": {
"code": 200,
"message": "OK"
},
"data": [
{
"key": "ninja-van",
"name": "นินจาแวน",
"color": "#D50037",
"imageURL": "https://api.etrackings.com/courier/ninja-van.png"
},
{
"key": "blue-white-express",
"name": "บลู แอนด์ ไวท์ เอ็กซ์เพรส",
"color": "#1CA2FF",
"imageURL": "https://api.etrackings.com/courier/blue-white-express.png"
},
{
"key": "jwd-express",
"name": "เจดับเบิ้ลยูดี เอ็กซ์เพรส",
"color": "#00D5D8",
"imageURL": "https://api.etrackings.com/courier/jwd-express.jpg"
},
{
"key": "por-lor-express",
"name": "ปอลอ เอ็กซ์เพรส",
"color": "#2C4FFF",
"imageURL": "https://api.etrackings.com/courier/por-lor-express.jpg"
},
{
"key": "send-it",
"name": "เซ็นด์อิท",
"color": "#FFA21C",
"imageURL": "https://api.etrackings.com/courier/send-it.png"
},
{
"key": "dhl-express",
"name": "ดีเอชแอล เอ็กซ์เพรส",
"color": "#F2E200",
"imageURL": "https://api.etrackings.com/courier/dhl-express.png"
},
{
"key": "jt-express",
"name": "เจแอนด์ที เอ็กซ์เพรส",
"color": "#FE1B3A",
"imageURL": "https://api.etrackings.com/courier/jt-express.jpg"
},
{
"key": "sky-box",
"name": "สกายบอกซ์",
"color": "#2277D6",
"imageURL": "https://api.etrackings.com/courier/sky-box.jpg"
},
{
"key": "kex-express",
"name": "เคอรี่ เอ็กซ์เพรส",
"color": "#FB8523",
"imageURL": "https://api.etrackings.com/courier/kex-express.jpg"
},
{
"key": "speed-d",
"name": "สปีด-ดี",
"color": "#0B92EC",
"imageURL": "https://api.etrackings.com/courier/speed-d.jpg"
},
{
"key": "china-post",
"name": "ไชน่า โพสต์",
"color": "#00A854",
"imageURL": "https://api.etrackings.com/courier/china-post.png"
},
{
"key": "sme-shipping",
"name": "เอสเอ็มอี ชิปปิ้ง",
"color": "#FF643A",
"imageURL": "https://api.etrackings.com/courier/sme-shipping.jpg"
},
{
"key": "best-express",
"name": "เบสท์ เอ็กซ์เพรส",
"color": "#F70958",
"imageURL": "https://api.etrackings.com/courier/best-express.jpg"
},
{
"key": "alpha-fast",
"name": "อัลฟ่า ฟาส",
"color": "#009D89",
"imageURL": "https://api.etrackings.com/courier/alpha-fast.jpg"
},
{
"key": "shippop",
"name": "ชิปป๊อป",
"color": "#07A5DC",
"imageURL": "https://api.etrackings.com/courier/shippop.jpg"
},
{
"key": "ups",
"name": "ยูพีเอส",
"color": "#F9D523",
"imageURL": "https://api.etrackings.com/courier/ups.png"
},
{
"key": "it-transport",
"name": "ไอที ทรานสปอร์ต",
"color": "#F97723",
"imageURL": "https://api.etrackings.com/courier/it-transport.png"
},
{
"key": "nim-express",
"name": "นิ่ม เอ็กซ์เพรส",
"color": "#02D7C5",
"imageURL": "https://api.etrackings.com/courier/nim-express.png"
},
{
"key": "aramex",
"name": "อาราเม็กซ์",
"color": "#FF2E2B",
"imageURL": "https://api.etrackings.com/courier/aramex.png"
},
{
"key": "tnt-express",
"name": "ทีเอ็นที เอ็กซเพรส",
"color": "#F96124",
"imageURL": "https://api.etrackings.com/courier/tnt-express.png"
},
{
"key": "bs-express",
"name": "บี.เอส เอ็กซ์เพรส",
"color": "#FACF24",
"imageURL": "https://api.etrackings.com/courier/bs-express.jpg"
},
{
"key": "business-idea-transport",
"name": "บิสซิเนส ไอเดีย ทรานสปอร์ต",
"color": "#00BC80",
"imageURL": "https://api.etrackings.com/courier/business-idea-transport.png"
},
{
"key": "flash-express",
"name": "แฟลช เอ็กซ์เพรส",
"color": "#FFD21A",
"imageURL": "https://api.etrackings.com/courier/flash-express.png"
},
{
"key": "cj-logistics",
"name": "ซีเจ โลจิสติกส์",
"color": "#F5B900",
"imageURL": "https://api.etrackings.com/courier/cj-logistics.jpg"
},
{
"key": "inter-express",
"name": "อินเตอร์ เอ็กซ์เพรส",
"color": "#027FDB",
"imageURL": "https://api.etrackings.com/courier/inter-express.jpg"
},
{
"key": "scg-express",
"name": "เอสซีจี เอ็กซ์เพรส",
"color": "#F5370D",
"imageURL": "https://api.etrackings.com/courier/scg-express.png"
},
{
"key": "japan-post",
"name": "เจแปน โพสต์",
"color": "#DC0025",
"imageURL": "https://api.etrackings.com/courier/japan-post.png"
},
{
"key": "shipjung",
"name": "ชิปจัง",
"color": "#FA8A12",
"imageURL": "https://api.etrackings.com/courier/shipjung.png"
},
{
"key": "tp-logistics",
"name": "ทีพี โลจิสติกส์",
"color": "#1AC662",
"imageURL": "https://api.etrackings.com/courier/tp-logistics.png"
},
{
"key": "global-cainiao",
"name": "Global ไช่เหนียว",
"color": "#FA123C",
"imageURL": "https://api.etrackings.com/courier/global-cainiao.png"
},
{
"key": "fed-ex",
"name": "เฟดเอกซ์",
"color": "#6112FF",
"imageURL": "https://api.etrackings.com/courier/fed-ex.png"
},
{
"key": "book-my-cargo",
"name": "บุ๊คมายคาร์โก",
"color": "#FF7718",
"imageURL": "https://api.etrackings.com/courier/book-my-cargo.jpg"
},
{
"key": "nakhonchai-air",
"name": "นครชัยแอร์",
"color": "#3690F6",
"imageURL": "https://api.etrackings.com/courier/nakhonchai-air.png"
},
{
"key": "bee-express",
"name": "บี เอ็กซ์เพรส",
"color": "#F99F39",
"imageURL": "https://api.etrackings.com/courier/bee-express.png"
},
{
"key": "shopee-express",
"name": "ช้อปปี้ เอ็กซ์เพรส",
"color": "#F14613",
"imageURL": "https://api.etrackings.com/courier/shopee-express.jpg"
}
]
}
Example
curl --location --request GET 'https://api.etrackings.com/api/v3/couriers' --header 'Etrackings-api-key: <YOUR_API_KEY>' --header 'Etrackings-key-secret: <YOUR_KEY_SECRET>' --header 'Accept-Language: th'
/couriers/detect
instead of YOUR_API_KEY
and YOUR_KEY_SECRET
yours with your own code.
Etrackings-Api-Key: YOUR_API_KEY
Etrackings-Key-Secret: YOUR_KEY_SECRET
Accept-Language: YOUR_LANGUAGE (TH | EN)
Content-Type: application/json
REQUIRED PARAMETERS
Parameter | Type | Description |
---|---|---|
trackingNo |
String |
The parcel number that you want to see the name of the shipping company |
trackingNo = "LP030611615HK"
{
"meta": {
"code": 200,
"message": "OK"
},
"data": [
{
"key": "japan-post",
"name": "เจแปน โพสต์",
"color": "#DC0025",
"imageURL": "https://api.etrackings.com/courier/japan-post.png"
},
{
"key": "china-post",
"name": "ไชน่า โพสต์",
"color": "#00A854",
"imageURL": "https://api.etrackings.com/courier/china-post.png"
},
{
"key": "shippop",
"name": "ชิปป๊อป",
"color": "#07A5DC",
"imageURL": "https://api.etrackings.com/courier/shippop.jpg"
}
]
}
Parameters search example trackingNo = "LP030611615HK"
curl --location --request GET 'https://api.etrackings.com/api/v3/couriers/detect' --header 'Etrackings-api-key: <YOUR_API_KEY>' --header 'Etrackings-key-secret: <YOUR_KEY_SECRET>' --header 'Accept-Language: th' --data-raw '{
"trackingNo": "LP030611615HK"
}'