{
  "openapi": "3.0.1",
  "info": {
    "title": "Walmart Products Scraper",
    "description": "Scrape Walmart.com products by keyword, category, seller or URL: price, rating, seller, stock, delivery, aisle. Options: details, reviews, offers, seller contacts.",
    "version": "0.0",
    "x-build-id": "OGGxue2g7AzUNaCCe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nice_dev~walmart-products-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nice_dev-walmart-products-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/nice_dev~walmart-products-scraper/runs": {
      "post": {
        "operationId": "runs-sync-nice_dev-walmart-products-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/nice_dev~walmart-products-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-nice_dev-walmart-products-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "startUrls": {
            "title": "Start URLs",
            "maxItems": 1000,
            "type": "array",
            "description": "walmart.com URLs: search results (e.g. `https://www.walmart.com/search?q=air+fryer`; every filter set on the site is kept, pagination is automatic), category pages (`https://www.walmart.com/browse/electronics/3944`), seller shops (`https://www.walmart.com/seller/101020607`), single products (`https://www.walmart.com/ip/17852302051`) or review pages (`https://www.walmart.com/reviews/product/17852302051`). A product or review page pasted here is read as a product: it always comes with its full product page and is charged **Product details**, ticked or not. When this list is not empty, the keyword fields below are ignored; filters, caps, options and monitoring still apply. Max 1 000 URLs.",
            "default": [],
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "query": {
            "title": "Search keyword",
            "maxLength": 200,
            "type": "string",
            "description": "Free-text search, exactly as typed on walmart.com (e.g. `laptop`, `paper towels`)."
          },
          "searchQueries": {
            "title": "More search keywords",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Several keywords in one run: one search per keyword (max 100). Added to **Search keyword**; products found by several searches are saved once.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Product IDs",
            "maxItems": 1000,
            "uniqueItems": true,
            "type": "array",
            "description": "Walmart item ids (the number at the end of a product URL, e.g. `17852302051`) or full product URLs: each one is read as a single product. Added to the searches above. A product given here always comes with its full product page and is charged **Product details**, ticked or not. Max 1 000 ids.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max products",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of products to save for the whole run (after deduplication and filters). 0 = no limit.",
            "default": 100
          },
          "maxItemsPerQuery": {
            "title": "Max products per search",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap for EACH search (keyword, search / category / seller URL), so that the first search cannot use up the whole **Max products** budget. 0 = no per-search cap. Walmart shows at most 25 pages per search (about 1 000 products): split a large search with filters or price ranges.",
            "default": 0
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "best_match",
              "price_low",
              "price_high",
              "best_seller",
              "rating_high",
              "new"
            ],
            "type": "string",
            "description": "Order of the results, as on walmart.com.",
            "default": "best_match"
          },
          "extractDetails": {
            "title": "Product details",
            "type": "boolean",
            "description": "Open each product page of a search, category or shop (1 extra page per product) for UPC, model, all images and videos, full description, highlights, specifications, warnings, warranty, variants and return policy. Charged per product delivered with its details (see Pricing). Off = search-card fields only. A product you give by ID or URL (**Product IDs**, **Start URLs**) always gets its details and is charged for them, ticked or not.",
            "default": false
          },
          "includeReviewSummary": {
            "title": "Review summary",
            "type": "boolean",
            "description": "Rating histogram (count of 1 to 5 stars), Walmart's own written summary of the reviews and the aspects customers mention (quality, value…). Read from the first review page of the product (1 light extra page; a second one when **Reviews order** or **Reviews with this rating only** is set, as Walmart writes its summary only on the unfiltered page). Charged per product that has one.",
            "default": false
          },
          "includeReviews": {
            "title": "Reviews",
            "type": "boolean",
            "description": "Customer reviews of each product (title, text, rating, date, author nickname, badges, helpful votes, photos, seller's response). Charged per review delivered.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Reviews read for each product when **Reviews** is on (10 per page). 0 = as many as can be read in about a minute per product, up to 10,000: a product with thousands of reviews comes back with part of them, and the log says so.",
            "default": 20
          },
          "reviewsSort": {
            "title": "Reviews order",
            "enum": [
              "relevancy",
              "submission-desc",
              "submission-asc",
              "rating-desc",
              "rating-asc",
              "helpful"
            ],
            "type": "string",
            "description": "Which reviews come first.",
            "default": "relevancy"
          },
          "reviewsRating": {
            "title": "Reviews with this rating only",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "type": "string",
            "description": "Only the reviews with this star rating (asked from Walmart, so no page is wasted). Empty = all ratings."
          },
          "reviewsPostedAfter": {
            "title": "Reviews posted after",
            "type": "string",
            "description": "Only the reviews posted on or after this date: `2026-09-01`, or a period before now such as `30 days`. Compared with the review's day in Walmart's time zone (US Pacific). With **Reviews order** = Newest, reading stops at the first older review."
          },
          "includeOffers": {
            "title": "Offers by condition",
            "type": "boolean",
            "description": "The best offer for each condition of the product (new, pre-owned, restored…): price, availability and offer id, plus the number of other sellers. Needs the product page (read with **Product details**, or opened for this option alone). Charged per offer delivered.",
            "default": false
          },
          "includeSellerProfile": {
            "title": "Seller profile",
            "type": "boolean",
            "description": "The public profile of each marketplace seller found (1 extra page per seller, read once per run): name, display name, e-mail, phone, address and 'about us' as shown by Walmart, logo, seller rating and number of seller reviews. Charged per seller profile delivered.",
            "default": false
          },
          "reviewsVerifiedOnly": {
            "title": "Verified-purchase reviews only",
            "type": "boolean",
            "description": "Only the reviews marked 'Verified Purchase'. Checked by the Actor (reviews dropped are not charged).",
            "default": false
          },
          "reviewsWithMediaOnly": {
            "title": "Reviews with photos only",
            "type": "boolean",
            "description": "Only the reviews that have photos or videos. Checked by the Actor.",
            "default": false
          },
          "reviewsExcludeSyndicated": {
            "title": "Exclude syndicated reviews",
            "type": "boolean",
            "description": "Drop the reviews Walmart copied from another site (brand site, partner shop): only the reviews written on walmart.com. Checked by the Actor.",
            "default": false
          },
          "reviewsPostedBefore": {
            "title": "Reviews posted before",
            "type": "string",
            "description": "Only the reviews posted on or before this date: `2026-10-31`, or a period before now such as `7 days`. Checked by the Actor."
          },
          "minPrice": {
            "title": "Min price",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Lowest price in US dollars (asked from Walmart)."
          },
          "maxPrice": {
            "title": "Max price",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Highest price in US dollars (asked from Walmart)."
          },
          "minRating": {
            "title": "Min rating",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "4.5"
            ],
            "type": "string",
            "description": "Only products rated at least this (4 and 3 are asked from Walmart; the others are checked by the Actor)."
          },
          "filterBrands": {
            "title": "Brands",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Only these brands, exactly as Walmart writes them (e.g. `HP`, `Great Value`). Asked from Walmart.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "new",
              "pre-owned",
              "restored"
            ],
            "type": "string",
            "description": "Only products in this condition. Checked by the Actor (Walmart ignores this filter in a search URL)."
          },
          "inStockOnly": {
            "title": "In stock only",
            "type": "boolean",
            "description": "Hide out-of-stock products (asked from Walmart).",
            "default": false
          },
          "specialOffers": {
            "title": "Special offers",
            "enum": [
              "Rollback",
              "Clearance",
              "Reduced Price"
            ],
            "type": "string",
            "description": "Only products on this kind of deal (asked from Walmart)."
          },
          "soldBy": {
            "title": "Sold by",
            "enum": [
              "Walmart",
              "Pro Sellers",
              "Marketplace Sellers fulfilled by Walmart"
            ],
            "type": "string",
            "description": "Only products sold by Walmart itself, by Pro sellers, or by marketplace sellers with delivery by Walmart (asked from Walmart)."
          },
          "deliveryTomorrow": {
            "title": "Delivery by tomorrow",
            "type": "boolean",
            "description": "Only products that can be delivered tomorrow (asked from Walmart).",
            "default": false
          },
          "inStorePickup": {
            "title": "Pickup in store",
            "type": "boolean",
            "description": "Only products available for pickup in store (asked from Walmart).",
            "default": false
          },
          "categoryId": {
            "title": "Department id",
            "pattern": "^[0-9_]*$",
            "maxLength": 100,
            "type": "string",
            "description": "Walmart department id (`cat_id` in a search URL, e.g. `3944` for Electronics): the keyword search is limited to it."
          },
          "facets": {
            "title": "Other site filters",
            "maxItems": 30,
            "uniqueItems": true,
            "type": "array",
            "description": "Any other filter of walmart.com, as `type:value` exactly as in a search URL's `facet=` (e.g. `processor_type:Intel Core i7`, `ram_memory_general:16 GB`). Several entries are all applied.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minReviews": {
            "title": "Min reviews",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Only products with at least this many customer reviews. Checked by the Actor."
          },
          "minDiscountPercent": {
            "title": "Min discount %",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Only products whose price is at least this many percent below the was price. Checked by the Actor."
          },
          "snapOnly": {
            "title": "SNAP / EBT eligible only",
            "type": "boolean",
            "description": "Only products that can be paid with SNAP / EBT. Checked by the Actor.",
            "default": false
          },
          "excludeSponsored": {
            "title": "Exclude sponsored products",
            "type": "boolean",
            "description": "Drop the sponsored (advertised) products that Walmart mixes into the results. Off = they are kept and marked `isSponsored`.",
            "default": false
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Drop the products whose title contains one of these WHOLE words (case and accents ignored): `art` drops \"Art deco\" but keeps \"Smart watch\". Several words in one entry (`hand made`) must appear together, in that order. Chinese, Japanese, Korean, Thai, Lao, Khmer and Burmese words are found anywhere in the title (no spaces there).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeKeywords": {
            "title": "Required words",
            "maxItems": 50,
            "uniqueItems": true,
            "type": "array",
            "description": "Keep only the products whose name contains at least one of these words (whole words, case ignored). Checked by the Actor.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyNew": {
            "title": "Only new products",
            "type": "boolean",
            "description": "Skip the products that a previous run (same **Memory key**) already delivered: they are not saved and not charged, and their page is not even opened. First run = everything is new.",
            "default": false
          },
          "includePriceChanges": {
            "title": "Also products whose price changed",
            "type": "boolean",
            "description": "With **Only new products**: also return the products already delivered whose price went up or down since the last time they were delivered, with the previous price and the change in % (`changeType` = `price_drop` / `price_rise`).",
            "default": false
          },
          "minPriceChangePercent": {
            "title": "Min price change %",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "With **Also products whose price changed**: a product comes back only if its price moved by at least this many % since the last time it was delivered.",
            "default": 1
          },
          "stateKey": {
            "title": "Memory key",
            "pattern": "^[a-zA-Z0-9_-]{1,64}$",
            "maxLength": 64,
            "type": "string",
            "description": "Name of the memory used by **Only new products**. Give each schedule / task its own key (e.g. `laptops-daily`) so that they do not share their memory. Letters, digits, `-` and `_`.",
            "default": "default"
          },
          "resetState": {
            "title": "Reset the memory",
            "type": "boolean",
            "description": "Forget everything remembered under this **Memory key** before the run: this run returns (and charges) every product again. Untick it afterwards.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy or your own proxies. Keep the default: it is included in the price. The residential Apify proxy is not available in this Actor.",
            "default": {
              "useApifyProxy": true
            }
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum number of requests processed in parallel.",
            "default": 8
          },
          "maxRequestsPerMinute": {
            "title": "Max requests per minute",
            "minimum": 10,
            "maximum": 2000,
            "type": "integer",
            "description": "Most requests to the site in any 60 seconds, all of them counted: results pages, product pages, review pages and seller pages. A budget, not an even pace: up to this many can leave at once when the minute starts (spread them with the minimum delay below). Lower it if the site answers HTTP 429 / 403 in the log.",
            "default": 120
          },
          "minRequestIntervalMs": {
            "title": "Min delay between requests",
            "minimum": 0,
            "maximum": 60000,
            "type": "integer",
            "description": "Smallest gap between two requests, in milliseconds. Unlike the per-minute rate, this spreads the requests evenly instead of letting them go out in a burst. 0 = no gap.",
            "default": 0
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "maximum": 20,
            "type": "integer",
            "description": "Retries per request before it is marked as failed. Behind a proxy, a request the site turns away is also retried on a new proxy session up to 10 times without using up these retries.",
            "default": 5
          },
          "debugLog": {
            "title": "Debug log",
            "type": "boolean",
            "description": "Include debug messages in the run log.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}