{
  "openapi": "3.0.1",
  "info": {
    "title": "Walmart Marketplace & Seller Offers Scraper",
    "description": "Scrape Walmart search, categories, product details, ALL marketplace seller offers, and reviews. No API key needed.",
    "version": "1.2",
    "x-build-id": "eyc7tdVfomCp5i4Ne"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~walmart-marketplace-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-walmart-marketplace-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/sian.agency~walmart-marketplace-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-walmart-marketplace-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/sian.agency~walmart-marketplace-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-walmart-marketplace-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": {
          "operation": {
            "title": "🔧 Operation",
            "enum": [
              "search",
              "productsByCategory",
              "productDetails",
              "productOffers",
              "productReviews"
            ],
            "type": "string",
            "description": "🔧 **Pick ONE operation per run.**\n\n• **Product Search** — keyword search, ~41 products per page\n• **Products by Category** — browse a Walmart category\n• **Product Details** — full PDP: specs, UPC, model, image gallery, warranty\n• **Seller Offers** — EVERY marketplace seller for an item, with price, shipping and returns\n• **Product Reviews** — paginated reviews incl. Walmart's aspect-sentiment layer",
            "default": "search"
          },
          "query": {
            "title": "🔍 Search Term",
            "type": "string",
            "description": "🔍 **For the Product Search operation.** A single keyword or phrase, exactly as you would type it into Walmart's search box.\n\n💡 **TIP:** Use *Search Terms* below to run several keywords in one go — you pay one start fee instead of one per keyword.",
            "default": "coffee maker"
          },
          "queries": {
            "title": "🔍 Search Terms (bulk)",
            "type": "array",
            "description": "🔍 **Bulk search.** One keyword per line, up to 500. Overrides the single Search Term above.\n\n💰 **Cheaper:** one run = one start fee, no matter how many keywords.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "categoryId": {
            "title": "🗂️ Category ID",
            "type": "string",
            "description": "🗂️ **For the Products by Category operation.** Walmart's category id, e.g. `4044_623679_8140341`.\n\n💡 **How to find it:** open a Walmart category page — the id is the underscore-separated number in the URL, e.g. `walmart.com/browse/4044_623679_8140341`.",
            "default": ""
          },
          "categoryIds": {
            "title": "🗂️ Category IDs (bulk)",
            "type": "array",
            "description": "🗂️ **Bulk category browse.** One category id per line, up to 500. Overrides the single Category ID above.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "browsePath": {
            "title": "🗂️ Browse Path",
            "type": "string",
            "description": "🗂️ **Alternative to Category ID.** The path segment from a Walmart browse URL, e.g. `home/coffee-makers/4044_623679_8140341_5586`.",
            "default": ""
          },
          "productId": {
            "title": "📦 Product ID",
            "type": "string",
            "description": "📦 **For Product Details, Seller Offers and Product Reviews.** Walmart's item id — the number at the end of a product URL.\n\n💡 **Example:** in `walmart.com/ip/Keurig-K-Duo/13368266581` the id is `13368266581`.",
            "default": ""
          },
          "productIds": {
            "title": "📦 Product IDs (bulk)",
            "type": "array",
            "description": "📦 **Bulk product lookup.** One Walmart item id per line, up to 500. Overrides the single Product ID above.\n\n💰 **Cheaper:** one run = one start fee, no matter how many products.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "allConditions": {
            "title": "🏪 Include used & refurbished offers",
            "type": "boolean",
            "description": "🏪 **Seller Offers only.** By default only *New* offers are returned, matching what Walmart shows by default. Enable this to also pull used, refurbished and open-box offers.",
            "default": false
          },
          "reviewPages": {
            "title": "⭐ Review Pages",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "⭐ **Product Reviews only.** How many pages of reviews to fetch per product (~10 reviews per page).",
            "default": 1
          },
          "reviewSort": {
            "title": "⭐ Review Sort",
            "enum": [
              "relevancy",
              "recent",
              "rating_high_low",
              "rating_low_high",
              "helpful"
            ],
            "type": "string",
            "description": "⭐ **Product Reviews only.** How Walmart should order the reviews.",
            "default": "relevancy"
          },
          "maxPages": {
            "title": "📄 Max Pages",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "📄 **Search and Category only.** How many result pages to fetch per keyword/category (~41 products per page). Walmart caps most result sets around 13–25 pages.",
            "default": 2
          },
          "maxResults": {
            "title": "🎯 Max Results",
            "minimum": 1,
            "type": "integer",
            "description": "🎯 **Hard cap on rows.** The run stops once this many rows have been delivered. Leave empty for no cap.\n\n💰 You are only charged for rows actually returned."
          },
          "sort": {
            "title": "↕️ Sort",
            "enum": [
              "best_match",
              "price_low",
              "price_high",
              "best_seller",
              "top_rated",
              "new"
            ],
            "type": "string",
            "description": "↕️ **Search and Category only.** How Walmart should order the results.",
            "default": "best_match"
          },
          "minPrice": {
            "title": "💵 Min Price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "💵 **Search and Category only.** Only return products at or above this price."
          },
          "maxPrice": {
            "title": "💵 Max Price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "💵 **Search and Category only.** Only return products at or below this price."
          },
          "storeId": {
            "title": "📍 Store ID",
            "type": "string",
            "description": "📍 **Optional.** A Walmart store id to localise price and pickup availability. Leave empty for national pricing.",
            "default": ""
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}