Skip to content

Structured Walmart data: send urls. Cursor-paginated, 1 credit per successful call.

GET · POST1 credit / successful callCursor-paginated
GEThttps://api.scrapier.io/api/v2/walmart-category/Open in Playground

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

Terminal window
curl -G "https://api.scrapier.io/api/v2/walmart-category/" \
-H "X-API-Key: YOUR_API_KEY" \
--data-urlencode "urls=3944" \
--max-time 210
NameTypeRequiredDefaultDescription
X-API-Key headerstringyes—Your API key from the dashboard.
urlsstringyese.g. 3944Walmart category URL or bare category id. Required on the first call; list -> first only.
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.
sortstringnobest_match
best_matchprice_lowprice_highbest_sellertop_ratednew
locked in cursor
min_priceintegerno—
locked in cursor
max_priceintegerno—
locked in cursor
refinementstringno—Facet token(s) e.g. brand:Apple.
locked in cursor
zip_codestringno—Resolved to a store on page 1.
locked in cursor
statestringno—
locked in cursor
store_idstringno—
locked in cursor
countrystringnoUS
USCA
locked in cursor
strict_price_filterbooleannotrue
locked in cursor
include_brandbooleannofalsePer-product brand lookup (one extra product-page request per row; heavy, default off).
locked in cursor
include_reviews_countbooleannofalse
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": {
"urls": "3944",
"category_id": "3944",
"country": "US",
"page": 1,
"page_size": 43,
"total_results": 900004,
"products": [
{
"input_url": "3944",
"category_id": "3944",
"country": "US",
"position": 2,
"page": 1,
"id": "18611919209",
"url": "https://www.walmart.com/ip/HP-14-N150-4-128-Pink/18611919209?classType=VARIANT&athbdg=L1300",
"title": "HP 14 inch HD Windows Laptop Intel Processor N150 4GB 128GB UFS Tranquil Pink",
"description": "HP 14 inch HD Windows Laptop Intel Processor N150 4GB 128GB UFS Tranquil Pink",
"seller": "Walmart.com",
"brand": "HP",
"price": {
"current": 199,
"original": 256.88,
"currency": "USD"
},
"rating": {
"average": 4.1,
"count": 1053
},
"image_urls": "https://i5.walmartimages.com/seo/HP-14-N150-4-128-Pink_0ce3d9f7-c4c1-42b8-9829-bcda7e1fde68.1160f366df2b136e8823ee23ab51b895.jpeg",
"availability": "In stock",
"reviews_count": 133,
"variations": [
{
"id": "18656507313",
"title": "Waterfall blue",
"url": "https://www.walmart.com/ip/HP-14-N150-4-128-Blue/18656507313?classType=VARIANT",
"category": "actual_color"
}
],
"ext": {
"seller_id": "F55CDC31AB754BB68FE0B39041159D63",
"catalog_id": "19X7KSSCUQU5"
},
"scraped_at": "2026-09-24T11:38:54.633Z"
}
],
"next_cursor": "eyJpIjoiMzk0NCIsIm4iOjQzLCJwIjoyLCJzIjoiZjJDYkRERU5obDQ5"
}
}

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

FieldTypeExampleDescription
urlsstring3944—
category_idstring3944—
countrystringUS—
pageinteger1—
page_sizeinteger43—
total_resultsinteger900004—
productsarray[1 item]The results.
next_cursorstringeyJpIjoiMzk0NCIsIm4iOjQzLCJwIjoyLCJzIjoiZjJDY…Pass back as cursor for the next page. null on the last page.
products[].input_urlstring3944—
products[].category_idstring3944—
products[].countrystringUS—
products[].positioninteger2—
products[].pageinteger1—
products[].idstring18611919209—
products[].urlstringhttps://www.walmart.com/ip/HP-14-N150-4-128-P…—
products[].titlestringHP 14 inch HD Windows Laptop Intel Processor …—
products[].descriptionstringHP 14 inch HD Windows Laptop Intel Processor …—
products[].sellerstringWalmart.com—
products[].brandstringHP—
products[].priceobject{…}—
products[].ratingobject{…}—
products[].image_urlsstringhttps://i5.walmartimages.com/seo/HP-14-N150-4…—
products[].availabilitystringIn stock—
products[].reviews_countinteger133—
products[].variationsarray[1 item]—
products[].extobject{…}—
products[].scraped_atstring2026-09-24T11:38:54.633Z—

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/walmart-category/";
let params = { urls: "3944" };
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, min_price, max_price, refinement, zip_code, state, store_id, country, strict_price_filter, include_brand, include_reviews_count. Set them on the first call; later pages reuse them.
  • Walmart Data Extractor — Structured Walmart data: send urls. Cursor-paginated, 1 credit per successful call.
  • Walmart Reviews — Structured Walmart data: send urls. Cursor-paginated, 1 credit per successful call.
  • Walmart Search Scraper — Structured Walmart data: send queries. Cursor-paginated, 1 credit per successful call.