Apify Store
AS
Apify Store
/codingfrontend/amazon-bestsellers-scraper

Amazon Best Sellers Scraper

Scrape Amazon Best Sellers rankings by category from Amazon.in (and other marketplaces). Extracts rank, title, ASIN, price, rating, reviews, and optionally full product details.

liveasyncunknown~30s typical
ECOMMERCEAUTOMATIONDEVELOPER_TOOLS
$0.0020
per result + $0.01 call
plus $0.001 platform fee per run
Usage-based actor: event charges passed through at cost plus 25%
Bring your own Apify Store key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run apify /codingfrontend/amazon-bestsellers-scraper for me.

Input

FieldTypeDescription
modestring (category | categoryUrl | productUrl)Scraping mode: category uses a marketplace-relative category slug, categoryUrl uses a direct Best Sellers URL, and productUrl uses direct product URLs. default "category"
categorystringBest Sellers category slug used when mode is category. default "electronics"
categoryUrlstringDirect public Amazon Best Sellers category or subcategory URL used when mode is categoryUrl.
productUrlsarrayPublic Amazon product page URLs used when mode is productUrl. default []
maxItemsintegerMaximum number of product records to save, excluding access diagnostics. default 50
maxPagesintegerMaximum number of Best Sellers pages to follow in category modes. default 2
deepSearchbooleanVisit each selected product detail page for additional public product information. default false
extractReviewsbooleanExtract up to 10 visible public customer reviews per product when deepSearch is enabled. default false
includeMediabooleanInclude product gallery, high-resolution image, and A+ media fields in deep-search records. The primary thumbnail remains available. default true
includeTechnicalDetailsbooleanInclude technical attributes and product-overview rows in deep-search records. default true
countrystring (in | com | co.uk | de | co.jp | ca)Amazon marketplace suffix to scrape. default "in"
localestring (en-IN | en-US | en-GB | de-DE | ja-JP | fr-CA)Accept-Language locale sent with public Amazon requests. default "en-IN"
filtersobjectOptional filters applied before records are saved. default {}
deduplicatebooleanAvoid saving repeated ASINs or product URLs across pages, inputs, and fallback paths. default true
minDelayMsintegerBounded pacing delay between serialized direct public requests. default 500
maxDelayMsintegerMaximum randomized pacing delay between serialized public requests. default 1500
maxRetriesintegerMaximum bounded retries per public request. A fresh proxy URL is used for each attempt when proxying. default 2
navigationTimeoutMsintegerMaximum time allowed for each direct public HTTP request. default 60000
proxyConfigurationobjectProxy settings used for public Amazon requests. Residential proxying is the reliability default. default {"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]}

Call it

curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
  -H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
  -d '{"provider":"apify","endpoint":"/codingfrontend/amazon-bestsellers-scraper","input":{"mode":"category","category":"electronics","productUrls":[],"maxItems":50,"maxPages":2,"deepSearch":false,"extractReviews":false,"includeMedia":true,"includeTechnicalDetails":true,"country":"in","locale":"en-IN","filters":{},"deduplicate":true,"minDelayMs":500,"maxDelayMs":1500,"maxRetries":2,"navigationTimeoutMs":60000,"proxyConfiguration":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]}},"wait":false}'
poll
curl "https://cracked-ai-pearl.vercel.app/v1/runs/<runId>?wait=30" -H "Authorization: Bearer ck_live_..."
cli
npx cracked-ai run -p apify -e /codingfrontend/amazon-bestsellers-scraper -i '{"mode":"category","category":"electronics","productUrls":[],"maxItems":50,"maxPages":2,"deepSearch":false,"extractReviews":false,"includeMedia":true,"includeTechnicalDetails":true,"country":"in","locale":"en-IN","filters":{},"deduplicate":true,"minDelayMs":500,"maxDelayMs":1500,"maxRetries":2,"navigationTimeoutMs":60000,"proxyConfiguration":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]}}' -w 120
mcp
run_tool({ provider: "apify", endpoint: "/codingfrontend/amazon-bestsellers-scraper", input: {"mode":"category","category":"electronics","productUrls":[],"maxItems":50,"maxPages":2,"deepSearch":false,"extractReviews":false,"includeMedia":true,"includeTechnicalDetails":true,"country":"in","locale":"en-IN","filters":{},"deduplicate":true,"minDelayMs":500,"maxDelayMs":1500,"maxRetries":2,"navigationTimeoutMs":60000,"proxyConfiguration":{"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]}}, wait: false })

Try it

Runs against your signed-in workspace balance. Sign in if you have not.