Skip to content

Structured Target data: send queries. Cursor-paginated, 1 credit per successful call.

GET · POST1 credit / successful callCursor-paginated
GEThttps://api.scrapier.io/api/v2/target-search-products/Open in Playground

Call GET /api/v2/target-search-products/ with queries. The results are in data.products; send data.next_cursor back as cursor to get the next page. 5 optional parameters refine the call (see Parameters).

Terminal window
curl -G "https://api.scrapier.io/api/v2/target-search-products/" \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "queries=baking sheet" \
--max-time 210
NameTypeRequiredDefaultDescription
X-API-Key headerstringyes—Your API key from the dashboard.
queriesstringyese.g. baking sheetSearch term or Target search/category/brand URL. Required first call. ~24-30 products per page.
cursorstringno—Pagination cursor returned in the previous response's next_cursor. Pass it back unchanged to fetch the next page. When next_cursor is null, you have reached the last page.
sort_bystringno—
relevancefeaturedprice_lowprice_highnewestbestsellingrating
locked in cursor
zip_codestringno52404Store/fulfillment ZIP.
locked in cursor
fetch_product_detailsbooleannofalse+1 pdp call per product.
locked in cursor
include_sponsoredbooleannotrue
locked in cursor
Advanced
NameTypeDefaultDescription
use_proxybooleantrueRoute the request through Scrapier's residential proxy pool. Default: true. Leave as is unless support tells you otherwise.
raw_databooleanfalseWhen true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under raw_responses, in place of the formatted items. When false (default) you get the formatted output. Pagination (cursor / next_cursor) works the same in both modes.
{
"success": true,
"data": {
"queries": "baking sheet",
"search_query": "baking sheet",
"source_url": "https://www.target.com/s?searchTerm=baking+sheet",
"page": 1,
"page_size": 29,
"total_results": 381,
"products": [
{
"keyword": "baking sheet",
"tcin": "1005061896",
"product_title": "Sur La Table Kitchen Essentials Bake Sale 3-Piece Cookie Sheet Set – Nonstick Carbon 13, 15, 18 Inch",
"brand": "Sur La Table Kitchen Essentials",
"current_price": 45,
"regular_price": 45,
"on_sale": false,
"price_type": "reg",
"discount_amount": 0,
"discount_percent": 0,
"formatted_price": "$45.00",
"average_rating": 0,
"review_count": 0,
"url": "https://www.target.com/p/sur-la-table-kitchen-essentials-bake-sale-3-piece-cookie-sheet-set-nonstick-carbon-13-15-18-inch/-/A-1005061896",
"image_url": "https://target.scene7.com/is/image/Target/GUEST_1dd4d4f7-4945-44ae-bba2-8bed0de32d53",
"images": [
"https://target.scene7.com/is/image/Target/GUEST_1dd4d4f7-4945-44ae-bba2-8bed0de32d53",
"https://target.scene7.com/is/image/Target/GUEST_dc884a7e-e196-4579-a20b-cc8c8782eaed",
"https://target.scene7.com/is/image/Target/GUEST_3d788d77-7fd5-45b8-8f6c-80040aa48524"
],
"available_online": true,
"currency": "USD",
"is_sponsored": true,
"relationship_type": "Stand Alone",
"parent_tcin": "1005061896",
"dpci": null,
"is_marketplace": true,
"sold_by": "Gibson Homewares",
"item_type": "Bakeware Sets",
"category_id": "4rqx4",
"badges": [],
"position": 1,
"page": 1,
"search_query": "baking sheet",
"source_url": "https://www.target.com/s?searchTerm=baking+sheet",
"total_results": 381,
"next_page": "https://www.target.com/s?searchTerm=baking+sheet&Nao=24",
"description": null,
"highlights": null,
"specifications": {
"Features": "Rectangle (shape)",
"Number of Pieces": "3",
"Baking Cooking Surface": "Carbon Steel",
"Lid Material": "No Lid",
"Includes": "3 cookie sheets",
"Care & Cleaning": "Hand Wash"
},
"weight": null,
"dimensions": null,
"package_dimensions": null,
"country_of_origin": null,
"upc": null,
"category_path": null,
"shipping": null,
"variation_attributes": null,
"variants": null,
"rating_distribution": null,
"recommended_percentage": null,
"return_policy": null,
"scraped_at": "2026-09-26T11:03:33.092Z"
}
],
"next_cursor": "eyJpIjoiYmFraW5nIHNoZWV0IiwibGsiOnsiZmV0Y2hfcHJvZHVjdF9kZXRhaWxzIjpmYWxzZSwiaW5jbHVkZV9zcG9uc29yZWQiOnRydWUsInNvcnRfYnkiOm51bGwsInppcCI6IjUyNDA0In0sIm4iOjI5LCJvIjoyNCwicCI6MiwicSI6ImJha2luZyBzaGVldCIsInMiOiJnbWR5cTAuMWdqNHZ0LmdwazczNC4xZzgwN2suOHZkdGkuZ203ODA4LjFraGZ1Yy4xaHdsYXkuMWc4MDdtLjFiaG16NC4xZzgxNzAuMWh3bGNnLjFnODA3bC52NTZubS4xZzgxNnkuMWQyczBrLjl3eXV1LjFnaGhxMi45MzdlOC4xYmhtejYudWJkNGkuMTlpNnFqLjFiaHJ6aC43dW9zYi4xa2thdTkuZ2txbHp1LjFqMzJjMi4xYmhtejcuMWF1ZmZoIiwic2IiOm51bGwsInN0Ijp7InN0YXRlIjoiSUEiLCJzdG9yZV9pZCI6IjE3NzEiLCJ6aXAiOiI1MjQwNCJ9LCJ1IjoiaHR0cHM6Ly93d3cudGFyZ2V0LmNvbS9zP3NlYXJjaFRlcm09YmFraW5nK3NoZWV0In0"
}
}

