{
  "openapi": "3.0.1",
  "info": {
    "title": "Target Reviews Scraper | Product Ratings and Review Summaries",
    "description": "Target reviews scraper for Target.com: 100 reviews of 2 products in 1 second, 38 fields each. Search by keyword, TCIN or product link and get rating, text, verified purchase, helpful votes, photos and brand replies, plus product name, brand, price, star distribution and Target's review summary.",
    "version": "1.0",
    "x-build-id": "AHjGbwwvdQgnrwdLx"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/silentflow~target-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-silentflow-target-reviews-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/silentflow~target-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-silentflow-target-reviews-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/silentflow~target-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-silentflow-target-reviews-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "productIds": {
            "title": "🏷️ Product IDs or links",
            "type": "array",
            "description": "Target product ids (the <b>TCIN</b> at the end of a product link, after <code>A-</code>), one per line: <code>79991380</code>, <code>90064793</code>. A product link works too: <code>https://www.target.com/p/ninja-foodi-8qt-original-dualzone-2-basket-air-fryer-with-6-functions-dz201/-/A-79991380</code>. Every product of the list is read in the same run.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "🔎 Searches or category links",
            "type": "array",
            "description": "No product ids at hand? Type what a shopper would search, one per line: <code>air fryer</code>, <code>stand mixer</code>. A Target search, category or brand link works too: <code>https://www.target.com/b/ninja/-/N-5em1p</code>. Each line gives the reviews of the first reviewed products Target lists for it, as many as <b>Products per search</b>.",
            "items": {
              "type": "string"
            }
          },
          "maxReviews": {
            "title": "🔢 Max reviews per product",
            "minimum": 1,
            "type": "integer",
            "description": "How many reviews to save for each product, each one a row. Best sellers have thousands of reviews; 100 reviews take about a second. The cap applies to each product, so a list of ids always gives every product.",
            "default": 100
          },
          "maxProducts": {
            "title": "🛒 Products per search",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "For each search or category link, how many products to take the reviews of, in the order Target lists them. A run reads up to this number times <b>Max reviews per product</b>. Has no effect on product ids.",
            "default": 5
          },
          "sortBy": {
            "title": "🔽 Sort reviews by",
            "enum": [
              "most_recent",
              "most_helpful",
              "highest_rating",
              "lowest_rating"
            ],
            "type": "string",
            "description": "<b>Newest first</b> is the order to schedule for monitoring. <b>Most helpful</b> starts with the reviews other shoppers voted up; the two rating orders start with the best or the worst reviews.",
            "default": "most_recent"
          },
          "ratings": {
            "title": "⭐ Star ratings",
            "type": "array",
            "description": "Keep only these star ratings. Pick 1 and 2 stars to read what buyers complain about. Leave empty for every rating.",
            "items": {
              "type": "string",
              "enum": [
                "5",
                "4",
                "3",
                "2",
                "1"
              ],
              "enumTitles": [
                "5 stars",
                "4 stars",
                "3 stars",
                "2 stars",
                "1 star"
              ]
            }
          },
          "verifiedOnly": {
            "title": "✅ Verified purchases only",
            "type": "boolean",
            "description": "Keep only the reviews of shoppers Target confirmed bought the product.",
            "default": false
          },
          "withPhotosOnly": {
            "title": "📷 Reviews with photos only",
            "type": "boolean",
            "description": "Keep only the reviews that carry customer photos, returned in the <code>photos</code> column.",
            "default": false
          },
          "reviewsSince": {
            "title": "📅 Reviews since",
            "type": "string",
            "description": "Only keep the reviews published on or after this date: <code>2026-01-01</code>, or an age such as <code>30 days</code> for a monthly schedule that collects only new reviews. Leave empty for every review."
          },
          "productSummaryOnly": {
            "title": "📊 Product summaries only",
            "type": "boolean",
            "description": "One row per product instead of one per review: average rating, star distribution, recommendation rate, attribute averages (quality, value...), topics shoppers praise or criticize, the review summary, price and availability. Fast way to benchmark a whole shelf.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}