Problem Solved
When working with Shopee Affiliate, developers often encounter the following issues:
No easy-to-use public API to retrieve commission per product
Need to handle multiple different URL formats (full link, short link…)
Data changes continuously → caching is needed to optimize performance
When the API errors → no fallback
This API addresses the above issues by:
Standardizing input (item_id or URL)
Returning pre-processed data (price, commission, stats…)
Caching data for ~24 hours to reduce latency and load on the system
Having a fallback when new data cannot be fetched
How It Works (Architecture)
Processing Flow:
Receive request (item_id or url)
Extract item_id from URL (if needed)
Check cache database:
If still valid → return immediately (dataSource: db)
If expired → call source API → save to DB → return (dataSource: api)
If the API fails:
Has cache → return cache + warning
None → return fallback data
🚀 How to Use
Base URL
https://data.addlivetag.com/product-data/product-data.phpMethod
GET / POST
Params item_id
Param Required Optional
Description Product ID
Params url
Param Required Optional
Description Link to Shopee product
👉 At least 1 of the 2 params is required
📦 Example Request
GET https://data.addlivetag.com/product-data/product-data.php?item_id=1589295236📥 Example Response
{
"status": "success",
"productInfo": {
"itemId": 1589295236,
"productName": "Men's and Women's Sweater...",
"price": 122200,
"sales": 990,
"rating": 4.8,
"commission": 21996,
"sellerComFinal": 16497,
"shopeeComFinal": 5499,
"dataSource": "db"
}
}⚡ Performance & Rate Limit
API source: ~300 requests/minute
Cache database: ~2000 requests/minute
Cached data for ~24 hours
👉 Recommendations:
Use item_id instead of short link
Additional cache on the client/server side if building for production
🧪 Use Cases
Tool for checking product commissions
Dashboard for analyzing trending products
Affiliate product picker for KOL/KOC
Internal tools (like Riokupon, CMS, bots…)
📚 Purpose of Use
The project is built for the purpose of:
Learning and researching how to handle e-commerce data
Referencing API + caching + fallback architecture
Developing internal tools for analysis

Phân tích và thống kê lịch sử tiêu dùng cá nhân.

Mua hàng hoàn tiền Shopee, Lazada, Tiktok Shop và hơn thế

Mua sắm ngay, Hoàn tiền thật, Lên đến 50% giá trị đơn hàng

Dán link Shopee, nhận hoàn tiền tự động lên đến 83%

Engine phân tách và chuẩn hóa địa chỉ Việt Nam

LLMGATE - Cổng AI Giá Rẻ

Shopee Product Data API
API lấy thông tin sản phẩm Shopee kèm chi tiết hoa hồng (commission).
Have you used this product? Leave a review!
Cái web ở ảnh thumb kia bác có share code không mình xin
API lấy nhanh dữ liệu sản phẩm và hoa hồng từ item_id hoặc URL, có cache ~24h và fallback khi lỗi, phù hợp build tool affiliate.
Hiện tại cấp có gới hạn thường là các KOL đã được có người hỗ trợ 1-1 (hay gọi qua zalo rồi kết bạn á) Không thì dung như dự án này á e

API to retrieve product information from Shopee along with commission details.
Auto-translated ·
Reviews & comments