Information you can get with this API.
Shipping methods – available delivery optionsShipping costs – delivery fees and chargesDelivery timeframes – estimated delivery periodsShipping zones – supported delivery areasFree shipping conditions – minimum order requirementsExpress delivery options – fast shipping alternatives| API Name | Shopee Item Shipping Info |
|---|---|
| Method | GET |
| API URL | http://api.noxapi.com/shopee/item_shipping_info |
| Security Auth |
apiToken (lấy tại Console - Account Center)
Thêm apiToken vào query parameters khi gọi API.
|
| Field | Type | Explanation | Required |
|---|---|---|---|
site |
string |
Region name abbreviation.
Optional values: my, th, ph, id, vn, sg, tw, br, mx, co, cl.
Default: my.
|
false |
item_id |
integer | Product ID | true |
shop_id |
integer | Shop ID | true |
address_id |
integer | Delivery address ID (optional) | false |
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://api.noxapi.com/shopee/item_shipping_info?apiToken=xxxxxx&site=my&item_id=9385530978&shop_id=140500145",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
node
index.js
python
app.py
java
Main.java
go
run main.go
{
"code": 200,
"msg": "success",
"data": {
"item_id": 22342619928,
"shop_id": 454052120,
"shipping_info": {
"area_from": "Selangor",
"postage": 0,
"is_free_shipping": true,
"free_shipping_min_amount": 0,
"shipping_methods": [
{
"method_id": 1,
"method_name": "Standard Delivery",
"cost": 0,
"estimated_days": "3-5",
"is_free": true,
"description": "Free shipping nationwide"
},
{
"method_id": 2,
"method_name": "Express Delivery",
"cost": 5.00,
"estimated_days": "1-2",
"is_free": false,
"description": "Next day delivery"
}
],
"supported_regions": [
"Selangor",
"Kuala Lumpur",
"Johor",
"Penang",
"Perak",
"Sabah",
"Sarawak"
],
"restricted_regions": [],
"special_conditions": [
"Free shipping for orders above RM50",
"Express delivery available for West Malaysia only"
]
}
}
}
# Failed to fetch data. Please retry or contact support.
# Invalid request parameters.
# Subscription expired or insufficient balance.
# Request timed out. Please retry with a 60s timeout.
# Internal server error. Please contact support.
# Concurrency limit exceeded. Please reduce request rate.