Sample from the live catalog; arrays trimmed to 3 items. Results are in data.products.

FieldTypeExampleDescription
queriesstringbaking sheet—
search_querystringbaking sheet—
source_urlstringhttps://www.target.com/s?searchTerm=baking+sheet—
pageinteger1—
page_sizeinteger29—
total_resultsinteger381—
productsarray[1 item]The results.
next_cursorstringeyJpIjoiYmFraW5nIHNoZWV0IiwibGsiOnsiZmV0Y2hfc…Pass back as cursor for the next page. null on the last page.
products[].keywordstringbaking sheet—
products[].tcinstring1005061896—
products[].product_titlestringSur La Table Kitchen Essentials Bake Sale 3-P…—
products[].brandstringSur La Table Kitchen Essentials—
products[].current_priceinteger45—
products[].regular_priceinteger45—
products[].on_salebooleanfalse—
products[].price_typestringreg—
products[].discount_amountinteger0—
products[].discount_percentinteger0—
products[].formatted_pricestring$45.00—
products[].average_ratinginteger0—
products[].review_countinteger0—
products[].urlstringhttps://www.target.com/p/sur-la-table-kitchen…—
products[].image_urlstringhttps://target.scene7.com/is/image/Target/GUE…—
products[].imagesarray[7 items]—
products[].available_onlinebooleantrue—
products[].currencystringUSD—
products[].is_sponsoredbooleantrue—
products[].relationship_typestringStand Alone—
products[].parent_tcinstring1005061896—
products[].dpcinullnull—
products[].is_marketplacebooleantrue—
products[].sold_bystringGibson Homewares—
products[].item_typestringBakeware Sets—
products[].category_idstring4rqx4—
products[].badgesarray[]—
products[].positioninteger1—
products[].pageinteger1—
products[].search_querystringbaking sheet—
products[].source_urlstringhttps://www.target.com/s?searchTerm=baking+sheet—
products[].total_resultsinteger381—
products[].next_pagestringhttps://www.target.com/s?searchTerm=baking+sh…—
products[].descriptionnullnull—
products[].highlightsnullnull—
products[].specificationsobject{…}—
products[].weightnullnull—
products[].dimensionsnullnull—
products[].package_dimensionsnullnull—
products[].country_of_originnullnull—
products[].upcnullnull—
products[].category_pathnullnull—
products[].shippingnullnull—
products[].variation_attributesnullnull—
products[].variantsnullnull—
products[].rating_distributionnullnull—
products[].recommended_percentagenullnull—
products[].return_policynullnull—
products[].scraped_atstring2026-09-26T11:03:33.092Z—

Pass data.next_cursor back as cursor until it is null. Required inputs are ignored once a cursor is sent. Each page is one billed call. More in Pagination.

const url = "https://api.scrapier.io/api/v2/target-search-products/";
let params = { queries: "baking sheet" };
const items = [];
for (let page = 0; page < 10; page++) { // each page is one billed call
const res = await fetch(`${url}?${new URLSearchParams(params)}`, {
headers: { "X-API-Key": "YOUR_API_KEY" },
signal: AbortSignal.timeout(210_000),
});
const body = await res.json();
if (!res.ok) throw new Error(body.error ?? body.detail ?? `HTTP ${res.status}`);
const data = body.data;
items.push(...(data.products ?? []));
if (!data.next_cursor) break; // null = last page
params = { cursor: data.next_cursor };
}

Failed calls are free. Branch on the HTTP status and read the message from error (or detail). Full details in Errors.

StatusMeaningRetry?Charged?
400Bad or missing input.No — fix the paramsNo
401 / 403Missing, invalid or revoked API key.No — fix the keyNo
402Out of credits (body has balance).No — top upNo
404Unknown endpoint slug.No — check the slugNo
429 / 503Busy or throttled.Yes — after Retry-AfterNo
5xxTarget site or upstream failure, or timeout.Yes — with backoffNo
  • Locked into the cursor: sort_by, zip_code, fetch_product_details, include_sponsored. Set them on the first call; later pages reuse them.
  • Target Category — Structured Target data: send urls. Cursor-paginated, 1 credit per successful call.
  • Target Reviews — Structured Target data: send urls. Cursor-paginated, 1 credit per successful call.
  • Target Single Product Info — Structured Target data: send urls. Single lookup, 1 credit per successful call.
  • Target Stores — Structured Target data: send queries. Cursor-paginated, 1 credit per successful call.