Scrape a Target category listing
curl --request POST \
--url https://api.scrapeunblocker.com/marketplace/target-category \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/marketplace/target-category"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/marketplace/target-category', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Plugins
Scrape a Target category listing
Lists the products of one Target category (by id or category link; a brand page's id or link works too) as JSON: `category` (id, name, link, and `type`: category or brand), `breadcrumbs`, `totalResults`, `totalPages`, and `products` with `tcin`, `title`, `brand`, `price` (`priceMax` for a family priced as a range), `originalPrice` and `priceType` when on sale, `formattedPrice`, `currency`, `rating`, `ratingCount`, `promotions`, `image` and `url`. Sort with `sort`, start at `page` and collect up to `max_results` across pages (Target serves at most 50 pages of 24). Filters in a category link (...Z<facet>) are not applied. Each page fetched is billed as one request (`pagesFetched`).
Scrape a Target category listing
curl --request POST \
--url https://api.scrapeunblocker.com/marketplace/target-category \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/marketplace/target-category"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/marketplace/target-category', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Your ScrapeUnblocker API key. Apply on every request.
Query Parameters
Target category: its id (e.g. '5xtro', the part after N- in a category link) or a target.com category link, e.g. https://www.target.com/c/coffee-makers-tea-espresso-kitchen-appliances-dining/-/N-5xtro. A brand page (/b//-/N-) lists that brand.
Order: relevance, price_low, price_high, rating, best_selling, newest.
1-based page to start from (1-50, 24 products per page).
Products to collect across pages (1-240); each page fetched is billed as one request.
Response
JSON with a products array.

