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-stores/Open in Playground

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

Terminal window
curl -G "https://api.scrapier.io/api/v2/target-stores/" \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "queries=10001" \
--max-time 210
NameTypeRequiredDefaultDescription
X-API-Key headerstringyes—Your API key from the dashboard.
queriesstringyese.g. 10001ZIP, city, "city, ST", state or Target URL. Required first call. 20 stores 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.
radius_milesintegerno100
locked in cursor
include_detailsbooleannotrue
locked in cursor
include_googlebooleannofalseGoogle rating/reviews/photos.
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": "10001",
"input_type": "search",
"radius_miles": 100,
"page": 1,
"page_size": 20,
"stores": [
{
"keyword": "10001",
"input_type": "search",
"position": 1,
"store_id": "3412",
"name": "Chelsea 23rd and 8th",
"url": "https://www.target.com/sl/chelsea-23rd-and-8th/3412",
"category": "TargetExpress",
"status": "Open",
"distance": 0.37,
"address": "258 8th Ave, New York, NY 10011-1619",
"street": "258 8th Ave",
"city": "New York",
"state": "NY",
"postal_code": "10011-1619",
"phone": "646-720-0024",
"latitude": 40.745412,
"longitude": -73.998103,
"timezone": "America/New_York",
"rating": null,
"rating_max": null,
"reviews_count": null,
"price_level": null,
"verified": true,
"description": "Shop Target Chelsea 23rd and 8th Store for furniture, electronics, clothing, groceries, home goods and more at prices you will love.",
"image_urls": [
"https://api.target.com/store_maps/v1/external/svg_images?location_id=3412&floor_id=1&key=9f36aeafbe60771e321a7cc95a78140772ab3e96",
"https://api.target.com/geospatial_locations/v1/static_map?place=40.745412,-73.998103&key=9f36aeafbe60771e321a7cc95a78140772ab3e96"
],
"hours": [
{
"date": "2026-09-24",
"day_name": "Thursday",
"is_open": true,
"opens_at": "08:00:00",
"closes_at": "23:00:00"
}
],
"scraped_at": "2026-09-24T11:29:11.828Z"
}
],
"next_cursor": "eyJqIjp7ImlucHV0IjoiMTAwMDEiLCJraW5kIjoic2VhcmNoIiwicGxhY2UiOiIxMDAwMSJ9LCJsayI6eyJpbmNsdWRlX2RldGFpbHMiOnRydWUsImluY2x1ZGVfZ29vZ2xlIjpmYWxzZSwicmFkaXVzX21pbGVzIjoxMDB9LCJvIjoyMCwicCI6Mn0"
}
}

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

FieldTypeExampleDescription
queriesstring10001—
input_typestringsearch—
radius_milesinteger100—
pageinteger1—
page_sizeinteger20—
storesarray[1 item]The results.
next_cursorstringeyJqIjp7ImlucHV0IjoiMTAwMDEiLCJraW5kIjoic2Vhc…Pass back as cursor for the next page. null on the last page.
stores[].keywordstring10001—
stores[].input_typestringsearch—
stores[].positioninteger1—
stores[].store_idstring3412—
stores[].namestringChelsea 23rd and 8th—
stores[].urlstringhttps://www.target.com/sl/chelsea-23rd-and-8t…—
stores[].categorystringTargetExpress—
stores[].statusstringOpen—
stores[].distancenumber0.37—
stores[].addressstring258 8th Ave, New York, NY 10011-1619—
stores[].streetstring258 8th Ave—
stores[].citystringNew York—
stores[].statestringNY—
stores[].postal_codestring10011-1619—
stores[].phonestring646-720-0024—
stores[].latitudenumber40.745412—
stores[].longitudenumber-73.998103—
stores[].timezonestringAmerica/New_York—
stores[].ratingnullnull—
stores[].rating_maxnullnull—
stores[].reviews_countnullnull—
stores[].price_levelnullnull—
stores[].verifiedbooleantrue—
stores[].descriptionstringShop Target Chelsea 23rd and 8th Store for fu…—
stores[].image_urlsarray[2 items]—
stores[].hoursarray[1 item]—
stores[].scraped_atstring2026-09-24T11:29:11.828Z—

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-stores/";
let params = { queries: "10001" };
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.stores ?? []));
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: radius_miles, include_details, include_google. 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 Search Products — Structured Target data: send queries. Cursor-paginated, 1 credit per successful call.
  • Target Single Product Info — Structured Target data: send urls. Single lookup, 1 credit per successful call.