{
  "data": {
    "id": "8luiVsSFBdHTeguqE",
    "actId": "tFok5WUalfr5iu22C",
    "userId": "zq8lKbpLzTjGDayPC",
    "startedAt": "2026-11-08T16:12:05.625Z",
    "finishedAt": "2026-11-08T16:12:15.874Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "stats": {
      "durationMillis": 10188,
      "runTimeSecs": 10.188,
      "computeUnits": 0.01132,
      "imageSizeBytes": 361253376
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "GK9YjZRyQZVzOdoH5",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Target Product Scraper Input\",\n  \"description\": \"Search Target.com products, browse a department, look up exact item numbers, paste a Target URL, or fetch trending deals — with prices, sale/clearance flags, ratings, UPC/DPCI, category breadcrumbs and product details.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"What to fetch from Target.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"byCategory\",\n        \"byTcin\",\n        \"byUrl\",\n        \"deals\"\n      ],\n      \"enumTitles\": [\n        \"Search by keyword\",\n        \"Browse a department\",\n        \"Look up exact item numbers (TCIN)\",\n        \"Paste a Target URL\",\n        \"Trending deals\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"query\": {\n      \"title\": \"Search query\",\n      \"type\": \"string\",\n      \"description\": \"Keyword to search for (mode=search). E.g. 'iPhone case'.\",\n      \"editor\": \"textfield\",\n      \"default\": \"iPhone case\",\n      \"prefill\": \"iPhone case\"\n    },\n    \"tcins\": {\n      \"title\": \"Target item numbers (mode=byTcin)\",\n      \"type\": \"array\",\n      \"description\": \"One or more Target item numbers (TCINs), e.g. '94715153'. Comma-separated strings are also accepted.\",\n      \"editor\": \"stringList\",\n      \"default\": []\n    },\n    \"categoryId\": {\n      \"title\": \"Department (mode=byCategory)\",\n      \"type\": \"string\",\n      \"description\": \"Target department to browse.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"electronics\",\n        \"clothing-women\",\n        \"clothing-men\",\n        \"toys\",\n        \"home\",\n        \"baby\",\n        \"beauty\",\n        \"food\",\n        \"sports-outdoors\",\n        \"books\",\n        \"video-games\",\n        \"furniture\",\n        \"kitchen\",\n        \"health\",\n        \"pets\",\n        \"automotive\",\n        \"office\",\n        \"school-supplies\",\n        \"movies\",\n        \"music\"\n      ],\n      \"enumTitles\": [\n        \"Electronics & Tech\",\n        \"Clothing — Women\",\n        \"Clothing — Men\",\n        \"Toys & Games\",\n        \"Home & Decor\",\n        \"Baby\",\n        \"Beauty\",\n        \"Grocery\",\n        \"Sports & Outdoors\",\n        \"Books\",\n        \"Video Games\",\n        \"Furniture\",\n        \"Kitchen & Dining\",\n        \"Health\",\n        \"Pets\",\n        \"Automotive\",\n        \"School & Office Supplies\",\n        \"School Supplies\",\n        \"Movies & TV Shows\",\n        \"Music\"\n      ],\n      \"default\": \"electronics\",\n      \"prefill\": \"electronics\"\n    },\n    \"url\": {\n      \"title\": \"Target URL (mode=byUrl)\",\n      \"type\": \"string\",\n      \"description\": \"A Target product, category, brand or search URL. E.g. 'https://www.target.com/p/item/-/A-12345678'.\",\n      \"editor\": \"textfield\"\n    },\n    \"sortBy\": {\n      \"title\": \"Sort order\",\n      \"type\": \"string\",\n      \"description\": \"How Target should order results.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"relevance\",\n        \"featured\",\n        \"priceLow\",\n        \"priceHigh\",\n        \"ratingHigh\",\n        \"bestSeller\",\n        \"newest\"\n      ],\n      \"enumTitles\": [\n        \"Relevance\",\n        \"Featured\",\n        \"Price: low to high\",\n        \"Price: high to low\",\n        \"Highest rated\",\n        \"Best sellers\",\n        \"Newest\"\n      ],\n      \"default\": \"relevance\",\n      \"prefill\": \"relevance\"\n    },\n    \"includeDetails\": {\n      \"title\": \"Fetch full product details\",\n      \"type\": \"boolean\",\n      \"description\": \"Fetch each product page to add description, UPC/DPCI, category breadcrumbs, specifications, review counts and the online stock status Target publishes.\",\n      \"default\": true,\n      \"prefill\": false\n    },\n    \"minPrice\": {\n      \"title\": \"Min price (USD)\",\n      \"type\": \"number\",\n      \"description\": \"Drop products cheaper than this price.\",\n      \"minimum\": 0,\n      \"maximum\": 99999\n    },\n    \"maxPrice\": {\n      \"title\": \"Max price (USD)\",\n      \"type\": \"number\",\n      \"description\": \"Drop products more expensive than this price.\",\n      \"minimum\": 0,\n      \"maximum\": 99999\n    },\n    \"minRating\": {\n      \"title\": \"Min rating\",\n      \"type\": \"number\",\n      \"description\": \"Drop products with an average rating below this value (0–5).\",\n      \"minimum\": 0,\n      \"maximum\": 5\n    },\n    \"onSaleOnly\": {\n      \"title\": \"On sale only\",\n      \"type\": \"boolean\",\n      \"description\": \"Only emit products currently marked on sale or clearance.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"inStockOnly\": {\n      \"title\": \"In stock only\",\n      \"type\": \"boolean\",\n      \"description\": \"Exclude products Target reports as out of stock. Search, department and deals listings that carry no stock signal are kept and marked `UNKNOWN` unless full-detail enrichment resolves them.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records (1–1000). Target exposes up to 50 pages of 24 results per query.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 24,\n      \"prefill\": 2\n    },\n    \"maxPages\": {\n      \"title\": \"Max pages\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum result pages to request per query (1–50; 24 products per page).\",\n      \"minimum\": 1,\n      \"maximum\": 50,\n      \"default\": 10,\n      \"prefill\": 1\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Target Price, Stock & Deals Finder\n\nPull live product data straight from Target.com — keyword search, a whole department, exact item numbers, a pasted product link, or the current deals rail. Every record carries pricing, sale/clearance flags, online availability, ratings, UPC/DPCI identifiers, category breadcrumbs and product specifications.\n\n## What this actor does\n\n- **Five modes:** `search` by keyword, `byCategory` to browse a department, `byTcin` to fetch exact items, `byUrl` to resolve a pasted Target link, and `deals` for Target's current deals\n- **Rich pricing:** current price, regular price, currency, savings, discount percent and price type (`reg`, `sale`, `clearance`; marked-down product pages without a Target label are reported as `sale`)\n- **Availability:** online stock status plus a shipping flag when Target marks the item as shippable; listings with no stock signal are reported as `UNKNOWN`\n- **Product identifiers:** TCIN, UPC, DPCI, category ID, category name and breadcrumbs\n- **Review signal:** average rating, rating count and written-review count\n- **Product content:** description, specifications, feature bullets, primary image and direct product URL\n- **Server-side sort:** relevance, featured, price low/high, highest rated, best sellers and newest\n- **Filters:** price range, minimum rating, on-sale-only and in-stock-only, applied before records count toward `maxItems`\n- **Pagination:** follows Target's result pages up to 50 pages per query (about 1,200 products), deduplicating by TCIN\n- **Empty fields are omitted** from each record, so a product without a brand or without review data simply won't have those keys\n\n## Output per product\n\n- `tcin` — Target item number, the unique product identifier\n- `title` — product name\n- `brand` — brand name\n- `description` — product description text (with full-detail enrichment)\n- `price` — current selling price (USD)\n- `originalPrice` — regular/list price (USD)\n- `priceCurrency` — currency code, normally `USD`\n- `priceType` — `reg`, `sale`, `clearance` or another Target price label; `sale` is inferred when a product page is marked down but carries no label\n- `isOnSale` — `true` when the item is on sale or clearance\n- `saleSavings` — dollar amount saved versus the regular price\n- `discountPercent` — percent saved versus the regular price\n- `rating` — average customer rating (0–5)\n- `ratingCount` — total number of customer ratings\n- `reviewCount` — number of written reviews\n- `dpci` — Target department/class/item number (full-detail enrichment)\n- `upc` — product barcode (full-detail enrichment)\n- `categoryId` / `categoryName` — Target category identifiers\n- `breadcrumbs[]` — category path with names, IDs and URLs\n- `specifications` — product specification key/value pairs (full-detail enrichment)\n- `featureBullets[]` — specification and feature bullets\n- `primaryImageUrl` — main product image URL\n- `availability` — `IN_STOCK`, `LIMITED_STOCK`, `OUT_OF_STOCK`, or `UNKNOWN` (search, department and deals listings do not expose a stock signal; `includeDetails` resolves it from the product page)\n- `fulfillment` — `{ shipping, pickup, sameDay }` booleans when Target exposes them\n- `position` — 1-based result position in this run\n- `productUrl` / `sourceUrl` — direct link to the product's Target.com page\n- `recordType` — always `\"product\"`\n- `siteName` — always `\"Target\"`\n- `scrapedAt` — ISO 8601 timestamp of when the record was collected\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `byCategory`, `byTcin`, `byUrl`, or `deals` |\n| `query` | string | `iPhone case` | Search keyword (mode=`search`) |\n| `tcins` | array | – | Target item numbers to fetch (mode=`byTcin`) |\n| `categoryId` | string | `electronics` | Department to browse (mode=`byCategory`) |\n| `url` | string | – | A Target product, category, brand or search URL (mode=`byUrl`) |\n| `sortBy` | string | `relevance` | `relevance`, `featured`, `priceLow`, `priceHigh`, `ratingHigh`, `bestSeller`, `newest` |\n| `includeDetails` | boolean | `true` | Fetch each product page for description, UPC/DPCI, breadcrumbs, specifications and online stock status |\n| `minPrice` | number | – | Drop products priced below this USD amount |\n| `maxPrice` | number | – | Drop products priced above this USD amount |\n| `minRating` | number | – | Drop products with average rating below this value (0–5) |\n| `onSaleOnly` | boolean | `false` | Only return products marked on sale or clearance |\n| `inStockOnly` | boolean | `true` | Exclude products Target reports as out of stock; listings with no stock signal are kept and marked `UNKNOWN` |\n| `maxItems` | integer | `24` | Hard cap on returned products (1–1000) |\n| `maxPages` | integer | `10` | Maximum result pages per query (1–50) |\n\n### Example: keyword search with a price ceiling\n\n```json\n{\n    \"mode\": \"search\",\n    \"query\": \"bluetooth headphones\",\n    \"maxPrice\": 100,\n    \"maxItems\": 48\n}\n```\n\n### Example: look up exact products by item number\n\n```json\n{\n    \"mode\": \"byTcin\",\n    \"tcins\": [\"94715153\", \"12345678\"]\n}\n```\n\n### Example: browse a department for on-sale items\n\n```json\n{\n    \"mode\": \"byCategory\",\n    \"categoryId\": \"home\",\n    \"onSaleOnly\": true,\n    \"maxItems\": 100\n}\n```\n\n### Example: resolve a pasted product link\n\n```json\n{\n    \"mode\": \"byUrl\",\n    \"url\": \"https://www.target.com/p/apple-airpods-pro/-/A-85978612\"\n}\n```\n\n### Example: trending deals\n\n```json\n{\n    \"mode\": \"deals\",\n    \"maxItems\": 24,\n    \"sortBy\": \"bestSeller\"\n}\n```\n\n## Use cases\n\n- **Price monitoring** — track `price`, `originalPrice`, `priceType` and `saleSavings` for a watchlist of TCINs over time\n- **Assortment research** — browse a department with `byCategory` to see what's listed right now (add `includeDetails` for per-item stock status)\n- **Deal discovery** — run the `deals` mode on a schedule to catch newly featured promotions\n- **Review benchmarking** — compare `rating`, `ratingCount` and `reviewCount` across competing products\n- **Catalog enrichment** — resolve saved Target URLs into structured records with UPC, DPCI, specifications and category breadcrumbs\n- **Identifier matching** — join Target products to other catalogs by TCIN, UPC or DPCI\n\n## FAQ\n\n**Where does this data come from?**\nTarget's own publicly crawlable product pages — the server-rendered version of Target.com that search engines index. Search, department and deals pages expose titles, prices, ratings and identifiers; product pages add stock status, UPC/DPCI, breadcrumbs and specifications. The actor needs no Target account, cookie or API key.\n\n**What is a TCIN?**\nTCIN stands for Target Corporation Item Number — Target's internal product identifier, visible in product URLs after `/A-`.\n\n**Do I need a Target account or a proxy?**\nNo. All modes read publicly listed product data without a login, cookie or API key. The actor picks its network route automatically.\n\n**What's the difference between the five modes?**\n`search` and `byCategory` return lists of products — one from a keyword query, the other from a department keyword. `byTcin` and `byUrl` return exact products, addressed by item number or a pasted link. `deals` returns Target's current deals.\n\n**Why is a field like `brand` or `rating` sometimes missing?**\nTarget doesn't populate every field for every listing — some products have no brand attribution, and newly listed items may not yet have reviews. Missing fields are omitted rather than returned empty.\n\n**What does `includeDetails` do?**\nIt fetches each product page to add the description, UPC/DPCI, category breadcrumbs, specifications and the online stock status Target publishes. It is on by default; turn it off for the fastest, lightest run. The daily test uses the light path.\n\n**Why is `availability` sometimes `UNKNOWN`?**\nTarget's search, department and deals listings (the pages this actor reads without extra requests) do not publish a per-item stock status. Rather than guessing, the actor marks those records `UNKNOWN`; enable `includeDetails` or look up the item with `byTcin`/`byUrl` to get the status from its product page. The `inStockOnly` filter still removes every item Target explicitly reports as out of stock.\n\n**Can I combine the price, rating, and stock filters?**\nYes. `minPrice`, `maxPrice`, `minRating`, `onSaleOnly` and `inStockOnly` all apply together, and only products passing every filter count toward `maxItems`.\n\n**How many products can one run return?**\nUp to 1,000, set by `maxItems`, and at most 50 result pages per query (`maxPages`). Target caps a search at about 1,200 products; for broader coverage, run again with a different `query`, `categoryId` or `sortBy`.\n\n**Why do some runs return fewer products than `maxItems`?**\nTarget may have fewer matches, the filters may reject some, or the source may reach its 50-page ceiling. The actor never fabricates rows to fill the quota.\n\n**Does the actor return store-level pickup stock?**\nNo. Target's per-store stock API is protected by an anti-bot challenge and is not reachable from this actor's network. `availability` reflects Target's public online stock status (and is `UNKNOWN` when the source page carries no signal); store-level pickup quantities are not included.\n\n**How reliable is the data route?**\nThe actor reads Target's public server-rendered pages and tries the cheapest network route first, escalating automatically if a response lacks the expected product data. This path is public and cookieless, but it is a search-engine view of the catalogue: it can lag the interactive site and Target may change its markup. The actor never invents records to fill a quota — a run reports fewer items rather than fabricating them.\n\n**Are product variations included?**\nTarget's public product page exposes the selected variation's price and identifiers but not the full variation list. The actor returns the item you asked for; it does not enumerate every color or size.\n\n**Is this affiliated with Target?**\nNo. This is an independent, third-party actor and is not operated by or affiliated with Target Corporation.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "target-price-stock-and-deals-finder",
      "title": "Target Price, Stock & Deals Finder",
      "description": "Get Target.com product data by keyword search, department, exact item number, product URL, or trending deals — with price, sale/clearance flags, online stock, ratings, UPC/DPCI and specifications.",
      "version": "1.0",
      "buildTag": "latest",
      "defaultMemoryMbytes": 1024,
      "dockerfile": "./Dockerfile",
      "readme": "# Target Price, Stock & Deals Finder\n\nPull live product data straight from Target.com — keyword search, a whole department, exact item numbers, a pasted product link, or the current deals rail. Every record carries pricing, sale/clearance flags, online availability, ratings, UPC/DPCI identifiers, category breadcrumbs and product specifications.\n\n## What this actor does\n\n- **Five modes:** `search` by keyword, `byCategory` to browse a department, `byTcin` to fetch exact items, `byUrl` to resolve a pasted Target link, and `deals` for Target's current deals\n- **Rich pricing:** current price, regular price, currency, savings, discount percent and price type (`reg`, `sale`, `clearance`; marked-down product pages without a Target label are reported as `sale`)\n- **Availability:** online stock status plus a shipping flag when Target marks the item as shippable; listings with no stock signal are reported as `UNKNOWN`\n- **Product identifiers:** TCIN, UPC, DPCI, category ID, category name and breadcrumbs\n- **Review signal:** average rating, rating count and written-review count\n- **Product content:** description, specifications, feature bullets, primary image and direct product URL\n- **Server-side sort:** relevance, featured, price low/high, highest rated, best sellers and newest\n- **Filters:** price range, minimum rating, on-sale-only and in-stock-only, applied before records count toward `maxItems`\n- **Pagination:** follows Target's result pages up to 50 pages per query (about 1,200 products), deduplicating by TCIN\n- **Empty fields are omitted** from each record, so a product without a brand or without review data simply won't have those keys\n\n## Output per product\n\n- `tcin` — Target item number, the unique product identifier\n- `title` — product name\n- `brand` — brand name\n- `description` — product description text (with full-detail enrichment)\n- `price` — current selling price (USD)\n- `originalPrice` — regular/list price (USD)\n- `priceCurrency` — currency code, normally `USD`\n- `priceType` — `reg`, `sale`, `clearance` or another Target price label; `sale` is inferred when a product page is marked down but carries no label\n- `isOnSale` — `true` when the item is on sale or clearance\n- `saleSavings` — dollar amount saved versus the regular price\n- `discountPercent` — percent saved versus the regular price\n- `rating` — average customer rating (0–5)\n- `ratingCount` — total number of customer ratings\n- `reviewCount` — number of written reviews\n- `dpci` — Target department/class/item number (full-detail enrichment)\n- `upc` — product barcode (full-detail enrichment)\n- `categoryId` / `categoryName` — Target category identifiers\n- `breadcrumbs[]` — category path with names, IDs and URLs\n- `specifications` — product specification key/value pairs (full-detail enrichment)\n- `featureBullets[]` — specification and feature bullets\n- `primaryImageUrl` — main product image URL\n- `availability` — `IN_STOCK`, `LIMITED_STOCK`, `OUT_OF_STOCK`, or `UNKNOWN` (search, department and deals listings do not expose a stock signal; `includeDetails` resolves it from the product page)\n- `fulfillment` — `{ shipping, pickup, sameDay }` booleans when Target exposes them\n- `position` — 1-based result position in this run\n- `productUrl` / `sourceUrl` — direct link to the product's Target.com page\n- `recordType` — always `\"product\"`\n- `siteName` — always `\"Target\"`\n- `scrapedAt` — ISO 8601 timestamp of when the record was collected\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `byCategory`, `byTcin`, `byUrl`, or `deals` |\n| `query` | string | `iPhone case` | Search keyword (mode=`search`) |\n| `tcins` | array | – | Target item numbers to fetch (mode=`byTcin`) |\n| `categoryId` | string | `electronics` | Department to browse (mode=`byCategory`) |\n| `url` | string | – | A Target product, category, brand or search URL (mode=`byUrl`) |\n| `sortBy` | string | `relevance` | `relevance`, `featured`, `priceLow`, `priceHigh`, `ratingHigh`, `bestSeller`, `newest` |\n| `includeDetails` | boolean | `true` | Fetch each product page for description, UPC/DPCI, breadcrumbs, specifications and online stock status |\n| `minPrice` | number | – | Drop products priced below this USD amount |\n| `maxPrice` | number | – | Drop products priced above this USD amount |\n| `minRating` | number | – | Drop products with average rating below this value (0–5) |\n| `onSaleOnly` | boolean | `false` | Only return products marked on sale or clearance |\n| `inStockOnly` | boolean | `true` | Exclude products Target reports as out of stock; listings with no stock signal are kept and marked `UNKNOWN` |\n| `maxItems` | integer | `24` | Hard cap on returned products (1–1000) |\n| `maxPages` | integer | `10` | Maximum result pages per query (1–50) |\n\n### Example: keyword search with a price ceiling\n\n```json\n{\n    \"mode\": \"search\",\n    \"query\": \"bluetooth headphones\",\n    \"maxPrice\": 100,\n    \"maxItems\": 48\n}\n```\n\n### Example: look up exact products by item number\n\n```json\n{\n    \"mode\": \"byTcin\",\n    \"tcins\": [\"94715153\", \"12345678\"]\n}\n```\n\n### Example: browse a department for on-sale items\n\n```json\n{\n    \"mode\": \"byCategory\",\n    \"categoryId\": \"home\",\n    \"onSaleOnly\": true,\n    \"maxItems\": 100\n}\n```\n\n### Example: resolve a pasted product link\n\n```json\n{\n    \"mode\": \"byUrl\",\n    \"url\": \"https://www.target.com/p/apple-airpods-pro/-/A-85978612\"\n}\n```\n\n### Example: trending deals\n\n```json\n{\n    \"mode\": \"deals\",\n    \"maxItems\": 24,\n    \"sortBy\": \"bestSeller\"\n}\n```\n\n## Use cases\n\n- **Price monitoring** — track `price`, `originalPrice`, `priceType` and `saleSavings` for a watchlist of TCINs over time\n- **Assortment research** — browse a department with `byCategory` to see what's listed right now (add `includeDetails` for per-item stock status)\n- **Deal discovery** — run the `deals` mode on a schedule to catch newly featured promotions\n- **Review benchmarking** — compare `rating`, `ratingCount` and `reviewCount` across competing products\n- **Catalog enrichment** — resolve saved Target URLs into structured records with UPC, DPCI, specifications and category breadcrumbs\n- **Identifier matching** — join Target products to other catalogs by TCIN, UPC or DPCI\n\n## FAQ\n\n**Where does this data come from?**\nTarget's own publicly crawlable product pages — the server-rendered version of Target.com that search engines index. Search, department and deals pages expose titles, prices, ratings and identifiers; product pages add stock status, UPC/DPCI, breadcrumbs and specifications. The actor needs no Target account, cookie or API key.\n\n**What is a TCIN?**\nTCIN stands for Target Corporation Item Number — Target's internal product identifier, visible in product URLs after `/A-`.\n\n**Do I need a Target account or a proxy?**\nNo. All modes read publicly listed product data without a login, cookie or API key. The actor picks its network route automatically.\n\n**What's the difference between the five modes?**\n`search` and `byCategory` return lists of products — one from a keyword query, the other from a department keyword. `byTcin` and `byUrl` return exact products, addressed by item number or a pasted link. `deals` returns Target's current deals.\n\n**Why is a field like `brand` or `rating` sometimes missing?**\nTarget doesn't populate every field for every listing — some products have no brand attribution, and newly listed items may not yet have reviews. Missing fields are omitted rather than returned empty.\n\n**What does `includeDetails` do?**\nIt fetches each product page to add the description, UPC/DPCI, category breadcrumbs, specifications and the online stock status Target publishes. It is on by default; turn it off for the fastest, lightest run. The daily test uses the light path.\n\n**Why is `availability` sometimes `UNKNOWN`?**\nTarget's search, department and deals listings (the pages this actor reads without extra requests) do not publish a per-item stock status. Rather than guessing, the actor marks those records `UNKNOWN`; enable `includeDetails` or look up the item with `byTcin`/`byUrl` to get the status from its product page. The `inStockOnly` filter still removes every item Target explicitly reports as out of stock.\n\n**Can I combine the price, rating, and stock filters?**\nYes. `minPrice`, `maxPrice`, `minRating`, `onSaleOnly` and `inStockOnly` all apply together, and only products passing every filter count toward `maxItems`.\n\n**How many products can one run return?**\nUp to 1,000, set by `maxItems`, and at most 50 result pages per query (`maxPages`). Target caps a search at about 1,200 products; for broader coverage, run again with a different `query`, `categoryId` or `sortBy`.\n\n**Why do some runs return fewer products than `maxItems`?**\nTarget may have fewer matches, the filters may reject some, or the source may reach its 50-page ceiling. The actor never fabricates rows to fill the quota.\n\n**Does the actor return store-level pickup stock?**\nNo. Target's per-store stock API is protected by an anti-bot challenge and is not reachable from this actor's network. `availability` reflects Target's public online stock status (and is `UNKNOWN` when the source page carries no signal); store-level pickup quantities are not included.\n\n**How reliable is the data route?**\nThe actor reads Target's public server-rendered pages and tries the cheapest network route first, escalating automatically if a response lacks the expected product data. This path is public and cookieless, but it is a search-engine view of the catalogue: it can lag the interactive site and Target may change its markup. The actor never invents records to fill a quota — a run reports fewer items rather than fabricating them.\n\n**Are product variations included?**\nTarget's public product page exposes the selected variation's price and identifiers but not the full variation list. The actor returns the item you asked for; it does not enumerate every color or size.\n\n**Is this affiliated with Target?**\nNo. This is an independent, third-party actor and is not operated by or affiliated with Target Corporation.\n",
      "input": {
        "title": "Target Product Scraper Input",
        "description": "Search Target.com products, browse a department, look up exact item numbers, paste a Target URL, or fetch trending deals — with prices, sale/clearance flags, ratings, UPC/DPCI, category breadcrumbs and product details.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "What to fetch from Target.",
            "editor": "select",
            "enum": [
              "search",
              "byCategory",
              "byTcin",
              "byUrl",
              "deals"
            ],
            "enumTitles": [
              "Search by keyword",
              "Browse a department",
              "Look up exact item numbers (TCIN)",
              "Paste a Target URL",
              "Trending deals"
            ],
            "default": "search",
            "prefill": "search"
          },
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "Keyword to search for (mode=search). E.g. 'iPhone case'.",
            "editor": "textfield",
            "default": "iPhone case",
            "prefill": "iPhone case"
          },
          "tcins": {
            "title": "Target item numbers (mode=byTcin)",
            "type": "array",
            "description": "One or more Target item numbers (TCINs), e.g. '94715153'. Comma-separated strings are also accepted.",
            "editor": "stringList",
            "default": []
          },
          "categoryId": {
            "title": "Department (mode=byCategory)",
            "type": "string",
            "description": "Target department to browse.",
            "editor": "select",
            "enum": [
              "electronics",
              "clothing-women",
              "clothing-men",
              "toys",
              "home",
              "baby",
              "beauty",
              "food",
              "sports-outdoors",
              "books",
              "video-games",
              "furniture",
              "kitchen",
              "health",
              "pets",
              "automotive",
              "office",
              "school-supplies",
              "movies",
              "music"
            ],
            "enumTitles": [
              "Electronics & Tech",
              "Clothing — Women",
              "Clothing — Men",
              "Toys & Games",
              "Home & Decor",
              "Baby",
              "Beauty",
              "Grocery",
              "Sports & Outdoors",
              "Books",
              "Video Games",
              "Furniture",
              "Kitchen & Dining",
              "Health",
              "Pets",
              "Automotive",
              "School & Office Supplies",
              "School Supplies",
              "Movies & TV Shows",
              "Music"
            ],
            "default": "electronics",
            "prefill": "electronics"
          },
          "url": {
            "title": "Target URL (mode=byUrl)",
            "type": "string",
            "description": "A Target product, category, brand or search URL. E.g. 'https://www.target.com/p/item/-/A-12345678'.",
            "editor": "textfield"
          },
          "sortBy": {
            "title": "Sort order",
            "type": "string",
            "description": "How Target should order results.",
            "editor": "select",
            "enum": [
              "relevance",
              "featured",
              "priceLow",
              "priceHigh",
              "ratingHigh",
              "bestSeller",
              "newest"
            ],
            "enumTitles": [
              "Relevance",
              "Featured",
              "Price: low to high",
              "Price: high to low",
              "Highest rated",
              "Best sellers",
              "Newest"
            ],
            "default": "relevance",
            "prefill": "relevance"
          },
          "includeDetails": {
            "title": "Fetch full product details",
            "type": "boolean",
            "description": "Fetch each product page to add description, UPC/DPCI, category breadcrumbs, specifications, review counts and the online stock status Target publishes.",
            "default": true,
            "prefill": false
          },
          "minPrice": {
            "title": "Min price (USD)",
            "type": "number",
            "description": "Drop products cheaper than this price.",
            "minimum": 0,
            "maximum": 99999
          },
          "maxPrice": {
            "title": "Max price (USD)",
            "type": "number",
            "description": "Drop products more expensive than this price.",
            "minimum": 0,
            "maximum": 99999
          },
          "minRating": {
            "title": "Min rating",
            "type": "number",
            "description": "Drop products with an average rating below this value (0–5).",
            "minimum": 0,
            "maximum": 5
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only emit products currently marked on sale or clearance.",
            "default": false,
            "prefill": false
          },
          "inStockOnly": {
            "title": "In stock only",
            "type": "boolean",
            "description": "Exclude products Target reports as out of stock. Search, department and deals listings that carry no stock signal are kept and marked `UNKNOWN` unless full-detail enrichment resolves them.",
            "default": true,
            "prefill": true
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted records (1–1000). Target exposes up to 50 pages of 24 results per query.",
            "minimum": 1,
            "maximum": 1000,
            "default": 24,
            "prefill": 2
          },
          "maxPages": {
            "title": "Max pages",
            "type": "integer",
            "description": "Maximum result pages to request per query (1–50; 24 products per page).",
            "minimum": 1,
            "maximum": 50,
            "default": 10,
            "prefill": 1
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Target Price, Stock & Deals Finder Output",
        "description": "Target.com product records with title, brand, price, sale/clearance flags, online stock, ratings, UPC/DPCI, category breadcrumbs, specifications and images.",
        "properties": {
          "records": {
            "type": "string",
            "title": "Target products",
            "description": "Dataset containing all scraped Target products.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Products",
              "transformation": {
                "fields": [
                  "title",
                  "brand",
                  "price",
                  "originalPrice",
                  "priceType",
                  "isOnSale",
                  "rating",
                  "ratingCount",
                  "availability",
                  "upc",
                  "dpci",
                  "categoryName",
                  "position",
                  "productUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.2",
    "imageDigest": "bc4924b3c6ed41974bb99caa1fb966fb3b003fc4dddd93cc3c0da1f78bebc706",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.01132
    }
  }
}