search-products▌
lazada.com.my/search-products-ancb86 · updated May 21, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
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.
| 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.
-
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-captchasdoes not crack Alibaba's TMD reCAPTCHA (verified — see Gotchas), but it costs nothing to include in case Browserbase ships a fix.--region ap-southeast-1sets the server region, not the proxy egress IP —--proxiesstill gives a US residential IP (observed52.27.xand52.34.xfromhttpbin.org/ipacross runs). -
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. -
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_shippingorservice=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.
-
Detect the wall. If
$urlmatches/_____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-captchasdid not advance the page in 3 independent iterations. - An outer
-
(Wall bypassed) Extract products from the rendered page. Lazada serves search results with a server-side-rendered JSON payload embedded as
window.runParams.mods.listItemsin 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]carriesname,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 amall: 1flag for LazMall stores. Total result count is atwindow.runParams.mods.searchTitleBar?.totalCountorwindow.runParams.mainInfo?.totalResults. -
Fallback — parse the rendered card grid via
browse snapshot: card refs appear under a[*] listnode. Per-card text extraction works but is ~3× more turns than the SSR path.
-
-
Construct canonical URLs.
listItems[i].productUrlis protocol-relative; prependhttps:and strip the?spm=…tracking suffix for the canonical form:https://www.lazada.com.my/products/i{itemId}-s{skuId}.html -
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 onx5secdata). -
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_RELEASEreturns400 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*.htmlall return HTTP 200 with headerBxpunish: 1and a body that immediatelywindow.location.replaces tohttps://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 from52.27.x/52.34.x(AWS US-West-2) residential IPs. Headers also exposeVary: …, Ali-Detector-Type, Ali-Hng, X-Host, …— Alibaba's bot detector is varying response on a signal we do not have. -
Browserbase
--solve-captchasdoes NOT solve Alibaba TMD reCAPTCHA. Two iterations clicked the[*] checkbox: I'm not a robotref and waited 10–30s; the URL never advanced past_____tmd_____/punish?…&x5step=1. Alibaba's challenge wraps Google reCAPTCHA with a custom token-handshake atx5step=2/x5step=3that Browserbase's solver does not currently emulate. -
Known workarounds (none verified in this run — listed in best-guess priority):
- Malaysian-residential proxy. Browserbase
--proxiesegress 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. - External CAPTCHA-solving service (2Captcha, Anti-Captcha, CapSolver). Pull the reCAPTCHA
sitekeyand page URL from the iframe; submit to the solving API; inject theg-recaptcha-responsetoken; trigger the parent frame's verify callback. ~$0.003 per solve, ~30–60s latency. - 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.
- The Lazada mobile-app mtop API (
acs.lazada.com.my/h5/mtop.lazada.search.gateway/1.0/…). RequiresappKey+sign+_m_h5_tktoken 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.
- Malaysian-residential proxy. Browserbase
-
browse cloud fetch --proxiesis geo-locked away from the search endpoint. Even withSet-Cookie: x5secdata=…returned, thecontentbody 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.myredirects towww.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 loadmay report a timeout but the page is fully usable — the hash-suffix is a Lazada SPA artifact, not a navigation failure. Always re-checkbrowse get urlandbrowse get titlerather 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-snapshotand re-resolve the searchbox ref before eachfill/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 fillwith--press-enterdoes submit the form (observedpressedEnter: truein autobrowse iter-2) but the resulting navigation lands on_____tmd_____/punish?…regardless. Native form-submit confers no protection. -
x5secdatacookie has ~20-minute TTL (Max-Age=20was 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-idif you need multi-page extraction. -
Lazada's homepage SSR carries
g_configwith locale data (window.g_config.regionID = "MY",language = "en") but no embeddedrunParams.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….htmlunless 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."
}
How to use search-products on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add search-products
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches search-products from GitHub repository lazada.com.my/search-products-ancb86 and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate search-products. Access the skill through slash commands (e.g., /search-products) or your agent's skill management interface.
Security & Verification 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 development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
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
Installation Steps
- 1.Install skill using provided installation command
- 2.Test with simple use case relevant to your work
- 3.Evaluate output quality and relevance
- 4.Iterate on prompts to improve results
- 5.Integrate 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▌
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★53 reviews- ★★★★★Ama Perez· Dec 24, 2024
We added search-products from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Sakura Perez· Dec 24, 2024
search-products fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Ren Farah· Dec 20, 2024
Keeps context tight: search-products is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Sakura Khan· Dec 20, 2024
Solid pick for teams standardizing on skills: search-products is focused, and the summary matches what you get after install.
- ★★★★★Yusuf Huang· Dec 16, 2024
search-products reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Yuki Thompson· Dec 12, 2024
Registry listing for search-products matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Chaitanya Patil· Dec 4, 2024
search-products is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Piyush G· Nov 23, 2024
search-products fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Ama Gonzalez· Nov 23, 2024
search-products reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Emma Gonzalez· Nov 11, 2024
Registry listing for search-products matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 53