# Target Price Checker & Product Scraper (`muhammadafzal/target-price-checker-scraper`) Actor

Check Target prices, store pickup and delivery stock, UPC, DPCI and ratings by TCIN, link, keyword or category, per store and ZIP. From USD 1.50 per 1,000 rows.

- **URL**: https://apify.com/muhammadafzal/target-price-checker-scraper.md
- **Developed by:** [Muhammad Afzal](https://apify.com/muhammadafzal) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 90.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 target product rows

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Target Price Checker & Product Scraper

Target Price Checker & Product Scraper returns current Target prices, regular prices, promotions, store pickup, same-day delivery and shipping availability, store stock notes, ratings, UPC and DPCI as JSON or CSV, by TCIN, product link, search keyword or category. Search and category rows cost USD 1.50 per 1,000 on the FREE tier, product-page rows USD 4.50 per 1,000 (row plus product-page event), plus USD 0.005 per run, and you pay only for rows delivered.

It is built for Target price checks by store, in-stock and inventory checks before a store visit, UPC lookup for catalog matching, deal and promotion tracking, and assortment research. No API key, login or proxies are needed.

Target prices and stock depend on the store and the delivery address. Set a store number and a delivery ZIP code to price every product page for one shopper location. Every product row names the store and ZIP code Target used (`storeId`, `storeName`, `storeZip`, `shipToZip`), so a row is never priced for an unknown place.

### What Target data does the scraper return?

One row per product, from one of three page types:

| Source | Input | What the row adds |
|---|---|---|
| Product page (`productPage`) | TCIN or product link | Store price, pickup availability and store stock ("Only 5 left"), same-day delivery and shipping messages, UPC, DPCI, category path, the store and ZIP code used |
| Search page (`searchPage`) | Search keyword | Online price, regular price, promotion, shipping promise, rating, badges, page and position |
| Category page (`categoryPage`) | Category link or ID | Online price, regular price, promotion, rating, badges, page and position |

| Field | Meaning |
|---|---|
| `tcin` | Target item number (TCIN) |
| `title`, `brand` | Product title and brand |
| `price`, `priceMax`, `priceText` | Current price in USD (low and high end of a range); `priceText` keeps "See price in cart" when Target hides the price |
| `regularPrice`, `onSale` | Regular ("reg") price and whether the current price is below it |
| `promotion`, `priceNote` | Promotion next to the price ("$15 off", "Sale") and other notes ("When purchased online") |
| `pickupAvailable`, `pickupMessage`, `pickupStockNote` | Order pickup at the store: available or not, "Ready within 2 hours", "Only 5 left" |
| `deliveryAvailable`, `deliveryMessage` | Same-day delivery (null when the page asks to check availability) |
| `shippingAvailable`, `shippingMessage` | Shipping and the delivery date promise |
| `rating`, `reviewCount` | Average guest rating and number of ratings |
| `upc`, `dpci` | Product barcode (UPC) and Target's DPCI (product pages) |
| `category`, `categoryPath`, `badges`, `imageUrl`, `url` | Category, breadcrumb, badges such as Bestseller, image and product link |
| `priceScope` | `store` for product pages, `online` for search and category rows |
| `storeId`, `storeName`, `storeZip`, `shipToZip` | The store and the ship-to ZIP code the product page was priced for |
| `requestedStoreId`, `requestedDeliveryZip`, `requestedFulfillment` | What you asked for |
| `source`, `input`, `searchQuery`, `categoryId`, `page`, `position`, `scrapedAt` | Where the row came from |

### How do I check a Target price by TCIN or link?

Put TCINs in `productIds` or product links in `productUrls`. The TCIN is the number after `A-` in a product link: `91863920` in `target.com/p/…/-/A-91863920`. TCINs have 8 digits; newer items have 10 digits starting with 1. A `?preselect=` value in a link picks that variant.

```json
{
    "productIds": ["91863920", "94139349"],
    "maxResults": 20
}
```

Each TCIN reads its product page once, which takes about 25 to 60 seconds. A TCIN Target does not know comes back as "not found" in `OUTPUT` and is not charged.

### How do I check Target prices and stock at one store?

Add the store number and, for delivery and shipping dates, a ZIP code. The store number is the last part of the store's page link, for example `1375` in `target.com/sl/minneapolis-nicollet-mall/1375`.

```json
{
    "productIds": ["91863920"],
    "storeId": "1375",
    "deliveryZip": "55403",
    "fulfillment": "pickup"
}
```

- `storeId` sets the store for price, pickup and store stock. Pickup needs it.
- `deliveryZip` sets the ship-to ZIP code for shipping and same-day delivery. Any `fulfillment` value needs it.
- `fulfillment` (`pickup`, `delivery` or `shipping`) opens the page on that method. Left empty, every row still reports all three.
- Without a store, Target picks one for each page, and each row names it.

If Target builds a page for another store or ZIP code than you asked for, the Actor reads it once more and never delivers a row priced for the wrong place.

### How do I scrape Target search results or a category?

Put keywords in `searchQueries` or category links in `categoryUrls` (the ID after `N-` works too, for example `658ml`). Each page lists up to 24 products; `maxPagesPerQuery` sets how many pages to read.

```json
{
    "searchQueries": ["coffee maker"],
    "categoryUrls": ["https://www.target.com/c/drip-coffee-makers-espresso-kitchen-appliances-dining/-/N-658ml"],
    "maxPagesPerQuery": 2,
    "maxResults": 100
}
```

Search and category pages show Target's online price and shipping promise to every shopper, so a store context does not change them. Rows from these pages have `priceScope: "online"` and no store fields. A run with only keywords or categories and a store number is refused with a message; add TCINs to get store prices. Words Target has no products for return no rows and no charge: Target answers them with unrelated suggestions, which the Actor detects and skips. A product found by several inputs is returned once.

### How much does it cost to scrape Target?

You pay per event, with no subscription. Platform usage is included.

| Event | FREE | BRONZE | SILVER | GOLD |
|---|---|---|---|---|
| Target product row (every row) | USD 0.0015 | USD 0.0014625 | USD 0.001425 | USD 0.0012 |
| Store product page (added to rows from TCINs and links) | USD 0.003 | USD 0.002925 | USD 0.00285 | USD 0.0024 |
| Actor start (per run, per started GB of memory) | USD 0.005 | USD 0.005 | USD 0.005 | USD 0.005 |

Examples on the FREE tier at the default 256 MB: one TCIN costs USD 0.0095 (start, row and product-page event); 100 TCINs cost USD 0.455; 100 search or category rows cost USD 0.155. Rows that are not found, empty, refused or failed are never charged. Set a maximum charge on the run to cap spend; the Actor stops cleanly when it is reached.

### What does a result look like?

A product page read with store 1375:

```json
{
    "tcin": "91863920",
    "title": "Mr. Coffee 12-Cup Programmable Coffee Maker Black",
    "brand": "Mr. Coffee",
    "price": 19.99,
    "priceMax": null,
    "priceText": "$19.99",
    "regularPrice": 34.99,
    "onSale": true,
    "promotion": "$15 off",
    "priceNote": null,
    "currency": "USD",
    "pickupAvailable": true,
    "pickupMessage": "Ready within 2 hours",
    "pickupStockNote": "Only 5 left",
    "deliveryAvailable": null,
    "deliveryMessage": "Check availability",
    "shippingAvailable": true,
    "shippingMessage": "Arrives by Wed, Nov 11",
    "rating": 4.28,
    "reviewCount": 1035,
    "upc": "053891177337",
    "dpci": "072-08-0313",
    "category": "Drip Coffee Makers",
    "categoryPath": "Kitchen & Dining > Kitchen Appliances > Coffee & Espresso Makers > Drip Coffee Makers",
    "badges": ["Bestseller"],
    "imageUrl": "https://target.scene7.com/is/image/Target/GUEST_fd026130-c56b-41d3-9e88-992fcf06debf",
    "url": "https://www.target.com/p/mr-coffee-12c-programmable-drip-coffee-maker-stainless-steel-finish/-/A-91863920",
    "priceScope": "store",
    "storeId": "1375",
    "storeName": "Mpls Nicollet Mall",
    "storeZip": "55403",
    "shipToZip": "57350",
    "requestedStoreId": "1375",
    "requestedDeliveryZip": null,
    "requestedFulfillment": null,
    "source": "productPage",
    "input": "91863920",
    "searchQuery": null,
    "categoryId": null,
    "page": null,
    "position": null,
    "scrapedAt": "2026-11-09T10:00:00.000Z"
}
```

The `OUTPUT` record in the key-value store holds the run status (SUCCEEDED, PARTIAL, EMPTY, FAILED or REJECTED), the store context, the stores used, per-input results (ok, empty, not-found, rejected, failed, skipped), skipped entries with reasons, the stop reason and request counters.

### When should I use this Target scraper, and when not?

Use it to check Target prices and stock by TCIN at a store, to look up a product's UPC or DPCI, or to list Target search and category results with prices and promotions.

Do not use it for:

- Reviews text: the rows carry the rating and the number of ratings, not individual reviews.
- Store prices for whole search results: search and category pages show the online price. Collect the TCINs from a search run, then check them as `productIds` with your store.
- Target Circle member offers that need a signed-in account, or carts and checkout.
- Stores outside the US: Target sells in the US only.
- Other retailers: see [Walmart Price Checker & Product Scraper](https://apify.com/muhammadafzal/walmart-price-checker-scraper), [Google Shopping Scraper](https://apify.com/muhammadafzal/google-shopping-scraper) or [eBay Scraper](https://apify.com/muhammadafzal/ebay-scraper).

### Use it from an AI assistant

The Actor works from Claude, ChatGPT, Cursor or any MCP client through Apify's MCP server. Add `https://mcp.apify.com/?tools=muhammadafzal/target-price-checker-scraper` as an MCP server. Then ask, for example: "Check the Target price and pickup stock of TCIN 91863920 at store 1375." The assistant fills in the input, runs the Actor and reads the rows.

### FAQ

**How do I find a Target TCIN?** It is the number after `A-` in the product link, and Target also lists it under Specifications on the product page. You can also search the product with `searchQueries`; every row carries its `tcin`.

**Is the price the in-store price?** Product rows carry the price Target shows on the product page for the store and ZIP code named on the row. Target may note "When purchased online" (`priceNote`); shelf prices in a store can differ.

**Why is `price` null on some rows?** Target hides some prices until the item is in the cart. Those rows keep `priceText: "See price in cart"`.

**Why does a row show a different ship-to ZIP than my store?** The store number sets the store; the ship-to ZIP comes from `deliveryZip`. Without `deliveryZip`, Target picks a ZIP for shipping dates, and the row names it in `shipToZip`.

**What happens with an unknown TCIN or a misspelled search?** Unknown TCINs come back as not found, and words Target has no products for come back empty. Neither is charged; both are listed in `OUTPUT`.

**Can I export the data?** Yes: JSON, CSV, Excel, XML or HTML from the dataset, or through the Apify API, webhooks and integrations.

Last verified: 2026-11-09

# Actor input Schema

## `productIds` (type: `array`):

Use this when you have Target item numbers (TCIN): the digits after A- in a product link, for example 91863920 from target.com/p/…/-/A-91863920. TCINs have 8 digits; newer items have 10 digits starting with 1. Each TCIN reads its product page: store price, regular price, promotion, pickup/delivery/shipping availability, rating, UPC and DPCI. Up to 500 per run, together with product links.

## `productUrls` (type: `array`):

Use this when you have target.com product links instead of TCINs, for example https://www.target.com/p/mr-coffee-12c-programmable-drip-coffee-maker-stainless-steel-finish/-/A-91863920. A ?preselect= value in the link selects that variant. Read exactly like TCINs.

## `searchQueries` (type: `array`):

Use this to list Target search results: keywords as a shopper types them, for example coffee maker. Each page lists up to 24 products with Target's online price, regular price, promotion, shipping promise, rating and badges. Up to 50 per run. A product found under several keywords or inputs is returned once. Words Target has no products for return no rows and no charge.

## `categoryUrls` (type: `array`):

Use this to list a Target category: a category link such as https://www.target.com/c/drip-coffee-makers-espresso-kitchen-appliances-dining/-/N-658ml or just its ID (658ml or N-658ml). Each page lists up to 24 products with the online price, regular price, promotion and rating. Up to 50 per run.

## `storeId` (type: `string`):

Use this when price, stock and pickup must match one Target store: the store number from the store's page link, for example 1375 from target.com/sl/minneapolis-nicollet-mall/1375. Required for pickup. Applies to TCINs and product links. Left empty, Target picks a store for each page; every row names the store and ZIP code it was priced for.

## `deliveryZip` (type: `string`):

Use this when delivery and shipping dates must match a shopper address: a 5-digit US ZIP code, for example 10001. Required when you set a fulfillment method. Each row names the ZIP code the page used.

## `fulfillment` (type: `string`):

Use this to read the product page for one way of buying: pickup (needs a store number), delivery (same-day delivery from a store) or shipping. Needs a delivery ZIP code. Left empty, the page shows its default and every row still reports pickup, delivery and shipping availability.

## `maxResults` (type: `integer`):

Use this to cap the run: it stops after this many dataset rows (product pages, search and category results together), from 1 to 1,000. You pay only for rows delivered.

## `maxPagesPerQuery` (type: `integer`):

Use this to set how many result pages to read for each search keyword or category, from 1 to 20. A page lists up to 24 products. Reading stops early at the last page or at Maximum rows.

## Actor input object example

```json
{
  "productIds": [
    "91863920"
  ],
  "maxResults": 20,
  "maxPagesPerQuery": 3
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset rows: one per product page, search result or category result.

## `summary` (type: `string`):

The OUTPUT record: status, store context, per-input results, skipped entries, stop reason, warnings and request counters.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "productIds": [
        "91863920"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("muhammadafzal/target-price-checker-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "productIds": ["91863920"] }

# Run the Actor and wait for it to finish
run = client.actor("muhammadafzal/target-price-checker-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "productIds": [
    "91863920"
  ]
}' |
apify call muhammadafzal/target-price-checker-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,muhammadafzal/target-price-checker-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/dEjM9zkuMBwKZLead/builds/zWdgDJxwSVDfLX2Ua/openapi.json
