Search Amazon.in by keyword and return structured product listings — ASIN, title, current price (INR), MRP, rating, review count, canonical URL, sponsored flag, and free-delivery flag — from the first search-results page.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionbrowse-productsExecute the skills CLI command in your project's root directory to begin installation:
Fetches browse-products from amazon.in/browse-products-bbcv7y and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate browse-products. Access via /browse-products in your agent's command palette.
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.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
0
upvotes
Run in your terminal
0
installs
0
this week
—
stars
| name | browse-products |
| title | Amazon India Browse Products |
| description | >- Search Amazon.in by keyword and return structured product listings — ASIN, title, current price (INR), MRP, rating, review count, canonical URL, sponsored flag, and free-delivery flag — from the first search-results page. |
| website | amazon.in |
| category | ecommerce |
| tags | - amazon - ecommerce - india - search - products - listings |
| source | 'browserbase: agent-runtime 2026-05-19' |
| updated | '2026-05-19' |
| recommended_method | browser |
| alternative_methods | - method: api rationale: >- Amazon Product Advertising API (paapi5) is available but gated — requires Seller Central account approval and HMAC-signed requests with access keys. Not usable for ad-hoc scraping. The unauthenticated /s?k= search URL is the only practical path. |
| verified | true |
| proxies | true |
Search Amazon.in (the India marketplace) for products by keyword and return the first-page search-result listings as structured records — ASIN, title, current price (INR), MRP/list price, star rating, review count, canonical product URL, primary thumbnail image, sponsored flag, and free-delivery flag. Read-only; never adds to cart, never checks out, never signs in.
document.querySelectorAll pass beats clicking through the search form.There is no public Amazon Product API available without a Seller Central / Product Advertising API approval and access keys. The deep-link search URL (https://www.amazon.in/s?k=<query>) is the reliable shortcut: it's an unauthenticated GET, accepts a small set of well-known query parameters (page, s for sort, rh for refinements), and renders fully server-side — every result card is in the initial HTML, no scroll/XHR pagination required. The extraction below runs in one document.querySelectorAll pass; do not try to drive the search form via the homepage #twotabsearchtextbox — the homepage is heavier (~25s wall time, multiple A/B-test variants of the search box), the deep link is ~3s and identical.
A Browserbase session with --verified --proxies (Indian residential proxy) is required when the outbound IP is outside India — amazon.in serves a reduced/redirect homepage to non-Indian IPs and a CSRF challenge on the search endpoint. With verified+proxies enabled, no captcha or login wall was observed across 4 distinct queries (commodity electronics, books, ascending-price sort, page 2 pagination).
Create a stealth Browserbase session.
sid=$(browse cloud sessions create --keep-alive --proxies --verified \
| node -e "let s='';process.stdin.on('data',c=>s+=c).on('end',()=>process.stdout.write(JSON.parse(s).id))")
export BROWSE_SESSION="$sid"
Deep-link to the search URL. Skip the homepage entirely.
QUERY="wireless earbuds under 2000"
ENC=$(node -e "process.stdout.write(encodeURIComponent(process.argv[1]).replace(/%20/g,'+'))" "$QUERY")
browse open "https://www.amazon.in/s?k=$ENC" --remote --session "$sid"
browse wait timeout 3000 --remote --session "$sid"
Optional query params:
page=N — pagination (1-indexed). 22 raw cards/page, ~19 unique after dedup.s=price-asc-rank (low→high), s=price-desc-rank (high→low), s=review-rank (avg rating), s=date-desc-rank (newest), s=relevanceblender (default).rh=p_36:50000-200000 — price range in paise (×100, so 50000-200000 = ₹500–₹2000). Combine with &dc for "department-confined".i=stripbooks / i=electronics / i=fashion — department refinement (the i= value matches the slug shown in Amazon's left-nav department links).Extract product cards via one DOM pass. Pipe this script through browse eval (the IIFE pattern below returns a JSON string that browse eval will surface in its result field):
(() => {
const ORIGIN = 'https://www.amazon.in';
const decodeAsin = href => {
if (!href) return null;
if (href.startsWith('/sspa/click')) {
try {
const dest = new URL(href, ORIGIN).searchParams.get('url');
if (dest) {
const m = decodeURIComponent(dest).match(/\/dp\/([A-Z0-9]{10})/);
if (m) return m[1];
}
} catch (e) {}
}
const m = href.match(/\/dp\/([A-Z0-9]{10})/);
return m ? m[1] : null;
};
const parsePrice = t => {
if (!t) return null;
const d = t.replace(/[^\d.]/g, '').replace(/\./g, '');
return d ? parseInt(d, 10) : null;
};
const parseReviewCount = t => {
if (!t) return null;
const c = t.replace(/[(),]/g, '').trim();
const m = c.match(/^([\d.]+)\s*([KMkm]?)$/);
if (!m) return parseInt(c.replace(/\D/g, ''), 10) || null;
const n = parseFloat(m[1]), s = m[2].toLowerCase();
if (s === 'k') return Math.round(n * 1000);
if (s === 'm') return Math.round(n * 1e6);
return Math.round(n);
};
const parseRating = t => {
if (!t) return null;
const m = t.match(/^([\d.]+)/);
return m ? parseFloat(m[1]) : null;
};
const items = document.querySelectorAll('[data-component-type="s-search-result"]');
const out = [], seen = new Set();
items.forEach(el => {
const rawAsin = el.getAttribute('data-asin');
if (!rawAsin) return;
const linkEl = el.querySelector('h2 a, a.s-line-clamp-2, a.s-no-outline');
const href = linkEl?.getAttribute('href');
const asin = decodeAsin(href) || rawAsin;
if (seen.has(asin)) return;
seen.add(asin);
const titleEl = el.querySelector('h2 span');
const priceWhole = el.querySelector('.a-price:not(.a-text-price) .a-price-whole');
const priceSym = el.querySelector('.a-price:not(.a-text-price) .a-price-symbol');
const priceOff = el.querySelector('.a-price.a-text-price .a-offscreen');
const ratingAria = el.querySelector('[aria-label*="out of"]');
const ratingAlt = el.querySelector('.a-icon-alt');
const reviewsEl = el.querySelector('a span.s-underline-text, a[aria-label*="ratings"] span');
const sponsoredEl = el.querySelector('[aria-label="Sponsored"], .puis-sponsored-label-text, .s-sponsored-label-text');
const imageEl = el.querySelector('img.s-image');
const ratingText = ratingAria?.getAttribute('aria-label') || ratingAlt?.textContent || null;
out.push({
asin,
title: titleEl?.textContent.trim() || null,
price_inr: parsePrice((priceSym?.textContent || '') + (priceWhole?.textContent || '')),
mrp_inr: parsePrice(priceOff?.textContent),
rating: parseRating(ratingText),
review_count: parseReviewCount(reviewsEl?.textContent),
url: `${ORIGIN}/dp/${asin}`,
image: imageEl?.getAttribute('src') || null,
sponsored: !!sponsoredEl,
free_delivery: (el.textContent || '').includes('FREE delivery'),
});
});
return JSON.stringify({ query: location.search, total: items.length, items: out });
})()
Take the top N entries of items for return to the caller. Sponsored items are surfaced at the top by Amazon's ranker — result_count should be applied after dedup (sponsored cards re-appear inline mid-page, which is why the extractor dedupes by canonical ASIN).
Paginate by re-navigating with &page=N and re-running the extractor — there is no client-side incremental loading; each page is a fresh server-rendered HTML document with ~22 raw cards.
Release the session.
browse cloud sessions update "$sid" --status REQUEST_RELEASE
--proxies --verified when running from a US/EU sandbox. With Indian residential proxies, no captcha or login wall was encountered across electronics, books, and price-sorted queries.i.a-icon-prime, .s-prime, or [aria-label*="Prime"]. The Indian site advertises delivery on the result card via the literal string "FREE delivery" instead. Do not try to extract a Prime boolean; capture free_delivery: el.textContent.includes('FREE delivery') instead.data-asin="B0XXX..." on the wrapper, but the sponsored card's <a href> is a tracker redirect /sspa/click?...&url=%2F...%2Fdp%2FB0XXX%2F... while the organic card's href is the direct /dp/B0XXX/ref=sr_1_N. Decode the url query-param of the sspa redirect to extract the canonical ASIN, then dedupe by ASIN — otherwise you ship ~22 items where 2–4 are duplicates.B0[A-Z0-9]{8}. Books use 10-digit ISBNs (often 1XXXXXXXXX or 9XXXXXXXXX). The regex \/dp\/([A-Z0-9]{10}) covers both; don't constrain to B0\w{8}..a-price .a-price-symbol + .a-price .a-price-whole. The integer is rendered without thousand-separator commas in the text node (CSS-injected via :before/:after for display only), so text.replace(/[^\d]/g,'') parses correctly. Beware of the .a-text-price sibling — that is the strike-through MRP/list price, exposed via .a-offscreen. Always filter the current price selector with :not(.a-text-price).s= sort parameter values are kebab-rank suffixes: price-asc-rank, price-desc-rank, review-rank, date-desc-rank (recent), exact-aware-popularity-rank, relevanceblender (default). Other values silently fall back to relevance.rh=p_36:lo-hi is in paise (₹ × 100). rh=p_36:50000-200000 ≠ ₹500 to ₹2000 in INR; it actually IS ₹500–₹2000 because the prefix p_36 is the price-range refinement and the values are in paise (50000 paise = ₹500). Empirically confirmed — sort by price-asc-rank after applying this filter and the lowest result is ≥₹500.aria-label of a popover trigger, not in the .a-icon-alt of the star icon child. Selector [aria-label*="out of"] reliably hits the trigger <a aria-label="4.2 out of 5 stars, rating details">. The fallback .a-icon-alt text "4.2 out of 5 stars" works for non-sponsored cards but is missing/empty on some sponsored placements; prefer the aria-label.(13.4K) → 13,400, (1.5K) → 1,500. The raw integer is not in the DOM text; only the abbreviated form. Parse the suffix.#twotabsearchtextbox + pressing Enter works but adds ~20s and one extra page load with no benefit. Deep-link https://www.amazon.in/s?k=<encoded> is the canonical path./s?k=<q>&format=json endpoint returns HTML, not JSON. The official Product Advertising API (webservices.amazon.in/paapi5/searchitems) requires a Seller Central account and access-key signing — not available for general scraping. Confirmed dead-end during iteration; do not waste turns probing.net::ERR_ABORTED failures are benign. The browser-trace summary shows 7–64 failed requests per page navigation, all net::ERR_ABORTED on Scripts/XHRs cancelled by subsequent navigations or prefetch teardown. None affect the rendered search-result HTML. Do not treat these as anti-bot blocks.{
"success": true,
"search_query": "wireless earbuds under 2000",
"search_url": "https://www.amazon.in/s?k=wireless+earbuds+under+2000",
"total_cards_on_page": 22,
"result_count": 10,
"products": [
{
"asin": "B0FMDL81GS",
"title": "OnePlus Nord Buds 3r TWS Earbuds up to 54 Hours Playback, 2-mic Clear Calls, 3D Spatial Audio, AI Translation, 12.4mm Drivers, Dual-Device Connectivity, 47ms Low Latency - Ash Black",
"price_inr": 1999,
"mrp_inr": null,
"rating": 4.3,
"review_count": 44300,
"url": "https://www.amazon.in/dp/B0FMDL81GS",
"image": "https://m.media-amazon.com/images/I/51nBTTG3hNL._AC_UY218_.jpg",
"sponsored": false,
"free_delivery": true
},
{
"asin": "B0BW8TXJJ2",
"title": "Boat Nirvana Ion, 120HRS Battery, ...",
"price_inr": 1699,
"mrp_inr": 7990,
"rating": 4.1,
"review_count": 13400,
"url": "https://www.amazon.in/dp/B0BW8TXJJ2",
"image": "https://m.media-amazon.com/images/I/81-TGXuOMAL._AC_UY218_.jpg",
"sponsored": true,
"free_delivery": true
}
],
"error_reasoning": null
}
Outcome shapes observed during 1-iter convergence across 4 queries:
results_ok — success: true, products[] populated. The common path. Example above.results_ok_books — same shape; asin is a 10-digit ISBN (1636512933, 9367257651), mrp_inr is usually present (MRP is mandatory on books), image and rating populated. No structural difference — just be aware that the ASIN regex must accept digits-only IDs.results_empty — total_cards_on_page: 0, products: []. Returned for nonsense queries (?k=qwerasdf123); Amazon renders a "No results" banner. Treat as success with empty array, not as failure.geo_blocked — when the session is run without --proxies --verified from a non-IN IP, the homepage redirects to a thin landing with no search-bar accessibility refs and /s?k=… returns a "Sorry, we couldn't find that page" body. total_cards_on_page: 0. Set success: false, error_reasoning: "Geo-blocked: amazon.in requires an Indian IP. Re-run session with --proxies --verified.".captcha_wall — not observed under --verified --proxies during this iteration, but documented for completeness: Amazon's "Enter the characters you see" page renders #captchacharacters input. If present, abort with success: false, error_reasoning: "Captcha wall — session fingerprint flagged; rotate proxy + retry." Do not attempt to solve.Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ 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.
aliexpress.com/search-product-p0h8a7
shopmeskills/mcp
kostja94/marketing-skills
aaaaqwq/claude-code-skills
agentbay-ai/agentbay-skills
glebis/claude-skills
Keeps context tight: browse-products is the kind of skill you can hand to a new teammate without a long onboarding doc.
Keeps context tight: browse-products is the kind of skill you can hand to a new teammate without a long onboarding doc.
browse-products is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
browse-products has been reliable in day-to-day use. Documentation quality is above average for community skills.
browse-products has been reliable in day-to-day use. Documentation quality is above average for community skills.
Useful defaults in browse-products — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Solid pick for teams standardizing on skills: browse-products is focused, and the summary matches what you get after install.
I recommend browse-products for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
browse-products has been reliable in day-to-day use. Documentation quality is above average for community skills.
Solid pick for teams standardizing on skills: browse-products is focused, and the summary matches what you get after install.
showing 1-10 of 29