{
  "openapi": "3.0.1",
  "info": {
    "title": "Walmart Product Reviews Scraper: US, Canada & Mexico",
    "description": "Walmart customer reviews from walmart.com, walmart.ca and walmart.com.mx: rating, text, date, nickname, badges, votes, photos, brand reply, variant, aspects, plus the star split and Walmart's AI summary. Product, search or seller links or ids. Past 10,000 a view. No login. Misses free.",
    "version": "0.1",
    "x-build-id": "cqlZRrw0hrIYhAqRy"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~walmart-reviews-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-walmart-reviews-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/hyperbach~walmart-reviews-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-walmart-reviews-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/hyperbach~walmart-reviews-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-walmart-reviews-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": "Product, review or list URLs, or item ids",
            "maxItems": 5000,
            "type": "array",
            "description": "One value a line: a product URL (walmart.com/ip/<name>/<id>, walmart.ca/en/ip/<name>/<id>, walmart.com.mx/ip/<name>/<id>), a reviews URL (walmart.com/reviews/product/<id>, walmart.ca/fr/reviews/product/<id>, walmart.com.mx/opiniones/productos/<id>), a bare item id (read on the Country site below; walmart.ca's 12-character ids too), or a search, category or seller URL whose products are read. A value that names nothing gets a free row that says why.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Search words",
            "maxItems": 500,
            "type": "array",
            "description": "Search words, one search a line, on the Country site below; each search gives up to 'Products per search' products, and each product's reviews are read as for a product URL.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country site (for item ids and search words)",
            "enum": [
              "US",
              "CA",
              "MX"
            ],
            "type": "string",
            "description": "The Walmart site a bare item id or a search is read on. A URL names its own site.",
            "default": "US"
          },
          "language": {
            "title": "walmart.ca language",
            "enum": [
              "en",
              "fr"
            ],
            "type": "string",
            "description": "walmart.ca's English or French view. Each view lists its own reviews (the French view of a product can list fewer). A walmart.ca URL with /en/ or /fr/ names its own.",
            "default": "en"
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most reviews read for each product, exact (rows, not pages); 0 = every review the view lists. One view of Walmart lists at most 10,000 reviews: turn on 'Read past 10,000' to go further.",
            "default": 100
          },
          "sort": {
            "title": "Sort",
            "enum": [
              "relevancy",
              "helpful",
              "submission-desc",
              "submission-asc",
              "rating-desc",
              "rating-asc"
            ],
            "type": "string",
            "description": "The order Walmart lists the reviews in. A date floor ('Reviews since') stops early only on newest first.",
            "default": "relevancy"
          },
          "stars": {
            "title": "Stars",
            "type": "array",
            "description": "Only reviews with these star ratings, one number from 1 to 5 a line (for example 1 and 2 for the critical ones). Empty = every rating.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "verifiedOnly": {
            "title": "Verified purchases only",
            "type": "boolean",
            "description": "Only reviews Walmart marks as a verified purchase.",
            "default": false
          },
          "aspect": {
            "title": "Aspect",
            "type": "string",
            "description": "Only reviews that talk about one aspect of the product: its name as Walmart shows it on the product (for example Picture Quality, Durability) or its id. The product row lists every aspect with its count.",
            "default": ""
          },
          "reviewsSince": {
            "title": "Reviews since",
            "type": "string",
            "description": "Only reviews written on or after this day: a date (YYYY-MM-DD) or a window such as 30 days, 6 months, 1 year. With 'Newest first' the read stops at the first older review, so a scheduled run gets only the new ones.",
            "default": ""
          },
          "startPage": {
            "title": "Start page",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Start the read at this page of the view (50 reviews a page): to resume an earlier read.",
            "default": 1
          },
          "allReviews": {
            "title": "Read past 10,000 (star views)",
            "type": "boolean",
            "description": "Walmart lists at most 10,000 reviews in one view. On: a product that lists 10,000 is read again by its five star views (and a full star view in the other date order too), deduplicated by review id, to reach the reviews past 10,000.",
            "default": false
          },
          "maxProductsPerSearch": {
            "title": "Products per search or list",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "The most products a search, category or seller URL (or search words) gives; their reviews are read as for a product URL. 0 = every product the list pages show.",
            "default": 20
          },
          "minProductRating": {
            "title": "Min product rating",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Skip a product whose average rating is under this (0 to 5). A skipped product gets a free row with the reason.",
            "default": 0
          },
          "minProductReviews": {
            "title": "Min product ratings",
            "minimum": 0,
            "type": "integer",
            "description": "Skip a product with fewer ratings than this.",
            "default": 0
          },
          "includeProductDetails": {
            "title": "Add product details",
            "type": "boolean",
            "description": "Also read each product's own page for its brand, UPC, model, specifications, every image and the description (one more page a product), on the product row.",
            "default": false
          },
          "includeReviewerNames": {
            "title": "Include the reviewer's nickname",
            "type": "boolean",
            "description": "The reviewer's public Walmart nickname and author id on each review row. Off: both are empty.",
            "default": true
          },
          "maxItems": {
            "title": "Max results (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most charged rows (reviews) of the whole run; 0 = no cap beyond your charge limit. Product and search rows are free and not counted.",
            "default": 0
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "maxLength": 2000,
            "type": "string",
            "description": "A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}