# Find Target deals under a price for any search

**Use case:** 

Products on sale at Target for a search term, within your price range and cheapest first, with sale price, regular price, discount, rating and badges.

## Input

```json
{
  "searchTerms": [
    "air fryer"
  ],
  "startUrls": [
    {
      "url": "https://www.target.com/s?searchTerm=lego"
    },
    {
      "url": "https://www.target.com/c/drip-coffee-makers-espresso-kitchen-appliances-dining/-/N-658ml"
    },
    {
      "url": "https://www.target.com/p/-/A-94139335"
    }
  ],
  "tcins": [
    "94139335"
  ],
  "upcs": [
    "086279240453"
  ],
  "maxResultsPerSearch": 24,
  "maxResults": 500,
  "sort": "priceLow",
  "includeStoreStock": false,
  "zipCode": "55401",
  "storeId": "1375",
  "radiusMiles": 25,
  "maxStores": 10,
  "inStockOnly": false,
  "onSaleOnly": true,
  "minPrice": 10,
  "maxPrice": 100,
  "onlyChanges": false,
  "monitorName": "lego-minneapolis",
  "changeTypes": [
    "price-drop",
    "back-in-stock"
  ],
  "fields": [
    "tcin",
    "title",
    "price",
    "stores.storeId",
    "stores.quantity"
  ]
}
```

## Output

```json
{
  "recordType": {
    "label": "Row",
    "format": "text"
  },
  "image": {
    "label": "Image",
    "format": "image"
  },
  "tcin": {
    "label": "TCIN",
    "format": "text"
  },
  "title": {
    "label": "Product",
    "format": "text"
  },
  "brand": {
    "label": "Brand",
    "format": "text"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "regPrice": {
    "label": "Regular price",
    "format": "number"
  },
  "discountPercent": {
    "label": "Discount %",
    "format": "number"
  },
  "onSale": {
    "label": "On sale",
    "format": "boolean"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Reviews",
    "format": "number"
  },
  "upc": {
    "label": "UPC",
    "format": "text"
  },
  "dpci": {
    "label": "DPCI",
    "format": "text"
  },
  "pricingStoreId": {
    "label": "Pricing store",
    "format": "text"
  },
  "storesInStock": {
    "label": "Stores in stock",
    "format": "number"
  },
  "totalStoreQuantity": {
    "label": "Units nearby",
    "format": "number"
  },
  "searchTerm": {
    "label": "Search",
    "format": "text"
  },
  "position": {
    "label": "Position",
    "format": "number"
  },
  "url": {
    "label": "URL",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Target Scraper: Products, Prices & Store Stock Actor is ready to run with the inputs already set for "Find Target deals under a price for any search". [Sign up or log in](https://console.apify.com/create-task-from-example/vmUSA9ybF2YQpgdLW) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find Target deals under a price for any search" task

The Target Scraper: Products, Prices & Store Stock Actor will start running based on the input automatically. You can also change all the input fields, like search terms, target urls, and more, to match your specific use case.

### 3. Receive the "Find Target deals under a price for any search" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as row, image, TCIN, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find Target deals under a price for any search" task via API](https://apify.com/cleanpull/target-scraper.md).

## About this Actor

This example demonstrates how to use [Target Scraper: Products, Prices & Store Stock](https://apify.com/cleanpull/target-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/cleanpull/target-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/cleanpull/target-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`).
