Dữ liệu Flash Sale Shopee & Lazada — khung giờ, sản phẩm, top deal, tìm kiếm. Yêu cầu API key.
Lấy danh sách tất cả khung giờ Flash Sale Shopee trong ngày. Trạng thái: active · upcoming · ended
{
"ok": true,
"data": [
{ "promotion_id": 243196764962821, "start_time": 1773453600, "end_time": 1773464400, "status": "active" }
],
"meta": { "count": 5, "timestamp": 1773455000 }
}/api/v1/flash-sale/promotionsLấy danh sách sản phẩm Flash Sale Shopee — lọc theo giá, % giảm, còn hàng, phân trang. Mặc định lấy khung active.
| Tên | Kiểu | Mô tả | |
|---|---|---|---|
| promotion_id | number | optional | ID khung sale |
| keyword | string | optional | Tìm theo tên SP |
| sort | string | optional | discount · price · price_desc |
| in_stock | string | optional | Chỉ còn hàng: true |
| max_price | number | optional | Giá tối đa (VNĐ) |
| page | number | optional | Mặc định: 1 |
| per_page | number | optional | 1–50. Mặc định: 20 |
{
"ok": true,
"data": [{
"id": 52756521482, "name": "Tranh dán tường 30x40cm",
"price": 10000, "original_price": 160000, "discount_pct": 94,
"stock": 12, "image": "https://cf.shopee.vn/...", "url": "https://shopee.vn/..."
}],
"meta": { "total": 156, "page": 1, "per_page": 20, "total_pages": 8 }
}/api/v1/flash-sale/products?per_page=3&sort=discount&in_stock=trueTop N deal Shopee giảm sâu nhất đang còn hàng. Gọi 1 lần là có danh sách deal hot nhất.
| Tên | Kiểu | Mô tả | |
|---|---|---|---|
| limit | number | optional | 1–50. Mặc định: 10 |
/api/v1/flash-sale/top?limit=5Tìm kiếm sản phẩm trong Flash Sale Shopee theo từ khóa. Hỗ trợ tiếng Việt có dấu và không dấu.
| Tên | Kiểu | Mô tả | |
|---|---|---|---|
| keyword | string | required | Từ khóa |
| page | number | optional | Mặc định: 1 |
| per_page | number | optional | 1–50. Mặc định: 20 |
/api/v1/flash-sale/search?keyword=iphone&per_page=3Lấy danh sách sản phẩm Lazada deal — lọc theo giá, % giảm, rating, phân trang. Dữ liệu cập nhật mỗi 5 phút.
| Tên | Kiểu | Mô tả | |
|---|---|---|---|
| keyword | string | optional | Tìm theo tên SP |
| sort | string | optional | discount · price · price_desc · sold · rating |
| in_stock | string | optional | Chỉ còn hàng: true |
| max_price | number | optional | Giá tối đa (VNĐ) |
| min_discount | number | optional | % giảm tối thiểu |
| page | number | optional | Mặc định: 1 |
| per_page | number | optional | 1–50. Mặc định: 20 |
{
"ok": true,
"data": [{
"id": 3847291056, "name": "Tai nghe Bluetooth TWS",
"price": 89000, "original_price": 350000, "discount_pct": 75,
"sold": 1200, "rating": 4.8, "is_official": true,
"image": "https://...", "url": "https://lazada.vn/..."
}],
"meta": { "total": 85, "page": 1, "per_page": 20, "total_pages": 5, "platform": "lazada" }
}/api/v1/lazada/products?per_page=3&sort=discountTop N deal Lazada giảm sâu nhất đang còn hàng.
| Tên | Kiểu | Mô tả | |
|---|---|---|---|
| limit | number | optional | 1–50. Mặc định: 10 |
/api/v1/lazada/top?limit=5Tìm kiếm sản phẩm Lazada theo từ khóa.
| Tên | Kiểu | Mô tả | |
|---|---|---|---|
| keyword | string | required | Từ khóa tìm kiếm |
| page | number | optional | Mặc định: 1 |
| per_page | number | optional | 1–50. Mặc định: 20 |
/api/v1/lazada/search?keyword=tai+nghe&per_page=3Deal do cộng đồng Kèo Quỷ chia sẻ trên Telegram — Shopee, Lazada, Tiki và các nguồn khác.
| Tên | Kiểu | Mô tả | |
|---|---|---|---|
| q | string | optional | Tìm theo tên |
| source | string | optional | Shopee · Lazada · Tiki |
| days | number | optional | 1–365. Mặc định: 30 |
| page | number | optional | Mặc định: 1 |
| per_page | number | optional | 1–50. Mặc định: 20 |
/api/v1/deals?per_page=3&days=7Thống kê tổng quan: thành viên Telegram, deal theo ngày/tuần/tháng, phân bố theo nguồn.
{
"ok": true,
"data": {
"telegram_members": 1250, "deals_today": 15, "deals_7d": 89,
"deals_30d": 312, "deals_total": 432,
"sources": { "Shopee": 280, "Lazada": 120, "Tiki": 32 }
}
}/api/v1/statsconst res = await fetch('https://keoquy.com/api/v1/flash-sale/top?limit=5', { headers: { 'Authorization': 'Bearer YOUR_TOKEN' } }); const { data } = await res.json(); data.forEach(d => console.log(`-${d.discount_pct}% ${d.name} → ${d.price}đ`));
import requests headers = {"Authorization": "Bearer YOUR_TOKEN"} data = requests.get("https://keoquy.com/api/v1/flash-sale/top?limit=5", headers=headers).json()["data"] for d in data: print(f"-{d['discount_pct']}% {d['name']} → {d['price']:,}đ")
curl -H "Authorization: Bearer YOUR_TOKEN" "https://keoquy.com/api/v1/flash-sale/promotions" curl -H "Authorization: Bearer YOUR_TOKEN" "https://keoquy.com/api/v1/flash-sale/top?limit=3"
Authorization: Bearer TOKEN