Walmart Category API (Async)

The Walmart Category API endpoint returns a list of products for a specified product category.

Single Category Request

curl -X POST \
	-H "Content-Type: application/json" \
	-d '{
			"apiKey": "API_KEY",
			"category": "CATEGORY",
			"country_code": "COUNTRY_CODE",
			"tld": "TLD",
			"page": "PAGE",
			"callback": {
				"type": "webhook",
				"url": "YYYYY"
			}
		}' \
"https://async.scraperapi.com/structured/walmart/category"

Multiple Categories Request

curl -X POST \
	-H "Content-Type: application/json" \
	-d '{
			"apiKey": "API_KEY",
			"categories": ["CATEGORY1", "CATEGORY2"],
			"country_code": "COUNTRY_CODE",
			"tld": "TLD",
			"page": "PAGE",
			"callback": {
				"type": "webhook",
				"url": "YYYYY"
			}
		}' \
"https://async.scraperapi.com/structured/walmart/category"

Supported Parameters

Parameters
Details

API_KEY (required)

User's normal API Key

CATEGORY (required)

Walmart category ID as identifier. You can find the walmart category ID in the URL. Example: 3944_1089430_37807

(/browse/3944_1089430_37807)

TLD

Top-level Walmart domain to scrape: com (walmart.com) ca (walmart.ca)

COUNTRY_CODE

Valid values are two letter country codes for which we offer Geo Targeting (e.g. “au”, “es”, “it”, etc.). You can find the full list here.

PAGE

Page number.

OUTPUT_FORMAT

For structured data methods we offer CSV and JSON output. JSON is default if parameter is not added. Options:

  • csv

  • json (default)

Sample Response

Single Category Request

Multiple Categories Request

After the job(s) finish, you will find the result under the response key in the response JSON object. The structure is the same as in the corresponding SYNC data endpoint.

Last updated