Information you can get with this API.
Product listings – all products from a specific shopProduct details – basic product information and pricingProduct categories – products grouped by categoriesProduct ratings – star ratings and review countsProduct sales data – sales count and popularityProduct availability – stock status and availabilityShop statistics – shop performance metrics| API Name | Shopee Shop Products |
|---|---|
| Method | GET |
| API URL | http://api.noxapi.com/shopee/shop_items |
| 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 |
shop_id |
integer | Shop ID | true |
page |
integer | Page number for pagination (default: 0) | false |
page_size |
integer | Number of items per page (default: 20, max: 100) | false |
sort_by |
string | Sort by: newest, price_asc, price_desc, sales, rating |
false |
category_id |
integer | Filter by category ID | false |
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://api.noxapi.com/shopee/shop_items?apiToken=xxxxxx&site=my&shop_id=454052120&page=0&page_size=20&sort_by=newest",
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": {
"shop_id": 454052120,
"shop_name": "BEST DIY Official Store",
"shop_url": "https://shopee.com.my/shop/454052120",
"total_products": 105,
"items": [
{
"item_id": 22342619928,
"title": "4in1 Vakum Super Cordless Car Vacuum Cleaner 15000Pa Mini Vacuum Cleaner",
"main_image": "https://cf.shopee.com.my/file/my-11134207-7r98p-lllrdqt4ibfo1c",
"price": "26.0",
"price_min": "26.0",
"price_max": "26.0",
"currency": "MYR",
"rating_star": 4.7,
"sold_count": 6067,
"comment_count": 2735,
"category_id": "100177",
"brand": null,
"is_pre_order": false,
"has_lowest_price_guarantee": false,
"product_url": "https://shopee.com.my/product/454052120/22342619928",
"stock": 69,
"status": 1
},
{
"item_id": 22342619929,
"title": "Professional Drill Set with 50 Accessories",
"main_image": "https://cf.shopee.com.my/file/drill-set.jpg",
"price": "89.0",
"price_min": "89.0",
"price_max": "89.0",
"currency": "MYR",
"rating_star": 4.5,
"sold_count": 1250,
"comment_count": 890,
"category_id": "100180",
"brand": "BEST DIY",
"is_pre_order": false,
"has_lowest_price_guarantee": true,
"product_url": "https://shopee.com.my/product/454052120/22342619929",
"stock": 25,
"status": 1
}
],
"has_more": true,
"next_offset": 20,
"shop_categories": [
{
"catid": 100177,
"display_name": "Vacuum Cleaners & Floor Care Appliances",
"count": 15
},
{
"catid": 100180,
"display_name": "Power Tools",
"count": 25
},
{
"catid": 100185,
"display_name": "Hand Tools",
"count": 35
},
{
"catid": 100190,
"display_name": "Garden Tools",
"count": 30
}
]
}
}
# 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.