# Scrape Amazon Electronics Department

**Use case:** 

Limits the search to one Amazon department so the results are the shelf you meant rather than everything with a matching word. An unknown department name stops the run on purpose: Amazon answers an unknown department with HTTP 200 and ordinary unfiltered results, and fourteen of sixteen products came back identical to the unfiltered search.

## Input

```json
{
  "searchTerms": [
    "bluetooth speaker"
  ],
  "startUrls": [],
  "bestsellerCategories": [],
  "department": "electronics",
  "minPrice": 0,
  "maxPrice": 0,
  "sortBy": "",
  "deepScan": false,
  "maxPagesPerSearch": 10,
  "maxItems": 200,
  "fetchProductDetails": false,
  "minRating": 0,
  "minReviews": 0,
  "onlyDiscounted": false,
  "onlyInStock": false,
  "titleContains": "",
  "brandIs": "",
  "onlyChanged": false,
  "emitUnchanged": false,
  "compactOutput": false,
  "dropEmptyFields": false,
  "requestDelaySeconds": 0,
  "requestTimeoutSeconds": 45,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "asin": {
    "label": "Asin",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "brand": {
    "label": "Brand",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "integer"
  },
  "listPrice": {
    "label": "List Price",
    "format": "integer"
  },
  "discountPercent": {
    "label": "Discount Percent",
    "format": "integer"
  },
  "rating": {
    "label": "Rating",
    "format": "integer"
  },
  "reviewsCount": {
    "label": "Reviews Count",
    "format": "integer"
  },
  "inStock": {
    "label": "In Stock",
    "format": "boolean"
  },
  "bestsellerRank": {
    "label": "Bestseller Rank",
    "format": "integer"
  },
  "boughtInPastMonth": {
    "label": "Bought In Past Month",
    "format": "string"
  },
  "badge": {
    "label": "Badge",
    "format": "string"
  },
  "keyword": {
    "label": "Keyword",
    "format": "string"
  },
  "url": {
    "label": "Url",
    "format": "string"
  },
  "change_type": {
    "label": "Change type",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Amazon Bestseller Rank Scraper - Prices, ASIN, Product Data](https://apify.com/snow_leo_data/amazon-product-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/snow_leo_data/amazon-product-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/snow_leo_data/amazon-product-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
