search-products

Search Lazada Malaysia by keyword and return structured product results (title, price MYR, rating, reviews, seller, LazMall flag, discount, canonical URL) with optional filters for price range, location, shipping, and sort. Read-only.

Works with

Claude CodeCursorClineWindsurfCodexGooseGitHub CopilotZed

0

total installs

0

this week

0

upvotes

Install Skill

Run in your terminal

$browse install lazada.com.my/search-products-ancb86

0

installs

0

this week

stars

Installation Guide

How to use search-products on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your machine
  • Node.js 16+ with npm — verify with node --version
  • Active project directory where you want to add search-products
2

Run the install command

Execute the skills CLI command in your project's root directory to begin installation:

$browse install lazada.com.my/search-products-ancb86

Fetches search-products from lazada.com.my/search-products-ancb86 and configures it for Cursor.

3

Select Cursor when prompted

The CLI shows a list of agents. Use arrow keys and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ────────────────
│ · Cline · Codex · Goose · Windsurf
│ ●Cursor(selected)
│ · Cursor · Aider · Continue
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/search-products

Restart Cursor to activate search-products. Access via /search-products in your agent's command palette.

Security Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.

Documentation

name
search-products
title
Lazada Malaysia Product Search
description
>- Search Lazada Malaysia by keyword and return structured product results (title, price MYR, rating, reviews, seller, LazMall flag, discount, canonical URL) with optional filters for price range, location, shipping, and sort. Read-only.
website
lazada.com.my
category
marketplace
tags
- marketplace - ecommerce - lazada - malaysia - anti-bot
source
'browserbase: agent-runtime 2026-05-20'
updated
'2026-05-20'
recommended_method
browser
alternative_methods
- method: api rationale: >- Alibaba's mtop endpoint (acs.lazada.com.my/h5/mtop.lazada.search.gateway/1.0/) is the in-app data path but requires appKey + sign + rotating _m_h5_tk token. A bare GET returned 500; reverse-engineering the signature is significant but yields a CAPTCHA-free path if invested in. - method: browser rationale: >- The /catalog/?q=… search URL is the only public surface that emits product data, but it is gated by Alibaba TMD's reCAPTCHA wall on every probe from a US-IP Browserbase session (verified across 3 iterations). Browser-driven extraction requires a wall-bust strategy: Malaysian-residential proxy, external CAPTCHA solver, or a logged-in cookie jar.
verified
true
proxies
true

Lazada Malaysia Product Search

Purpose

Given a keyword (and optional filters: price range, location, shipping option, sort), return a structured list of matching products on Lazada Malaysia — title, price in MYR, rating, review count, seller name, LazMall flag, discount badge, and canonical URL. Read-only — never adds to cart, checks out, or posts.

Status: candidate. The Lazada Malaysia search endpoint (/catalog/?q=...) is comprehensively blocked by Alibaba's TMD (Threat Management Detection) anti-bot CDN layer at the time of generation. Three independent attempts (verified+proxied Browserbase session, autobrowse inner-agent loop, and browse cloud fetch direct HTTP) all converged to the same /catalog/_____tmd_____/punish?x5step=1&x5secdata=… reCAPTCHA wall. Operating this skill in practice requires one of the wall-busting paths in Site-Specific Gotchas below — most likely an external CAPTCHA-solving service or a Malaysian-residential proxy that has not yet been tried.

When to Use

  • Comparison shopping across Lazada Malaysia by keyword (e.g. "wireless earphones under RM100").
  • Inventory monitoring for a specific product line on the MY storefront.
  • Bulk catalog enumeration for a category — when paired with a working wall-bust strategy.
  • Not for logged-in operations (wishlists, cart, checkout) — those require auth and are out of scope.

Workflow

