Skip to content

Target Product Data API

A GET request to our /api/getter/?platform="target_detail" endpoint allows you to scrape product data for any product listing URL on Target.com—in real-time.

Example

Here's an example showcasing how you can scrape product data for any product on Target.com using its URL. For this example, we use the URL of this Keurig Coffe Maker for sale on Target.

1
curl -v -L 'https://data.unwrangle.com/api/getter/?platform=target_detail&url=https%3A%2F%2Fwww.target.com%2Fp%2Fkeurig-k-mini-single-serve-k-cup-pod-coffee-maker%2F-%2FA-53788870&api_key=API_KEY'

Note

When using curl, it is necessary to add the option -L to get the data back. This is because in some cases our server responds with a 301 and curl does not follow the redirect by default.

Query Parameters

As you can see in the example above, our endpoint needs the following query parameters:

Product URL

url

Required

Product listing's URL on Target.com. Remove unnecessary query parameters and encode the URL.

Other Required Parameters

platform

Required

Specifies the scraping engine you wish to invoke. In this case, the value should be target_detail.

api_key

Required

Your account's token—which can be obtained by signing up here.

Note

The value of the query parameter url must be URL or percent encoded. If you're using Python, this can be done with the function urlencode.

Results

The response will include the following attirbutes for the product:

Attributes Returned Data Type Information Represented
name string Name of product lisitng
brand string Product's brand name
price string Price of product
price_reduced string Discounted price of product, if any
rating float Average rating of product
total_ratings int Total no. of ratings received
images list List containing URLs of the product images
description string Description of product lisitng
categories list List of categories the product belongs to
department_name string Department under which product is categorized by Target
sku_id string Retailer's ID of the product
model_no string Model number of product as set by manufacturer
upc string Manufacturer's universal product code
vendor_id string Vendor's ID on Target.com
vendor_name string Vendor's name on Target.com
seller_id string Seller's ID on Target.com
seller_name string Seller's name on Target.com

Availability of attributes will differ with products. Contact us if the attribute you're looking for is missing here. We can add attributes that are available on Target's product page.

Response Example

Here's the response you can expect to receive for the request showcased above:

{
    "success": true,
    "url": "https://www.target.com/p/keurig-k-mini-single-serve-k-cup-pod-coffee-maker/-/A-53788870",
    "result_count": 1,
    "detail": {
        "name": "Keurig K-Mini Single-Serve K-Cup Pod Coffee Maker",
        "brand": "Keurig",
        "price": "$99.99",
        "price_reduced": "$59.99",
        "rating": 3.95,
        "total_ratings": 6787,
        "description": "The Keurig K-Mini single serve coffee maker features a sleek design with matte finish, and at less than 5 inches wide is the perfect size for any space or occasion. The K-Mini brewer is effortlessly simple to use - just add fresh water to the reservoir, pop in your favorite K-Cup pod, press the brew button and enjoy fresh brewed, delicious coffee in minutes. Choose from hundreds of delicious K-Cup pod varieties to enjoy 6-12oz of your favorite coffee, tea, cocoa, and iced beverages. With a single cup reservoir and cord storage, the K-Mini coffee maker is the portable brewer that makes anywhere perfect for great coffee. The K-Mini coffee maker is available in a variety of matte-finish colors. Based on consumer feedback, we have updated the K-Mini Brewer. Customer reviews have been removed that relate to the previous version of the brewer.<br />",
        "categories": null,
        "department_name": "SMALL APPLIANCES",
        "sku_id": "53788870",
        "model_no": null,
        "upc": "611247373064",
        "images": [
            "https://target.scene7.com/is/image/Target/GUEST_4faf7e7b-9827-4ec6-b771-d5862cb104f0",
            "https://target.scene7.com/is/image/Target/GUEST_931ca034-1701-4388-85ae-38e3eafc1d1b",
            "https://target.scene7.com/is/image/Target/GUEST_fdd28108-c11f-4c15-965b-1e1dcde56635",
            "https://target.scene7.com/is/image/Target/GUEST_d1ab7249-1910-46b9-b699-3950d198e876",
            "https://target.scene7.com/is/image/Target/GUEST_0a94f03b-b306-4c0f-91ba-7472d3fcba56",
            "https://target.scene7.com/is/image/Target/GUEST_2137fb80-b2dd-48cf-94d6-2d9be1dbbcd5",
            "https://target.scene7.com/is/image/Target/GUEST_c005c131-f741-43c9-a8a7-bdc98d55f946",
            "https://target.scene7.com/is/image/Target/GUEST_8e576bfe-84ef-4197-94ee-d981c57e31c9",
            "https://target.scene7.com/is/image/Target/GUEST_4b3152f8-066b-4bae-8c24-425a288587fd"
        ],
        "total_reviews": 5409,
        "vendor_id": null,
        "vendor_name": null,
        "seller_id": null,
        "seller_name": null
    },
    "remaining_credits": 481864
}

Request Cost

Each request to this endpoint costs 10 credits.

Support

If you want to add a parameter to our response, or have any question or feedback, please write to us at support@unwrangle.com