{
  "openapi": "3.0.1",
  "info": {
    "title": "Walmart Scraper",
    "description": "Walmart scraper API for products, prices, reviews and sellers, from search words, category links, product links or item ids: price, was price, rating, review count, seller, stock and delivery date. Turn on details for the UPC, specs, images and other sellers' offers. $0.56 per 1,000 products.",
    "version": "0.1",
    "x-build-id": "NSF4CivErUZKRJgs1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dami_studio~walmart-product-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dami_studio-walmart-product-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/dami_studio~walmart-product-scraper/runs": {
      "post": {
        "operationId": "runs-sync-dami_studio-walmart-product-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/dami_studio~walmart-product-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-dami_studio-walmart-product-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": {
          "searchQueries": {
            "title": "Search words",
            "type": "array",
            "description": "What you'd type into Walmart's search box, one search per line. Each search is read page by page, 40 products a page.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Walmart links or item ids",
            "type": "array",
            "description": "Walmart search links (walmart.com/search?q=...), category links (walmart.com/browse/...) and product links (walmart.com/ip/...), the same from walmart.ca, or bare item ids such as 18611919209 (walmart.ca ids look like 5MJDBLPE0UDE). A pasted search or category link keeps the filters and sort it already has; the filter fields below apply to the search words.",
            "items": {
              "type": "string"
            }
          },
          "site": {
            "title": "Walmart site",
            "enum": [
              "us",
              "ca-en",
              "ca-fr"
            ],
            "type": "string",
            "description": "Where the search words and bare item ids are read. A pasted link keeps the site and language it names. walmart.ca prices are in Canadian dollars.",
            "default": "us"
          },
          "maxItemsPerSearch": {
            "title": "Products per search",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "The most products to take from each search or pasted listing link. Walmart lists up to 40 a page.",
            "default": 40
          },
          "maxItems": {
            "title": "Products in total",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The most products for the whole run, across every search, link and item id. Reviews don't count toward it.",
            "default": 1000
          },
          "startPage": {
            "title": "Start at page",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Begin each search and pasted listing link at this page of Walmart's results, for example 3 to skip the first two pages.",
            "default": 1
          },
          "sort": {
            "title": "Sort by",
            "enum": [
              "best_match",
              "price_low",
              "price_high",
              "best_seller",
              "rating_high",
              "new"
            ],
            "type": "string",
            "description": "The order Walmart lists the products of a search in. walmart.ca sorts by best match or price.",
            "default": "best_match"
          },
          "minPrice": {
            "title": "Minimum price ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Only products at this price or above, in whole dollars (Canadian dollars on walmart.ca)."
          },
          "maxPrice": {
            "title": "Maximum price ($)",
            "minimum": 1,
            "type": "integer",
            "description": "Only products at this price or below, in whole dollars (Canadian dollars on walmart.ca)."
          },
          "brands": {
            "title": "Brands",
            "type": "array",
            "description": "Only these brands, spelled the way Walmart's brand filter shows them (for example HP, Ninja, Great Value). Several brands get products of any of them.",
            "items": {
              "type": "string"
            }
          },
          "minRating": {
            "title": "Customer rating",
            "enum": [
              "4",
              "3"
            ],
            "type": "string",
            "description": "Only products rated this well or better."
          },
          "inStockOnly": {
            "title": "In stock only",
            "type": "boolean",
            "description": "Leave out products Walmart shows as out of stock.",
            "default": false
          },
          "soldByWalmart": {
            "title": "Sold by Walmart only",
            "type": "boolean",
            "description": "Only products Walmart sells itself, not marketplace sellers.",
            "default": false
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "new",
              "restored",
              "pre-owned"
            ],
            "type": "string",
            "description": "Only new, restored or pre-owned products, on walmart.com searches."
          },
          "facets": {
            "title": "Other Walmart filters",
            "type": "array",
            "description": "Any other filter Walmart shows beside a search, written as name:value the way it appears in a Walmart search link after facet=, for example ram_memory_general:8GB or special_offers:Rollback. Several are all applied.",
            "items": {
              "type": "string"
            }
          },
          "includeDetails": {
            "title": "Full product details",
            "type": "boolean",
            "description": "Open each product's own page as well: UPC, model, every image, the long description, specifications, highlights, star breakdown, seller rating, variants with their prices, return policy and warranty. Billed as a product with details instead of a plain product. Products from links and item ids always come with details.",
            "default": false
          },
          "includeVariants": {
            "title": "Variants as their own rows",
            "type": "boolean",
            "description": "Also give each product's other variants (every colour, size or pack Walmart lists for it) as their own full rows, each read from its own page and billed as a product with details. Turns on Full product details.",
            "default": false
          },
          "maxVariantsPerProduct": {
            "title": "Variants per product",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "The most other variants to give for each product when Variants as their own rows is on.",
            "default": 25
          },
          "includeOffers": {
            "title": "Every seller's offer",
            "type": "boolean",
            "description": "Also give each walmart.com product's offers from every seller, one row per offer: seller, price, condition, stock, delivery dates and fees, returns. Billed per offer.",
            "default": false
          },
          "maxReviewsPerProduct": {
            "title": "Reviews per product",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Also collect up to this many customer reviews for each product, one row per review. 0 leaves reviews out.",
            "default": 0
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "relevancy",
              "submission-desc",
              "submission-asc",
              "rating-desc",
              "rating-asc",
              "helpful"
            ],
            "type": "string",
            "description": "Which reviews come first.",
            "default": "relevancy"
          },
          "reviewRatings": {
            "title": "Review stars",
            "type": "array",
            "description": "Only reviews with these star ratings. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "5",
                "4",
                "3",
                "2",
                "1"
              ],
              "enumTitles": [
                "5 stars",
                "4 stars",
                "3 stars",
                "2 stars",
                "1 star"
              ]
            }
          },
          "verifiedOnly": {
            "title": "Verified purchases only",
            "type": "boolean",
            "description": "Only reviews Walmart marks as a verified purchase.",
            "default": false
          },
          "includeReviewerDetails": {
            "title": "Reviewer names and photos",
            "type": "boolean",
            "description": "Include each reviewer's nickname and badges and the photos they posted. Left off, those fields come back empty.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Leave it empty and the run picks its own way in."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}