{
  "data": {
    "id": "bbfnGbjgfjYhbLeXb",
    "actId": "FFCiGT5bVHQ0rDXGN",
    "userId": "IYgBDiXtHOijAaUel",
    "startedAt": "2026-11-29T05:12:46.000Z",
    "finishedAt": "2026-11-29T05:13:06.778Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "inputSchema": "{\n  \"title\": \"Banggood Scraper Input\",\n  \"description\": \"Search Banggood by keyword, browse a top-level category, or fetch full product detail by URL.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to fetch.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"byCategory\",\n        \"productDetail\"\n      ],\n      \"enumTitles\": [\n        \"Search by keyword\",\n        \"Browse by category\",\n        \"Product detail by URL\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"searchQuery\": {\n      \"title\": \"Search query (mode=search)\",\n      \"type\": \"string\",\n      \"description\": \"Free-text keyword search, e.g. `phone case`, `rc car`, `led strip light`.\",\n      \"editor\": \"textfield\",\n      \"default\": \"phone case\",\n      \"prefill\": \"phone case\"\n    },\n    \"categoryPath\": {\n      \"title\": \"Category (mode=byCategory)\",\n      \"type\": \"string\",\n      \"description\": \"Banggood department to browse — either one of the 11 top-level departments or a curated popular subcategory within one.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"Wholesale-Electronics-ca-2001.html\",\n        \"Wholesale-Phones-and-Accessories-ca-1001.html\",\n        \"Wholesale-Computers-and-Office-ca-5001.html\",\n        \"Wholesale-Automobiles-and-Motorcycles-ca-4001.html\",\n        \"Wholesale-Sports-and-Outdoors-ca-6001.html\",\n        \"Wholesale-Home-Appliance-and-Health-ca-18949.html\",\n        \"Wholesale-Lights-and-Lighting-ca-14001.html\",\n        \"Wholesale-Men-and-Womens-Clothing-ca-18941.html\",\n        \"Wholesale-Toys-Hobbies-and-Robot-c-133.html\",\n        \"Wholesale-Home,Garden-and-Furniture-ca-12001.html\",\n        \"Wholesale-Tools,Industrial-and-Scientific-ca-3001.html\",\n        \"Wholesale-Smart-Watch-ca-2210.html\",\n        \"Wholesale-Smart-Wristband-ca-1095.html\",\n        \"Wholesale-Bluetooth-Speakers-ca-1048.html\",\n        \"Wholesale-Earbud-Headphones-and-Earphones-ca-1049.html\",\n        \"Wholesale-Power-Banks-and-Stations-ca-1058.html\",\n        \"Wholesale-Wireless-Chargers-ca-1018.html\",\n        \"Wholesale-Security-Cameras-ca-2471.html\",\n        \"Wholesale-RC-Car-ca-7008.html\",\n        \"Wholesale-RC-Boat-ca-7009.html\",\n        \"Wholesale-Model-and-Building-Toys-ca-7109.html\",\n        \"Wholesale-LED-Solar-Lights-ca-14030.html\",\n        \"Wholesale-Flashlight-ca-14002.html\",\n        \"Wholesale-Robot-Vacuums-Cleaners-ca-9003.html\",\n        \"Wholesale-Humidifiers-ca-9023.html\",\n        \"Wholesale-Massager-Gun-ca-18961.html\",\n        \"Wholesale-Car-DVR-Camera-ca-4119.html\",\n        \"Wholesale-Jump-Starter-ca-4044.html\",\n        \"Wholesale-Code-Readers-and-Scan-Tools-ca-4050.html\",\n        \"Wholesale-Mechanical-Gaming-Keyboard-ca-5030.html\",\n        \"Wholesale-Monitor-ca-5016.html\",\n        \"Wholesale-Projectors-and-Theaters-ca-5084.html\",\n        \"Wholesale-Fishing-and-Hunting-ca-6023.html\",\n        \"Wholesale-Telescope-and-Binoculars-ca-6036.html\",\n        \"Wholesale-Shoes-and-Bags-ca-11001.html\",\n        \"Wholesale-Dresses-ca-16042.html\"\n      ],\n      \"enumTitles\": [\n        \"Electronics\",\n        \"Phones & Accessories\",\n        \"Computers & Office\",\n        \"Automobiles & Motorcycles\",\n        \"Sports & Outdoors\",\n        \"Home Appliance & Health\",\n        \"Lights & Lighting\",\n        \"Men's & Women's Clothing\",\n        \"Toys, Hobbies & Robots\",\n        \"Home, Garden & Furniture\",\n        \"Tools, Industrial & Scientific\",\n        \"Subcategory: Smart Watches\",\n        \"Subcategory: Fitness Trackers & Smart Wristbands\",\n        \"Subcategory: Bluetooth Speakers\",\n        \"Subcategory: Earbuds & Headphones\",\n        \"Subcategory: Power Banks & Power Stations\",\n        \"Subcategory: Wireless Chargers\",\n        \"Subcategory: Security Cameras\",\n        \"Subcategory: RC Cars\",\n        \"Subcategory: RC Boats\",\n        \"Subcategory: Model & Building Toys\",\n        \"Subcategory: LED Solar Lights\",\n        \"Subcategory: Flashlights\",\n        \"Subcategory: Robot Vacuum Cleaners\",\n        \"Subcategory: Humidifiers\",\n        \"Subcategory: Massage Guns\",\n        \"Subcategory: Car Dash Cams (DVR)\",\n        \"Subcategory: Car Jump Starters\",\n        \"Subcategory: OBD Code Readers & Scan Tools\",\n        \"Subcategory: Mechanical Gaming Keyboards\",\n        \"Subcategory: Computer Monitors\",\n        \"Subcategory: Projectors & Home Theaters\",\n        \"Subcategory: Fishing & Hunting Gear\",\n        \"Subcategory: Telescopes & Binoculars\",\n        \"Subcategory: Shoes & Bags\",\n        \"Subcategory: Dresses\"\n      ],\n      \"default\": \"Wholesale-Electronics-ca-2001.html\",\n      \"prefill\": \"Wholesale-Electronics-ca-2001.html\"\n    },\n    \"productUrls\": {\n      \"title\": \"Product URLs (mode=productDetail)\",\n      \"type\": \"array\",\n      \"description\": \"Full Banggood product page URLs, e.g. `https://www.banggood.com/Baseus-SkyRing-Series-Magnetic-Phone-Case-p-1998466.html`.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"sortBy\": {\n      \"title\": \"Sort by (mode=search only)\",\n      \"type\": \"string\",\n      \"description\": \"Result order for mode=search, matching Banggood's own sort dropdown/URL parameter exactly (verified against the live site's own sort links). Banggood's category browse pages (mode=byCategory) have no sort control, so this is ignored outside mode=search. Note on priceAsc/priceDesc: Banggood's own server-side price sort is not strictly monotonic — it blends price with relevance/sponsored placement (a common e-commerce pattern), so expect the general trend to hold rather than a mathematically exact ascending/descending sequence.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"popular\",\n        \"newest\",\n        \"mostReviews\",\n        \"priceAsc\",\n        \"priceDesc\"\n      ],\n      \"enumTitles\": [\n        \"Popular (Banggood's default ranking)\",\n        \"Newest arrivals\",\n        \"Most reviews\",\n        \"Price: low to high\",\n        \"Price: high to low\"\n      ],\n      \"default\": \"popular\",\n      \"prefill\": \"popular\"\n    },\n    \"minPrice\": {\n      \"title\": \"Min price\",\n      \"type\": \"number\",\n      \"description\": \"Drop products priced (current/final price) below this value.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000\n    },\n    \"maxPrice\": {\n      \"title\": \"Max price\",\n      \"type\": \"number\",\n      \"description\": \"Drop products priced (current/final price) above this value.\",\n      \"minimum\": 0,\n      \"maximum\": 1000000\n    },\n    \"minDiscountPercent\": {\n      \"title\": \"Min discount %\",\n      \"type\": \"integer\",\n      \"description\": \"Only emit products discounted by at least this percentage. Discount data is most consistently available in mode=productDetail — search/byCategory listing cards don't always surface a reference (pre-discount) price for every market/region, so this filter can under-match in those modes.\",\n      \"minimum\": 0,\n      \"maximum\": 99\n    },\n    \"minReviewCount\": {\n      \"title\": \"Min review count\",\n      \"type\": \"integer\",\n      \"description\": \"Drop products with fewer reviews than this. Some category-page card layouts don't surface a review count at all — those products are not excluded by this filter (only products with a known, too-low review count are dropped).\",\n      \"minimum\": 0,\n      \"maximum\": 1000000\n    },\n    \"minRating\": {\n      \"title\": \"Min rating (0-5, mode=productDetail only)\",\n      \"type\": \"number\",\n      \"description\": \"Drop products rated below this. Banggood only shows a star rating on product detail pages, not on search/category listing cards, so this filter only has an effect in mode=productDetail (no-op pass-through for search/byCategory).\",\n      \"minimum\": 0,\n      \"maximum\": 5\n    },\n    \"onSaleOnly\": {\n      \"title\": \"On sale only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only emit products currently discounted. Most reliable in mode=productDetail — see the note on Min discount %.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"includeTopReviews\": {\n      \"title\": \"Include top reviews (mode=productDetail only)\",\n      \"type\": \"boolean\",\n      \"description\": \"Fetch a small sample of featured customer reviews (reviewer, country, rating, date, text, helpful count, photos) for each product. Adds one extra page load per product, so it's off by default. No effect outside mode=productDetail.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records. Note on mode=byCategory: Banggood's category browse pages don't expose further pagination (confirmed live -- `?page=N` silently re-renders page 1, and the `-N.html` suffix that works for `/search/` 404s for category URLs), so byCategory returns at most one page (~60 products) regardless of this value. mode=search paginates deeply and can approach this cap on broad/popular queries, though very narrow queries will exhaust their real result set first.\",\n      \"minimum\": 1,\n      \"maximum\": 2000,\n      \"default\": 60,\n      \"prefill\": 60\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Banggood Deals, Specs & Review Scraper\n\nScrape **Banggood.com** — a global online marketplace for affordable electronics, phone accessories, RC/hobby gear, tools, home & garden, lighting, automotive parts, sports equipment, toys, and fashion shipped worldwide. Search by keyword (with sort control), browse any of Banggood's 11 top-level departments or a curated set of popular subcategories, or fetch complete product detail (price, discount, rating, review breakdown, specifications, shipping, images, brand, category) for a list of product URLs. No login, no cookies required.\n\n## What this actor does\n\n- **Three modes:** `search` (keyword, auto-paginated, sortable), `byCategory` (browse a department or subcategory), `productDetail` (full detail by URL)\n- **Sort control:** order search results by popularity, newest, most reviews, or price (low-to-high / high-to-low)\n- **Real-time pricing:** current price, list price, and discount percentage, fetched live on every run\n- **Ratings & reviews:** review count on every product; star rating and a full 5-star-to-1-star review breakdown on product detail pages\n- **Optional review sample:** a small set of featured customer reviews (reviewer, country, rating, date, text, helpful votes, photos) on request\n- **Product specifications:** structured spec sheet, feature list, and package contents, when Banggood publishes them for that product\n- **Shipping snapshot:** ship-from warehouse, shipping cost, destination, and estimated delivery window (detail mode)\n- **Rich media:** main image plus a gallery of additional product photos (detail mode)\n- **Filters:** price range, minimum discount, minimum review count, minimum rating, on-sale-only\n- **Empty fields are omitted** — a product with no reviews yet simply has no `rating`/`reviewCount` field, never a fake `0`\n\n## Output per product\n\n- `productId` — Banggood's internal numeric product ID\n- `title` — product name\n- `brand` — manufacturer/brand name (detail mode)\n- `description` — short product summary (detail mode)\n- `price` — current/final price\n- `listPrice` — original price before discount\n- `discountPercent` — percentage off, if on sale\n- `currency` — ISO 4217 currency code (e.g. `USD`)\n- `rating` — average star rating, 0–5 (detail mode only; omitted if the product has no reviews yet)\n- `reviewCount` — number of customer reviews\n- `ratingDistribution[]` — review breakdown by star level, e.g. `{\"stars\": 5, \"count\": 1463, \"percent\": 93.9}` (detail mode; omitted with no reviews)\n- `topReviews[]` — a small sample of featured reviews when `includeTopReviews` is enabled: `reviewerName`, `country`, `countryCode`, `rating`, `date`, `text`, `helpfulCount`, `images[]` (detail mode)\n- `specifications` — key/value spec sheet, e.g. `{\"Brand\": \"Baseus\", \"Color\": \"Black\"}` (detail mode, when published for that product)\n- `features[]` — bullet-point feature list (detail mode, when published)\n- `packageContents[]` — what's included in the box (detail mode, when published)\n- `imageUrl` — main product image\n- `images[]` — additional gallery images (detail mode)\n- `category` — full breadcrumb category path (detail mode)\n- `breadcrumbs[]` — category path as an array (detail mode)\n- `availabilityText` — stock/shipping status text, when shown (detail mode)\n- `warehouse` — ship-from warehouse code, e.g. `CN` (detail mode)\n- `shippingCost` — shipping cost text, e.g. `Free shipping` (detail mode)\n- `shipToCountry` — destination country Banggood resolved for the request (detail mode; varies with the run's origin — see FAQ)\n- `estimatedDelivery` — estimated delivery date range text (detail mode)\n- `productUrl` — canonical Banggood product page URL\n- `recordType: \"product\"`, `scrapedAt`, `sourceUrl`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search` / `byCategory` / `productDetail` |\n| `searchQuery` | string | `phone case` | Free-text keyword (mode=search) |\n| `categoryPath` | string (select) | `Wholesale-Electronics-ca-2001.html` | Department or curated subcategory to browse (mode=byCategory) — all 11 top-level departments plus 25 popular subcategories |\n| `productUrls` | array | – | Full product page URLs to fetch (mode=productDetail) |\n| `sortBy` | string (select) | `popular` | Result order for mode=search: `popular` / `newest` / `mostReviews` / `priceAsc` / `priceDesc`. No effect on mode=byCategory (Banggood's category pages have no sort control) |\n| `minPrice` | number | – | Drop products priced below this |\n| `maxPrice` | number | – | Drop products priced above this |\n| `minDiscountPercent` | int | – | Only products discounted by at least this % |\n| `minReviewCount` | int | – | Drop products with fewer reviews |\n| `minRating` | number | – | Drop products rated below this (0–5); mode=productDetail only |\n| `onSaleOnly` | boolean | `false` | Only currently-discounted products |\n| `includeTopReviews` | boolean | `false` | Fetch a small sample of featured reviews per product (mode=productDetail only) — one extra page load per product, so it's opt-in |\n| `maxItems` | int | `60` | Hard cap on emitted records (1–2000) |\n\n### Example: keyword search with a price ceiling\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"led strip light\",\n  \"maxPrice\": 20,\n  \"onSaleOnly\": true,\n  \"maxItems\": 40\n}\n```\n\n### Example: keyword search sorted by price, low to high\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"rc car\",\n  \"sortBy\": \"priceAsc\",\n  \"maxItems\": 40\n}\n```\n\n### Example: browse a category for well-reviewed items\n\n```json\n{\n  \"mode\": \"byCategory\",\n  \"categoryPath\": \"Wholesale-Sports-and-Outdoors-ca-6001.html\",\n  \"minReviewCount\": 5,\n  \"maxItems\": 50\n}\n```\n\n### Example: browse a popular subcategory\n\n```json\n{\n  \"mode\": \"byCategory\",\n  \"categoryPath\": \"Wholesale-Smart-Watch-ca-2210.html\",\n  \"onSaleOnly\": true,\n  \"maxItems\": 30\n}\n```\n\n### Example: full detail (with a sample of reviews) for a specific product\n\n```json\n{\n  \"mode\": \"productDetail\",\n  \"productUrls\": [\n    \"https://www.banggood.com/Baseus-SkyRing-Series-Magnetic-Phone-Case-p-1998466.html\"\n  ],\n  \"includeTopReviews\": true\n}\n```\n\n## Use cases\n\n- **Price monitoring** — track discounts and price drops across categories, sorted low-to-high or high-to-low\n- **Dropshipping research** — find trending, highly-discounted products by niche, including RC/hobby, tools, and home & garden\n- **Market intelligence** — compare pricing, ratings, and full review breakdowns across competing listings\n- **Deal aggregation** — feed on-sale, highly-rated, newest-first products into a deals site or newsletter\n- **Assortment analysis** — survey category breadth across all 11 top-level departments plus popular subcategories\n- **Product page audits** — pull specifications, package contents, and shipping details for catalog/listing QA\n\n## FAQ\n\n**Is this affiliated with Banggood?**\nNo — this is an independent third-party actor that reads Banggood's public, unauthenticated storefront pages.\n\n**Do I need to provide cookies, an account, or a proxy?**\nNo. All modes work from a fresh session with no login.\n\n**Why do some products have no `rating` or `reviewCount`?**\n`rating` is only ever present on `productDetail` results, and only when the product has at least one real review — a brand-new listing doesn't get a fake `0` rating. `reviewCount` is present in all modes.\n\n**What currency are prices in?**\nPrices reflect whatever currency Banggood serves for the request's origin (typically USD from US-based traffic). The `currency` field on each record tells you exactly which one.\n\n**Why does `shipToCountry` change between runs?**\nLike `currency`, the shipping snapshot (`shipToCountry`, `shippingCost`, `estimatedDelivery`) reflects whatever destination Banggood resolves for the request's origin. It's real, live data — just specific to where that particular run's traffic came from, not a fixed \"home country\" setting.\n\n**Does `sortBy` work in every mode?**\nNo — only `mode=search`. Banggood's category browse pages don't have a sort control at all, so `sortBy` is ignored in `mode=byCategory` (and irrelevant to `mode=productDetail`).\n\n**Why isn't every product's `specifications`/`features`/`packageContents` populated?**\nBanggood only publishes a structured spec sheet for some categories (mostly electronics/hardware) — apparel, bags, and similar categories often don't have one. When it's not published, these fields are simply omitted rather than filled with guesses.\n\n**Is `categoryPath` limited to top-level departments?**\nNo — it includes all 11 of Banggood's top-level departments plus a curated set of 25 popular, verified-active subcategories (smart watches, RC cars, security cameras, dash cams, and more). Banggood has hundreds of narrower subcategories beyond this list; the curated set focuses on the ones with consistently strong inventory.\n\n**Is there a way to get flash deals, coupons, or top-seller rankings?**\nBanggood's dedicated flash-deals/coupon/ranking pages use a different, AJAX-widget-driven layout than its standard search/category listing pages, so they aren't covered by this actor. You can get very similar results with the listing pages this actor already supports: `onSaleOnly: true` for deals, or `sortBy: \"newest\"` / `sortBy: \"mostReviews\"` for trending/new items, in either `search` or `byCategory` mode.\n\n**Can I scrape a specific seller's/brand's storefront?**\nBanggood operates primarily as a first-party retailer rather than a multi-seller marketplace, and doesn't expose a per-listing seller storefront page the way some marketplaces do — so there's no `byStore` mode.\n\n**How many products can I get per run?**\n`search` paginates automatically up to `maxItems` or until results are exhausted. `byCategory` returns a single page (Banggood's category browse doesn't expose reliable further-page navigation) — typically 40-64 products, capped by `maxItems`. `productDetail` returns exactly one record per URL you supply.\n\n**Why does `productDetail` need full URLs instead of just product IDs?**\nBanggood product URLs encode the SEO slug together with the ID; the slug isn't derivable from the ID alone, so a valid URL (from a search/category run, or copied from your browser) is required.\n\n**How fresh is the price data?**\nPrices are fetched live on every run directly from Banggood's pricing service — not cached.\n\n**Why don't some `search`/`byCategory` results show `listPrice`/`discountPercent` even though the item is on sale?**\nThe current buyable `price` is always accurate. `listPrice` and `discountPercent` on listing results come from a reference price shown on the listing card itself, which Banggood doesn't always populate consistently. For a guaranteed, authoritative discount figure, use `mode=productDetail` on that product's URL.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "banggood-deals-specs-and-review-scraper",
      "title": "Banggood Deals, Specs & Review Scraper",
      "description": "Search or browse Banggood.com by keyword or department, or pull full product detail by URL — live prices, discounts, specifications, shipping snapshot, ratings and a sample of customer reviews.",
      "version": "1.0",
      "buildTag": "latest",
      "defaultMemoryMbytes": 2048,
      "minMemoryMbytes": 2048,
      "dockerfile": "./Dockerfile",
      "readme": "# Banggood Deals, Specs & Review Scraper\n\nScrape **Banggood.com** — a global online marketplace for affordable electronics, phone accessories, RC/hobby gear, tools, home & garden, lighting, automotive parts, sports equipment, toys, and fashion shipped worldwide. Search by keyword (with sort control), browse any of Banggood's 11 top-level departments or a curated set of popular subcategories, or fetch complete product detail (price, discount, rating, review breakdown, specifications, shipping, images, brand, category) for a list of product URLs. No login, no cookies required.\n\n## What this actor does\n\n- **Three modes:** `search` (keyword, auto-paginated, sortable), `byCategory` (browse a department or subcategory), `productDetail` (full detail by URL)\n- **Sort control:** order search results by popularity, newest, most reviews, or price (low-to-high / high-to-low)\n- **Real-time pricing:** current price, list price, and discount percentage, fetched live on every run\n- **Ratings & reviews:** review count on every product; star rating and a full 5-star-to-1-star review breakdown on product detail pages\n- **Optional review sample:** a small set of featured customer reviews (reviewer, country, rating, date, text, helpful votes, photos) on request\n- **Product specifications:** structured spec sheet, feature list, and package contents, when Banggood publishes them for that product\n- **Shipping snapshot:** ship-from warehouse, shipping cost, destination, and estimated delivery window (detail mode)\n- **Rich media:** main image plus a gallery of additional product photos (detail mode)\n- **Filters:** price range, minimum discount, minimum review count, minimum rating, on-sale-only\n- **Empty fields are omitted** — a product with no reviews yet simply has no `rating`/`reviewCount` field, never a fake `0`\n\n## Output per product\n\n- `productId` — Banggood's internal numeric product ID\n- `title` — product name\n- `brand` — manufacturer/brand name (detail mode)\n- `description` — short product summary (detail mode)\n- `price` — current/final price\n- `listPrice` — original price before discount\n- `discountPercent` — percentage off, if on sale\n- `currency` — ISO 4217 currency code (e.g. `USD`)\n- `rating` — average star rating, 0–5 (detail mode only; omitted if the product has no reviews yet)\n- `reviewCount` — number of customer reviews\n- `ratingDistribution[]` — review breakdown by star level, e.g. `{\"stars\": 5, \"count\": 1463, \"percent\": 93.9}` (detail mode; omitted with no reviews)\n- `topReviews[]` — a small sample of featured reviews when `includeTopReviews` is enabled: `reviewerName`, `country`, `countryCode`, `rating`, `date`, `text`, `helpfulCount`, `images[]` (detail mode)\n- `specifications` — key/value spec sheet, e.g. `{\"Brand\": \"Baseus\", \"Color\": \"Black\"}` (detail mode, when published for that product)\n- `features[]` — bullet-point feature list (detail mode, when published)\n- `packageContents[]` — what's included in the box (detail mode, when published)\n- `imageUrl` — main product image\n- `images[]` — additional gallery images (detail mode)\n- `category` — full breadcrumb category path (detail mode)\n- `breadcrumbs[]` — category path as an array (detail mode)\n- `availabilityText` — stock/shipping status text, when shown (detail mode)\n- `warehouse` — ship-from warehouse code, e.g. `CN` (detail mode)\n- `shippingCost` — shipping cost text, e.g. `Free shipping` (detail mode)\n- `shipToCountry` — destination country Banggood resolved for the request (detail mode; varies with the run's origin — see FAQ)\n- `estimatedDelivery` — estimated delivery date range text (detail mode)\n- `productUrl` — canonical Banggood product page URL\n- `recordType: \"product\"`, `scrapedAt`, `sourceUrl`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search` / `byCategory` / `productDetail` |\n| `searchQuery` | string | `phone case` | Free-text keyword (mode=search) |\n| `categoryPath` | string (select) | `Wholesale-Electronics-ca-2001.html` | Department or curated subcategory to browse (mode=byCategory) — all 11 top-level departments plus 25 popular subcategories |\n| `productUrls` | array | – | Full product page URLs to fetch (mode=productDetail) |\n| `sortBy` | string (select) | `popular` | Result order for mode=search: `popular` / `newest` / `mostReviews` / `priceAsc` / `priceDesc`. No effect on mode=byCategory (Banggood's category pages have no sort control) |\n| `minPrice` | number | – | Drop products priced below this |\n| `maxPrice` | number | – | Drop products priced above this |\n| `minDiscountPercent` | int | – | Only products discounted by at least this % |\n| `minReviewCount` | int | – | Drop products with fewer reviews |\n| `minRating` | number | – | Drop products rated below this (0–5); mode=productDetail only |\n| `onSaleOnly` | boolean | `false` | Only currently-discounted products |\n| `includeTopReviews` | boolean | `false` | Fetch a small sample of featured reviews per product (mode=productDetail only) — one extra page load per product, so it's opt-in |\n| `maxItems` | int | `60` | Hard cap on emitted records (1–2000) |\n\n### Example: keyword search with a price ceiling\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"led strip light\",\n  \"maxPrice\": 20,\n  \"onSaleOnly\": true,\n  \"maxItems\": 40\n}\n```\n\n### Example: keyword search sorted by price, low to high\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQuery\": \"rc car\",\n  \"sortBy\": \"priceAsc\",\n  \"maxItems\": 40\n}\n```\n\n### Example: browse a category for well-reviewed items\n\n```json\n{\n  \"mode\": \"byCategory\",\n  \"categoryPath\": \"Wholesale-Sports-and-Outdoors-ca-6001.html\",\n  \"minReviewCount\": 5,\n  \"maxItems\": 50\n}\n```\n\n### Example: browse a popular subcategory\n\n```json\n{\n  \"mode\": \"byCategory\",\n  \"categoryPath\": \"Wholesale-Smart-Watch-ca-2210.html\",\n  \"onSaleOnly\": true,\n  \"maxItems\": 30\n}\n```\n\n### Example: full detail (with a sample of reviews) for a specific product\n\n```json\n{\n  \"mode\": \"productDetail\",\n  \"productUrls\": [\n    \"https://www.banggood.com/Baseus-SkyRing-Series-Magnetic-Phone-Case-p-1998466.html\"\n  ],\n  \"includeTopReviews\": true\n}\n```\n\n## Use cases\n\n- **Price monitoring** — track discounts and price drops across categories, sorted low-to-high or high-to-low\n- **Dropshipping research** — find trending, highly-discounted products by niche, including RC/hobby, tools, and home & garden\n- **Market intelligence** — compare pricing, ratings, and full review breakdowns across competing listings\n- **Deal aggregation** — feed on-sale, highly-rated, newest-first products into a deals site or newsletter\n- **Assortment analysis** — survey category breadth across all 11 top-level departments plus popular subcategories\n- **Product page audits** — pull specifications, package contents, and shipping details for catalog/listing QA\n\n## FAQ\n\n**Is this affiliated with Banggood?**\nNo — this is an independent third-party actor that reads Banggood's public, unauthenticated storefront pages.\n\n**Do I need to provide cookies, an account, or a proxy?**\nNo. All modes work from a fresh session with no login.\n\n**Why do some products have no `rating` or `reviewCount`?**\n`rating` is only ever present on `productDetail` results, and only when the product has at least one real review — a brand-new listing doesn't get a fake `0` rating. `reviewCount` is present in all modes.\n\n**What currency are prices in?**\nPrices reflect whatever currency Banggood serves for the request's origin (typically USD from US-based traffic). The `currency` field on each record tells you exactly which one.\n\n**Why does `shipToCountry` change between runs?**\nLike `currency`, the shipping snapshot (`shipToCountry`, `shippingCost`, `estimatedDelivery`) reflects whatever destination Banggood resolves for the request's origin. It's real, live data — just specific to where that particular run's traffic came from, not a fixed \"home country\" setting.\n\n**Does `sortBy` work in every mode?**\nNo — only `mode=search`. Banggood's category browse pages don't have a sort control at all, so `sortBy` is ignored in `mode=byCategory` (and irrelevant to `mode=productDetail`).\n\n**Why isn't every product's `specifications`/`features`/`packageContents` populated?**\nBanggood only publishes a structured spec sheet for some categories (mostly electronics/hardware) — apparel, bags, and similar categories often don't have one. When it's not published, these fields are simply omitted rather than filled with guesses.\n\n**Is `categoryPath` limited to top-level departments?**\nNo — it includes all 11 of Banggood's top-level departments plus a curated set of 25 popular, verified-active subcategories (smart watches, RC cars, security cameras, dash cams, and more). Banggood has hundreds of narrower subcategories beyond this list; the curated set focuses on the ones with consistently strong inventory.\n\n**Is there a way to get flash deals, coupons, or top-seller rankings?**\nBanggood's dedicated flash-deals/coupon/ranking pages use a different, AJAX-widget-driven layout than its standard search/category listing pages, so they aren't covered by this actor. You can get very similar results with the listing pages this actor already supports: `onSaleOnly: true` for deals, or `sortBy: \"newest\"` / `sortBy: \"mostReviews\"` for trending/new items, in either `search` or `byCategory` mode.\n\n**Can I scrape a specific seller's/brand's storefront?**\nBanggood operates primarily as a first-party retailer rather than a multi-seller marketplace, and doesn't expose a per-listing seller storefront page the way some marketplaces do — so there's no `byStore` mode.\n\n**How many products can I get per run?**\n`search` paginates automatically up to `maxItems` or until results are exhausted. `byCategory` returns a single page (Banggood's category browse doesn't expose reliable further-page navigation) — typically 40-64 products, capped by `maxItems`. `productDetail` returns exactly one record per URL you supply.\n\n**Why does `productDetail` need full URLs instead of just product IDs?**\nBanggood product URLs encode the SEO slug together with the ID; the slug isn't derivable from the ID alone, so a valid URL (from a search/category run, or copied from your browser) is required.\n\n**How fresh is the price data?**\nPrices are fetched live on every run directly from Banggood's pricing service — not cached.\n\n**Why don't some `search`/`byCategory` results show `listPrice`/`discountPercent` even though the item is on sale?**\nThe current buyable `price` is always accurate. `listPrice` and `discountPercent` on listing results come from a reference price shown on the listing card itself, which Banggood doesn't always populate consistently. For a guaranteed, authoritative discount figure, use `mode=productDetail` on that product's URL.\n",
      "input": {
        "title": "Banggood Scraper Input",
        "description": "Search Banggood by keyword, browse a top-level category, or fetch full product detail by URL.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to fetch.",
            "editor": "select",
            "enum": [
              "search",
              "byCategory",
              "productDetail"
            ],
            "enumTitles": [
              "Search by keyword",
              "Browse by category",
              "Product detail by URL"
            ],
            "default": "search",
            "prefill": "search"
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Free-text keyword search, e.g. `phone case`, `rc car`, `led strip light`.",
            "editor": "textfield",
            "default": "phone case",
            "prefill": "phone case"
          },
          "categoryPath": {
            "title": "Category (mode=byCategory)",
            "type": "string",
            "description": "Banggood department to browse — either one of the 11 top-level departments or a curated popular subcategory within one.",
            "editor": "select",
            "enum": [
              "Wholesale-Electronics-ca-2001.html",
              "Wholesale-Phones-and-Accessories-ca-1001.html",
              "Wholesale-Computers-and-Office-ca-5001.html",
              "Wholesale-Automobiles-and-Motorcycles-ca-4001.html",
              "Wholesale-Sports-and-Outdoors-ca-6001.html",
              "Wholesale-Home-Appliance-and-Health-ca-18949.html",
              "Wholesale-Lights-and-Lighting-ca-14001.html",
              "Wholesale-Men-and-Womens-Clothing-ca-18941.html",
              "Wholesale-Toys-Hobbies-and-Robot-c-133.html",
              "Wholesale-Home,Garden-and-Furniture-ca-12001.html",
              "Wholesale-Tools,Industrial-and-Scientific-ca-3001.html",
              "Wholesale-Smart-Watch-ca-2210.html",
              "Wholesale-Smart-Wristband-ca-1095.html",
              "Wholesale-Bluetooth-Speakers-ca-1048.html",
              "Wholesale-Earbud-Headphones-and-Earphones-ca-1049.html",
              "Wholesale-Power-Banks-and-Stations-ca-1058.html",
              "Wholesale-Wireless-Chargers-ca-1018.html",
              "Wholesale-Security-Cameras-ca-2471.html",
              "Wholesale-RC-Car-ca-7008.html",
              "Wholesale-RC-Boat-ca-7009.html",
              "Wholesale-Model-and-Building-Toys-ca-7109.html",
              "Wholesale-LED-Solar-Lights-ca-14030.html",
              "Wholesale-Flashlight-ca-14002.html",
              "Wholesale-Robot-Vacuums-Cleaners-ca-9003.html",
              "Wholesale-Humidifiers-ca-9023.html",
              "Wholesale-Massager-Gun-ca-18961.html",
              "Wholesale-Car-DVR-Camera-ca-4119.html",
              "Wholesale-Jump-Starter-ca-4044.html",
              "Wholesale-Code-Readers-and-Scan-Tools-ca-4050.html",
              "Wholesale-Mechanical-Gaming-Keyboard-ca-5030.html",
              "Wholesale-Monitor-ca-5016.html",
              "Wholesale-Projectors-and-Theaters-ca-5084.html",
              "Wholesale-Fishing-and-Hunting-ca-6023.html",
              "Wholesale-Telescope-and-Binoculars-ca-6036.html",
              "Wholesale-Shoes-and-Bags-ca-11001.html",
              "Wholesale-Dresses-ca-16042.html"
            ],
            "enumTitles": [
              "Electronics",
              "Phones & Accessories",
              "Computers & Office",
              "Automobiles & Motorcycles",
              "Sports & Outdoors",
              "Home Appliance & Health",
              "Lights & Lighting",
              "Men's & Women's Clothing",
              "Toys, Hobbies & Robots",
              "Home, Garden & Furniture",
              "Tools, Industrial & Scientific",
              "Subcategory: Smart Watches",
              "Subcategory: Fitness Trackers & Smart Wristbands",
              "Subcategory: Bluetooth Speakers",
              "Subcategory: Earbuds & Headphones",
              "Subcategory: Power Banks & Power Stations",
              "Subcategory: Wireless Chargers",
              "Subcategory: Security Cameras",
              "Subcategory: RC Cars",
              "Subcategory: RC Boats",
              "Subcategory: Model & Building Toys",
              "Subcategory: LED Solar Lights",
              "Subcategory: Flashlights",
              "Subcategory: Robot Vacuum Cleaners",
              "Subcategory: Humidifiers",
              "Subcategory: Massage Guns",
              "Subcategory: Car Dash Cams (DVR)",
              "Subcategory: Car Jump Starters",
              "Subcategory: OBD Code Readers & Scan Tools",
              "Subcategory: Mechanical Gaming Keyboards",
              "Subcategory: Computer Monitors",
              "Subcategory: Projectors & Home Theaters",
              "Subcategory: Fishing & Hunting Gear",
              "Subcategory: Telescopes & Binoculars",
              "Subcategory: Shoes & Bags",
              "Subcategory: Dresses"
            ],
            "default": "Wholesale-Electronics-ca-2001.html",
            "prefill": "Wholesale-Electronics-ca-2001.html"
          },
          "productUrls": {
            "title": "Product URLs (mode=productDetail)",
            "type": "array",
            "description": "Full Banggood product page URLs, e.g. `https://www.banggood.com/Baseus-SkyRing-Series-Magnetic-Phone-Case-p-1998466.html`.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "sortBy": {
            "title": "Sort by (mode=search only)",
            "type": "string",
            "description": "Result order for mode=search, matching Banggood's own sort dropdown/URL parameter exactly (verified against the live site's own sort links). Banggood's category browse pages (mode=byCategory) have no sort control, so this is ignored outside mode=search. Note on priceAsc/priceDesc: Banggood's own server-side price sort is not strictly monotonic — it blends price with relevance/sponsored placement (a common e-commerce pattern), so expect the general trend to hold rather than a mathematically exact ascending/descending sequence.",
            "editor": "select",
            "enum": [
              "popular",
              "newest",
              "mostReviews",
              "priceAsc",
              "priceDesc"
            ],
            "enumTitles": [
              "Popular (Banggood's default ranking)",
              "Newest arrivals",
              "Most reviews",
              "Price: low to high",
              "Price: high to low"
            ],
            "default": "popular",
            "prefill": "popular"
          },
          "minPrice": {
            "title": "Min price",
            "type": "number",
            "description": "Drop products priced (current/final price) below this value.",
            "minimum": 0,
            "maximum": 1000000
          },
          "maxPrice": {
            "title": "Max price",
            "type": "number",
            "description": "Drop products priced (current/final price) above this value.",
            "minimum": 0,
            "maximum": 1000000
          },
          "minDiscountPercent": {
            "title": "Min discount %",
            "type": "integer",
            "description": "Only emit products discounted by at least this percentage. Discount data is most consistently available in mode=productDetail — search/byCategory listing cards don't always surface a reference (pre-discount) price for every market/region, so this filter can under-match in those modes.",
            "minimum": 0,
            "maximum": 99
          },
          "minReviewCount": {
            "title": "Min review count",
            "type": "integer",
            "description": "Drop products with fewer reviews than this. Some category-page card layouts don't surface a review count at all — those products are not excluded by this filter (only products with a known, too-low review count are dropped).",
            "minimum": 0,
            "maximum": 1000000
          },
          "minRating": {
            "title": "Min rating (0-5, mode=productDetail only)",
            "type": "number",
            "description": "Drop products rated below this. Banggood only shows a star rating on product detail pages, not on search/category listing cards, so this filter only has an effect in mode=productDetail (no-op pass-through for search/byCategory).",
            "minimum": 0,
            "maximum": 5
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only emit products currently discounted. Most reliable in mode=productDetail — see the note on Min discount %.",
            "default": false,
            "prefill": false
          },
          "includeTopReviews": {
            "title": "Include top reviews (mode=productDetail only)",
            "type": "boolean",
            "description": "Fetch a small sample of featured customer reviews (reviewer, country, rating, date, text, helpful count, photos) for each product. Adds one extra page load per product, so it's off by default. No effect outside mode=productDetail.",
            "default": false,
            "prefill": false
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted records. Note on mode=byCategory: Banggood's category browse pages don't expose further pagination (confirmed live -- `?page=N` silently re-renders page 1, and the `-N.html` suffix that works for `/search/` 404s for category URLs), so byCategory returns at most one page (~60 products) regardless of this value. mode=search paginates deeply and can approach this cap on broad/popular queries, though very narrow queries will exhaust their real result set first.",
            "minimum": 1,
            "maximum": 2000,
            "default": 60,
            "prefill": 60
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Banggood Deals, Specs & Review Scraper Output",
        "description": "Products scraped from Banggood.com — titles, prices, discounts, ratings, review counts, images, brand, and category.",
        "properties": {
          "products": {
            "type": "string",
            "title": "Banggood products",
            "description": "Dataset containing all scraped Banggood products.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Products",
              "transformation": {
                "fields": [
                  "title",
                  "brand",
                  "price",
                  "listPrice",
                  "discountPercent",
                  "currency",
                  "rating",
                  "reviewCount",
                  "productUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.1",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    }
  }
}