# Walmart Scraping Parameters

Web Scraper API Walmart Parameters

Configure Walmart scraping parameters using Thordata’s Web Scraper API, including URL, category URL, all variations, keywords, main domain, SKU, and other parameters.

Unique Identifier:

<details>

<summary><code>token</code> <strong>，Access token (required)</strong></summary>

This parameter is used as the API access token to ensure the legitimacy of the scraping request.

**Request examples:**

`Authorization: Bearer ********************`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer ********************" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.walmart.com/ip/Starburst-Pink-Yellow-Mix-Chewy-Fruit-Candy-3-lbs-Original-Strawberry-Lemon-Soft-Chew-Candies-Bulk-Family-Size-Assortment-Pack-Individually-Wrapped-4/1016450755?adsRedirect=true\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"

```

</details>

**Product - Scrape Walmart product information:**

1. Walmart - Scrape product information by URL

<details>

<summary><code>spider_id</code> ，S<strong>craper tool (required)</strong></summary>

Defines which scraper tool to use.

**Request examples:**

`spider_id=walmart_product_by-url`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.walmart.com/ip/Starburst-Pink-Yellow-Mix-Chewy-Fruit-Candy-3-lbs-Original-Strawberry-Lemon-Soft-Chew-Candies-Bulk-Family-Size-Assortment-Pack-Individually-Wrapped-4/1016450755?adsRedirect=true\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>url</code> ，<strong>URL (required)</strong></summary>

This parameter specifies the Walmart product URL to be scraped.

**Request examples:**

`"url": "https://www.walmart.com/ip/Starburst-Pink-Yellow-Mix-Chewy-Fruit-Candy-3-lbs-Original-Strawberry-Lemon-Soft-Chew-Candies-Bulk-Family-Size-Assortment-Pack-Individually-Wrapped-4/1016450755?adsRedirect=true"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.walmart.com/ip/Starburst-Pink-Yellow-Mix-Chewy-Fruit-Candy-3-lbs-Original-Strawberry-Lemon-Soft-Chew-Candies-Bulk-Family-Size-Assortment-Pack-Individually-Wrapped-4/1016450755?adsRedirect=true\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>all_variations</code>, <strong>all variations (optional)</strong></summary>

This parameter specifies whether to collect all product variations. Set to true to enable.\
Values: `true`, `false`

**Request examples:**

`"all_variations": "false"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-url" ^
  -d "spider_parameters=[{\"url\": \"https://www.walmart.com/ip/Starburst-Pink-Yellow-Mix-Chewy-Fruit-Candy-3-lbs-Original-Strawberry-Lemon-Soft-Chew-Candies-Bulk-Family-Size-Assortment-Pack-Individually-Wrapped-4/1016450755?adsRedirect=true\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

2. Walmart - Scrape product information by category URL

<details>

<summary><code>spider_id</code> ，S<strong>craper tool (required)</strong></summary>

Defines which scraper tool to use.

**Request examples:**

`spider_id=walmart_product_by-category-url`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-category-url" ^
  -d "spider_parameters=[{\"category_url\": \"https://www.walmart.com/shop/deals/food/beverages?povid=976759_itemcarousel_976782_Drinkupthesavings_Viewall_Rweb_May_08\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>category_url</code>, <strong>category URL (required)</strong></summary>

This parameter specifies a Walmart category URL to find new products.

**Request examples:**

`"category_url": "https://www.walmart.com/shop/deals/food/beverages?povid=976759_itemcarousel_976782_Drinkupthesavings_Viewall_Rweb_May_08"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-category-url" ^
  -d "spider_parameters=[{\"category_url\": \"https://www.walmart.com/shop/deals/food/beverages?povid=976759_itemcarousel_976782_Drinkupthesavings_Viewall_Rweb_May_08\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>all_variations</code>, <strong>all variations (optional)</strong></summary>

This parameter specifies whether to collect all product variations. Set to true to enable.\
Values: `true`, `false`

**Request examples:**

`"all_variations": "false"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-category-url" ^
  -d "spider_parameters=[{\"category_url\": \"https://www.walmart.com/shop/deals/food/beverages?povid=976759_itemcarousel_976782_Drinkupthesavings_Viewall_Rweb_May_08\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

3. Walmart - Scrape product information by keyword

<details>

<summary><code>spider_id</code> ，S<strong>craper tool (required)</strong></summary>

Defines which scraper tool to use.

**Request examples:**

`spider_id=walmart_product_by-keywords`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-keywords" ^
  -d "spider_parameters=[{\"keyword\": \"leggins\",\"domain\": \"https://www.walmart.com/\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>keyword</code>, <strong>keyword (required)</strong></summary>

This parameter specifies the search keyword for scraping Walmart products.

**Request examples:**

`"keyword": "leggins"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-keywords" ^
  -d "spider_parameters=[{\"keyword\": \"leggins\",\"domain\": \"https://www.walmart.com/\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>domain</code>, <strong>main domain (optional)</strong></summary>

This parameter specifies the main domain for scraping Walmart product information.

**Request examples:**

`"domain": "https://www.walmart.com/"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-keywords" ^
  -d "spider_parameters=[{\"keyword\": \"leggins\",\"domain\": \"https://www.walmart.com/\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>all_variations</code>, <strong>all variations (optional)</strong></summary>

This parameter specifies whether to collect all product variations. Set to true to enable.\
Values: `true`,`false`

**Request examples:**

`"all_variations": "false"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-keywords" ^
  -d "spider_parameters=[{\"keyword\": \"leggins\",\"domain\": \"https://www.walmart.com/\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

4. Walmart - Scrape product information by SKU

<details>

<summary><code>spider_id</code> ，S<strong>craper tool (required)</strong></summary>

Defines which scraper tool to use.

**Request examples:**

`spider_id=walmart_product_by-sku`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-sku" ^
  -d "spider_parameters=[{\"sku\": \"439179861\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>sku</code>, <strong>SKU (required)</strong></summary>

This parameter specifies the unique SKU code of the product to be scraped.

**Request examples:**

`"sku": "439179861"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-sku" ^
  -d "spider_parameters=[{\"sku\": \"439179861\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

<details>

<summary><code>all_variations</code>, <strong>all variations (optional)</strong></summary>

This parameter specifies whether to collect all product variations. Set to true to enable.\
Values: `true`,`false`

**Request examples:**

`"all_variations": "false"`

```sh
curl -X POST "https://scraperapi.thordata.com/builder" ^
  -H "Authorization: Bearer Token-ID" ^
  -H "Content-Type: application/x-www-form-urlencoded" ^
  -d "spider_name=walmart.com" ^
  -d "spider_id=walmart_product_by-sku" ^
  -d "spider_parameters=[{\"sku\": \"439179861\",\"all_variations\": \"false\"}]" ^
  -d "spider_errors=true" ^
  -d "file_name={{TasksID}}"
```

</details>

If you need further assistance, please contact us via email at <support@thordata.com>.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://doc.thordata.com/doc/scraping/web-scraper-api/parameter-description/walmart-scraping-parameters.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
