Skip to content

Target Product Search API

A GET request to our endpoint /api/getter/?platform="target_search" will allow you to scrape search results from Target.com's search engine in real-time.

Example

Here's an example showcasing how you can scrape search results from Target.com for the keyword of your choice. For our example, we have chosen the keyword, "coffee maker".

1
curl 'https://data.unwrangle.com/api/getter/?platform=target_search&search=coffee+maker&api_key=API_KEY'

Query Parameters

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

Search Query

search

Required

Parameter defines the search query you want to search. You can use anything that a user may use in a regular search while shopping on Target.com.

page

Optional

Parameter defines the page number for which you want the results. Default value is 1. Max value 50.

Note

Even when the response mentions the no_of_pages as greater than 50, the maximum page number for which you can query search results with the API is 50.

Other Required Parameters

platform

Required

Parameter specifies the scraping engine you wish to invoke. In this case, the value should be target_search.

api_key

Required

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

Note

Be sure to replace any whitespace in the search keywords with a plus + sign. So, if you're looking to scrape search results for the keyword "black chair", please set the value of the query parameter search to "black+chair".

Results

The response will include up to 40 product results for every query. Our scraper grabs the following attributes for every product in Target's search results:

Attributes Returned Data Type Information Represented
id string Retailer ID of product lisitng
url string URL of product listing
name string Name of product lisitng
brand string Product's brand name
thumbnail string URL of product thumbnail
price string Price of product
currency string Currency of product price
rating float Average rating of product
total_ratings int No. of user ratings received by product

Response Example

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

{
    "success": true,
    "search": "televisions",
    "page": 1,
    "total_results": 1800,
    "no_of_pages": 75,
    "result_count": 29,
    "results": [
        {
            "id": "53855744",
            "url": "https://www.target.com/p/vizio-d-series-40-34-class-1080p-fhd-full-array-led-smart-tv-d40f-j09/-/A-53855744",
            "thumbnail": "https://target.scene7.com/is/image/Target/GUEST_6568daea-2099-4ef0-9fa7-32d8c446d0cb",
            "name": "VIZIO D-Series 40" Class 1080p FHD Full-Array LED Smart TV - D40f-J09",
            "brand": "VIZIO",
            "price": 159.99,
            "currency": "USD",
            "rating": 4.35,
            "total_ratings": 16647
        },
        {
            "id": "79502982",
            "url": "https://www.target.com/p/vizio-d-series-24-34-class-1080p-fhd-full-array-led-smart-tv-d24f-j09/-/A-79502982",
            "thumbnail": "https://target.scene7.com/is/image/Target/GUEST_18c31405-05a1-4f31-882a-5591eb9b4a32",
            "name": "VIZIO D-Series 24" Class 1080p FHD Full-Array LED Smart TV - D24f-J09",
            "brand": "VIZIO",
            "price": 139.99,
            "currency": "USD",
            "rating": 4.45,
            "total_ratings": 10891
        },
        {
            "id": "53855744",
            "url": "https://www.target.com/p/vizio-d-series-40-34-class-1080p-fhd-full-array-led-smart-tv-d40f-j09/-/A-53855744",
            "thumbnail": "https://target.scene7.com/is/image/Target/GUEST_6568daea-2099-4ef0-9fa7-32d8c446d0cb",
            "name": "VIZIO D-Series 40" Class 1080p FHD Full-Array LED Smart TV - D40f-J09",
            "brand": "VIZIO",
            "price": 159.99,
            "currency": "USD",
            "rating": 4.35,
            "total_ratings": 16647
        },
        {
            "id": "85301550",
            "url": "https://www.target.com/p/lg-43-34-class-4k-uhd-smart-led-tv-43uq7590pub/-/A-85301550",
            "thumbnail": "https://target.scene7.com/is/image/Target/GUEST_8e9b9490-55ef-4702-9da2-629e45d6bc14",
            "name": "LG 43" Class 4K UHD Smart LED TV - 43UQ7590PUB",
            "brand": "LG Electronics",
            "price": 279.99,
            "currency": "USD",
            "rating": 4.35,
            "total_ratings": 947
        },
        {
            "id": "88195811",
            "url": "https://www.target.com/p/samsung-50-34-class-cu8000-uhd-4k-smart-tv-black-un50cu8000/-/A-88195811",
            "thumbnail": "https://target.scene7.com/is/image/Target/GUEST_b4ac98a5-93a4-419e-af29-7a08ef46c14b",
            "name": "Samsung 50" class CU8000 UHD 4K Smart TV - Black (UN50CU8000)",
            "brand": "Samsung",
            "price": 429.99,
            "currency": "USD",
            "rating": 4.59,
            "total_ratings": 657
        },
        {
            "id": "88144269",
            "url": "https://www.target.com/p/tcl-65-34-class-s4-s-class-4k-uhd-hdr-led-smart-tv-with-google-tv-65s450g/-/A-88144269",
            "thumbnail": "https://target.scene7.com/is/image/Target/GUEST_1892dc48-a167-4b17-b131-e665b5cfdbb0",
            "name": "TCL 65" Class S4 S-Class 4K UHD HDR LED Smart TV with Google TV - 65S450G",
            "brand": "TCL",
            "price": 399.99,
            "currency": "USD",
            "rating": 3.86,
            "total_ratings": 80
        },
        {
            "id": "53856649",
            "url": "https://www.target.com/p/vizio-d-series-32-34-class-720p-hd-full-array-led-smart-tv-d32h-j/-/A-53856649",
            "thumbnail": "https://target.scene7.com/is/image/Target/GUEST_6568daea-2099-4ef0-9fa7-32d8c446d0cb",
            "name": "VIZIO D-Series 32" Class 720p HD Full-Array LED Smart TV - D32h-J",
            "brand": "VIZIO",
            "price": 129.99,
            "currency": "USD",
            "rating": 4.39,
            "total_ratings": 7543
        },
        ...
        ...
        {
            "id": "88196024",
            "url": "https://www.target.com/p/lg-42-34-class-4k-uhd-2160p-smart-oled-tv-oled42c3/-/A-88196024",
            "thumbnail": "https://target.scene7.com/is/image/Target/GUEST_1460bbb0-bd2b-4593-aee3-ce3a3aa00d3c",
            "name": "LG 42" Class 4K UHD 2160p Smart OLED TV - OLED42C3",
            "brand": "LG Electronics",
            "price": 899.99,
            "currency": "USD",
            "rating": 4.73,
            "total_ratings": 1045
        }
    ],
    "meta_data": {
        "search_suggestions": [
            "70 inch tv",
            "tv 42 inch",
            "50 inch tv deals",
            "tv deals 32 inch",
            "cheapest 50 tv deals",
            "vizio 50 inch tv"
        ]
    },
    "remaining_credits": 649887
}

Request Cost

1 credit per request.

Support

If the response doesn't include the data you need, or if you have any question or feedback, please write to us at support@unwrangle.com