Lazada Malaysia has no usable public JSON API and no functioning mobile-app shortcut from a Browserbase US-region session — every probe of /catalog/?q=, /shop/{store}/, /products/i*-s*.html, acs.lazada.com.my/h5/mtop.lazada.search.gateway, and /sitemap_pdp.xml returned either Bxpunish: 1 (TMD interstitial) or a 5xx. The browser is the only surface that loads anything; the search URL specifically is gated. Lead with the browser flow below, but expect to hit the wall on the very first navigation to /catalog/?q= and apply one of the Gotchas workarounds before extracting.

  1. Create a verified + proxied session.

    sid=$(browse cloud sessions create --keep-alive --proxies --verified --solve-captchas \
      | node -e "let s='';process.stdin.on('data',c=>s+=c).on('end',()=>process.stdout.write(JSON.parse(s).id))")
    export BROWSE_SESSION="$sid"
    

    All three flags are mandatory. --solve-captchas does not crack Alibaba's TMD reCAPTCHA (verified — see Gotchas), but it costs nothing to include in case Browserbase ships a fix. --region ap-southeast-1 sets the server region, not the proxy egress IP — --proxies still gives a US residential IP (observed 52.27.x and 52.34.x from httpbin.org/ip across runs).

  2. Warm the session with the homepage first.

    browse open "https://www.lazada.com.my/" --remote --session "$sid"
    browse wait load --remote --session "$sid"            # may timeout — that's fine; URL ends as /#?
    browse wait timeout 4000 --remote --session "$sid"
    

    Homepage loads cleanly (~390 KB HTML, title "Lazada Malaysia | Top Deals & Free Shipping for You!") and seeds the session with lzd_cid, _m_h5_tk, and AliExpress cookies. Skipping the warm-up does not change the outcome of step 3 — the wall fires regardless of referrer — but the warm-up is cheap insurance and gives you a stable searchbox ref tree if you intend to drive the form natively.

  3. Navigate to the search URL.

    browse open "https://www.lazada.com.my/catalog/?q=$(printf '%s' "$keyword" | jq -sRr @uri)" \
        --remote --session "$sid"
    browse wait timeout 4000 --remote --session "$sid"
    url=$(browse get url --remote --session "$sid" | node -pe "JSON.parse(require('fs').readFileSync(0,'utf8')).url")
    

    Form-style URL params Lazada accepts on a working /catalog/?q= request (confirmed via the homepage's pre-rendered "shop more" links and the <form action="//www.lazada.com.my/catalog/" method="GET"> in the page source):

    • q=<keyword> — required.
    • price=<min>-<max> — e.g. price=50-200 (MYR).
    • location=<state> — e.g. location=Selangor, Kuala+Lumpur, Johor.
    • service=free_shipping or service=cod — shipping/COD filter.
    • rating=<n> — minimum rating, integer 1–5.
    • sort=priceasc | pricedesc | latest | bestmatch | bestsellers — sort key.
    • page=<n> — pagination, 1-indexed.
    • _keyori=ss&from=input — search-origin tracker (Lazada's homepage emits these on legitimate clicks). Including them does not bypass the wall in our tests, but their absence may make a borderline request look more bot-like.
  4. Detect the wall. If $url matches /_____tmd_____/punish? you have been intercepted. The page contains:

    • An outer <iframe> wrapping
    • A "We need to check if you are a robot." message
    • A nested reCAPTCHA v2 iframe at [?-?] checkbox: I'm not a robot
    • A "Click to feedback >" link at the bottom (no programmatic value)

    You must apply one of the workarounds in Site-Specific Gotchas before proceeding to step 5. Naïvely clicking the reCAPTCHA checkbox, waiting 30s, or relying on Browserbase's --solve-captchas did not advance the page in 3 independent iterations.

  5. (Wall bypassed) Extract products from the rendered page. Lazada serves search results with a server-side-rendered JSON payload embedded as window.runParams.mods.listItems in a <script> block. Two extraction options, in order of cost:

    • Preferred — read the SSR JSON via browse eval:

      browse eval --remote --session "$sid" \
        "JSON.stringify(window.runParams?.mods?.listItems?.slice(0,60) || [])" \
        | node -pe "JSON.parse(require('fs').readFileSync(0,'utf8')).result"
      

      Each listItems[i] carries name, priceShow (formatted MYR string), price (numeric), originalPrice (pre-discount), discount (e.g. "-25%"), ratingScore (string, may be empty), review (integer), brandName, sellerName, inFav, itemId, skuId, productUrl (starts with //www.lazada.com.my/products/i…-s….html), image, and a mall: 1 flag for LazMall stores. Total result count is at window.runParams.mods.searchTitleBar?.totalCount or window.runParams.mainInfo?.totalResults.

    • Fallback — parse the rendered card grid via browse snapshot: card refs appear under a [*] list node. Per-card text extraction works but is ~3× more turns than the SSR path.

  6. Construct canonical URLs. listItems[i].productUrl is protocol-relative; prepend https: and strip the ?spm=… tracking suffix for the canonical form:

    https://www.lazada.com.my/products/i{itemId}-s{skuId}.html
    
  7. Paginate (if requested). Append &page=2, &page=3, … to the same URL. Each page is also gated by the TMD wall — once you have a session that cleared the wall on page 1, subsequent pages usually load without re-challenging, but the wall can re-fire on cookie expiry (observed ~20-min TTL on x5secdata).

  8. Release the session.

    browse cloud sessions update "$sid" --status REQUEST_RELEASE   # 400 on current API
    # Alternative — session auto-releases when its 30-min keepAlive timer expires.
    

    Note: as of the test run, --status REQUEST_RELEASE returns 400 Validation error: Unrecognized key(s) in object: 'status' from the Browserbase API. The session will time out naturally; no action required.

Site-Specific Gotchas

  • TMD/punish wall is the dominant failure mode. /catalog/?q=, /shop/{store}/, and /products/i*-s*.html all return HTTP 200 with header Bxpunish: 1 and a body that immediately window.location.replaces to https://www.lazada.com.my/catalog/_____tmd_____/punish?x5secdata=<long-token>&x5step=1. The wall presents an Alibaba-skinned reCAPTCHA v2 checkbox inside a nested iframe. Verified hit on every probe across 3 iterations with --verified --proxies [--solve-captchas] sessions from 52.27.x / 52.34.x (AWS US-West-2) residential IPs. Headers also expose Vary: …, Ali-Detector-Type, Ali-Hng, X-Host, … — Alibaba's bot detector is varying response on a signal we do not have.

  • Browserbase --solve-captchas does NOT solve Alibaba TMD reCAPTCHA. Two iterations clicked the [*] checkbox: I'm not a robot ref and waited 10–30s; the URL never advanced past _____tmd_____/punish?…&x5step=1. Alibaba's challenge wraps Google reCAPTCHA with a custom token-handshake at x5step=2/x5step=3 that Browserbase's solver does not currently emulate.

  • Known workarounds (none verified in this run — listed in best-guess priority):

    1. Malaysian-residential proxy. Browserbase --proxies egress is US-based regardless of --region. A Malaysian IP from a 3rd-party residential pool (BrightData, Oxylabs, Smartproxy MY-pool) routed via Browserbase's custom-proxy config is the most likely single-fix. Lazada's TMD blocklist scores non-target-country IPs aggressively.
    2. External CAPTCHA-solving service (2Captcha, Anti-Captcha, CapSolver). Pull the reCAPTCHA sitekey and page URL from the iframe; submit to the solving API; inject the g-recaptcha-response token; trigger the parent frame's verify callback. ~$0.003 per solve, ~30–60s latency.
    3. Logged-in session with a real Lazada account cookie. TMD is more permissive for authenticated users. Out of scope for read-only, but viable if you can warm-start with a serialized cookie jar.
    4. The Lazada mobile-app mtop API (acs.lazada.com.my/h5/mtop.lazada.search.gateway/1.0/…). Requires appKey + sign + _m_h5_tk token rotation; returned 500 from a bare cURL in this run. Reverse-engineering the signature scheme is significant work but yields a stable, captcha-free path.
  • browse cloud fetch --proxies is geo-locked away from the search endpoint. Even with Set-Cookie: x5secdata=… returned, the content body is just the JS-redirect-to-punish HTML. Cloud Fetch has no UA / Referer / cookie-jar override — do not waste time stacking it.

  • m.lazada.com.my redirects to www.lazada.com.my. No separate mobile-web surface for the MY storefront. Don't bother probing it.

  • /tag/{slug}/ is NOT a generic search alias. /tag/wireless-earphones/ returns 200 OK with title "Buy Wireless Earphones Online at a Better Price | Lazada Malaysia" but body text "Search No Result — We're sorry. We cannot find any matches for your search term." Lazada's /tag/ tree is a curated SEO-slug catalog, not an arbitrary keyword endpoint. Do not substitute it for /catalog/?q=.

  • /{category-name}/, /shop-{type}/, and similar guessed slugs are 404. /audio/, /wireless-earphones/, /shop-wireless-earphones/ all returned "Page Not Found". The only first-party category URLs that exist are the ones surfaced by the homepage navigation (/birthday-sale/, /mid-year-supersale/, /9-9/, /apple-deal/, …) — campaign landing pages, not browseable taxonomy.

  • Homepage URL after load resolves to https://www.lazada.com.my/#?. browse wait load may report a timeout but the page is fully usable — the hash-suffix is a Lazada SPA artifact, not a navigation failure. Always re-check browse get url and browse get title rather than trusting the load event.

  • Searchbox refs invalidate on every navigation. Lazada uses a React searchbox; the ref like [13-555] from one snapshot will not survive a navigation or even a sufficient DOM tick. Always re-snapshot and re-resolve the searchbox ref before each fill / click. The SEARCH button is an <a> link to //www.lazada.com.my/catalog/?q= — clicking it is equivalent to direct navigation and will trigger the wall identically.

  • browse fill with --press-enter does submit the form (observed pressedEnter: true in autobrowse iter-2) but the resulting navigation lands on _____tmd_____/punish?… regardless. Native form-submit confers no protection.

  • x5secdata cookie has ~20-minute TTL (Max-Age=20 was observed but the actual session-level lockout appears longer — empirical estimate based on session lifecycle). Once you clear the wall, treat it as fragile state; persist the cookie jar to --context-id if you need multi-page extraction.

  • Lazada's homepage SSR carries g_config with locale data (window.g_config.regionID = "MY", language = "en") but no embedded runParams.mods.listItems — only /catalog/-type pages emit product SSR. Don't try to harvest products from the homepage.

  • Expected SSR shape on the search results page is window.runParams.mods.listItems — this is the documented Lazada/RedMart pattern observed in prior third-party scraping work (the structure was NOT verified in this generation run because the wall was not bypassed). If the page renders but the eval returns [], fall back to DOM-card extraction and update this gotcha.

  • READ-ONLY — never click product detail or add-to-cart. Slot-time / book / submit-order equivalents on Lazada are "Buy Now" and "Add to Cart" — stop at the search-results grid. Do not navigate into /products/i…-s….html unless you need to verify a single canonical URL, and even then, that endpoint is also TMD-walled.

Expected Output

Two distinct outcome shapes:

// 1. Search succeeded (wall bypassed, products extracted)
{
  "success": true,
  "keyword": "wireless earphones",
  "filters": {
    "price_min_myr": 50,
    "price_max_myr": 200,
    "location": "Selangor",
    "shipping": "free_shipping",
    "sort": "bestmatch"
  },
  "total_results": 12483,
  "page": 1,
  "products": [
    {
      "title": "Soundcore by Anker P40i Wireless Earbuds Bluetooth 5.3",
      "price_myr": 129.00,
      "original_price_myr": 199.00,
      "discount": "-35%",
      "rating": 4.8,
      "review_count": 1247,
      "seller_name": "Anker Official Store",
      "brand_name": "Soundcore",
      "lazmall": true,
      "location": "Selangor",
      "item_id": "3567890123",
      "sku_id": "21987654321",
      "url": "https://www.lazada.com.my/products/i3567890123-s21987654321.html",
      "image_url": "https://my-test-11.slatic.net/p/abc123.jpg"
    }
  ]
}

// 2. Anti-bot wall hit and no bypass available
{
  "success": false,
  "reason": "anti_bot_wall",
  "wall_type": "alibaba_tmd_recaptcha",
  "blocked_url": "https://www.lazada.com.my/catalog/_____tmd_____/punish?x5step=1&x5secdata=…",
  "evidence": {
    "response_header_bxpunish": "1",
    "challenge": "recaptcha_v2_checkbox",
    "session_flags": ["--verified", "--proxies", "--solve-captchas"],
    "proxy_egress_country": "US"
  },
  "remediation_hint": "Try Malaysian-residential proxy, external CAPTCHA-solving service, or a warm cookie jar from a logged-in account. See Site-Specific Gotchas."
}

List & Monetize Your Skill

Submit your Claude Code skill and start earning

Get started →

Use Cases

Task Automation & Efficiency

Automate repetitive workflows and reduce manual effort

Example

Generate reports, summarize documents, draft communications

Save 3-5 hours per week on routine tasks

Knowledge Enhancement

Learn new skills, understand complex topics, get expert guidance

Example

Explain concepts, provide examples, suggest learning resources

Accelerate learning and skill development by 2x

Quality Improvement

Enhance output quality through reviews, suggestions, and refinements

Example

Review drafts, suggest improvements, catch errors

Improve work quality by 30-40% with less effort

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client with skill support
  • Clear understanding of task or problem to solve
  • Willingness to iterate and refine outputs

Time Estimate

15-45 minutes depending on use case complexity

Steps

  1. 1Install skill using provided installation command
  2. 2Test with simple use case relevant to your work
  3. 3Evaluate output quality and relevance
  4. 4Iterate on prompts to improve results
  5. 5Integrate into regular workflow if valuable

Common Pitfalls

  • Expecting perfect results without iteration
  • Not providing enough context in prompts
  • Using skill for tasks outside its intended scope
  • Accepting outputs without review and validation

Best Practices

✓ Do

  • +Start with clear, specific prompts
  • +Provide relevant context and constraints
  • +Review and refine all outputs before using
  • +Iterate to improve output quality
  • +Document successful prompt patterns

✗ Don't

  • Don't use without understanding skill limitations
  • Don't skip validation of outputs
  • Don't share sensitive information in prompts
  • Don't expect skill to replace human judgment

💡 Pro Tips

  • Be specific about desired format and style
  • Ask for multiple options to choose from
  • Request explanations to understand reasoning
  • Combine AI efficiency with human expertise

When to Use This

✓ Use when

Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.

✗ Avoid when

Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.

Learning Path

  1. 1Familiarize yourself with skill capabilities and limitations
  2. 2Start with low-risk, non-critical tasks
  3. 3Progress to more complex and valuable use cases
  4. 4Build expertise through regular use and experimentation

Related Skills

Reviews

4.653 reviews
  • A
    Ama PerezDec 24, 2024

    We added search-products from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • S
    Sakura PerezDec 24, 2024

    search-products fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • R
    Ren FarahDec 20, 2024

    Keeps context tight: search-products is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • S
    Sakura KhanDec 20, 2024

    Solid pick for teams standardizing on skills: search-products is focused, and the summary matches what you get after install.

  • Y
    Yusuf HuangDec 16, 2024

    search-products reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Y
    Yuki ThompsonDec 12, 2024

    Registry listing for search-products matched our evaluation — installs cleanly and behaves as described in the markdown.

  • C
    Chaitanya PatilDec 4, 2024

    search-products is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • P
    Piyush GNov 23, 2024

    search-products fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • A
    Ama GonzalezNov 23, 2024

    search-products reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • E
    Emma GonzalezNov 11, 2024

    Registry listing for search-products matched our evaluation — installs cleanly and behaves as described in the markdown.

showing 1-10 of 53

1 / 6

Discussion

Comments — not star reviews
  • No comments yet — start the thread.