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 |
|
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 |
currency | string | Currency in which price is listed |
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": 89.99,
"price_reduced": 89.99,
"currency": "USD",
"rating": 4.09,
"total_ratings": 12524,
"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",
"listing_id": "A-53788870",
"images": [
"https://target.scene7.com/is/image/Target/GUEST_ca2af6d2-a7aa-4e54-9f3e-22d728440700",
"https://target.scene7.com/is/image/Target/GUEST_a455a3ed-2c42-4db7-a2b5-62b292aee764",
"https://target.scene7.com/is/image/Target/GUEST_9f1ec659-2491-420a-a73a-1c51ddee9356",
"https://target.scene7.com/is/image/Target/GUEST_7a94d7f3-38e8-41d1-aab0-28cea959831d",
"https://target.scene7.com/is/image/Target/GUEST_1e509f07-422d-4009-9054-fd63dcb7bca7",
"https://target.scene7.com/is/image/Target/GUEST_1e58070c-9126-4fe6-a5ca-7d35fdd24ac3",
"https://target.scene7.com/is/image/Target/GUEST_37cad45f-79c1-4837-b326-ec119ad1fa2a",
"https://target.scene7.com/is/image/Target/GUEST_cf786b59-3b05-4c4f-8611-ebc5f8134474",
"https://target.scene7.com/is/image/Target/GUEST_9f17e774-c8dd-4a3c-b52a-ccce6f89136d",
"https://target.scene7.com/is/image/Target/GUEST_dce533dd-9705-485b-bbf2-e652de2bb7e2",
"https://target.scene7.com/is/image/Target/GUEST_396dd4f6-dec0-4958-8c10-e2d4b11e1889",
"https://target.scene7.com/is/image/Target/GUEST_d6b3d7ab-55c6-4112-a87e-2d20117c6083"
],
"total_reviews": 7503,
"vendor_id": null,
"vendor_name": null,
"seller_id": null,
"seller_name": null
},
"remaining_credits": 648628
}
Request Cost
1 credit per request.
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