{
  "openapi": "3.0.1",
  "info": {
    "title": "Walmart Product Details Scraper — UPC, Price & Stock",
    "description": "Turn Walmart.com product or category URLs into full product records: UPC, brand, price and was-price, unit price, seller, stock, rating counts, return policy, variants and images. For catalog enrichment and UPC price matching. $3.50 per 1,000 products on Free, plus platform usage, no proxy needed.",
    "version": "0.3",
    "x-build-id": "xicQpNoMAw4atvrPF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/peerless_columbine~independent-walmart-product-details/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-peerless_columbine-independent-walmart-product-details",
        "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/peerless_columbine~independent-walmart-product-details/runs": {
      "post": {
        "operationId": "runs-sync-peerless_columbine-independent-walmart-product-details",
        "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/peerless_columbine~independent-walmart-product-details/run-sync": {
      "post": {
        "operationId": "run-sync-peerless_columbine-independent-walmart-product-details",
        "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": "Walmart product, search or category URLs",
            "maxItems": 100,
            "uniqueItems": true,
            "type": "array",
            "description": "Main input (empty = no rows): up to 100 Walmart.com US URLs as `{\"url\": \"...\"}` objects. Product pages `https://www.walmart.com/ip/<name>/<itemId>` give one row each; category pages (`/browse/...`, `/cp/...`) and search pages (`/search?q=...`) are paged and each product found is fetched in full. Search pages are often blocked by Walmart; prefer product or category URLs. URL filters and sort are kept. Example: `https://www.walmart.com/ip/16935510`.",
            "items": {
              "type": "object",
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL",
                  "description": "Public Walmart.com US product, search or category URL."
                },
                "userData": {
                  "type": "object",
                  "title": "Request metadata",
                  "description": "Optional caller metadata accepted for request-list compatibility; it does not change collection or appear in product rows."
                }
              },
              "required": [
                "url"
              ],
              "additionalProperties": false
            },
            "default": []
          },
          "maxProductsPerStartUrl": {
            "title": "Maximum products per start URL",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum product rows saved per start URL, including separately visited variants (each row is billed). Products already saved for another start URL are skipped. `0` = no per-URL limit (page, request, time and fee limits still apply). A product URL normally gives 1 row. Allowed range: 0–10,000.",
            "default": 10
          },
          "enqueueProductVariants": {
            "title": "Visit linked variants",
            "type": "boolean",
            "description": "Also visit each linked variant (other sizes/colors) of a product and save it as its own row, within maxProductsPerStartUrl and the other limits. Leave false for one row per product; the inline variantList (variant IDs, prices, images) is included either way.",
            "default": false
          },
          "dnsMode": {
            "title": "DNS resolution",
            "enum": [
              "system",
              "google-doh"
            ],
            "type": "string",
            "description": "Advanced, leave `system`. `google-doh` resolves Walmart hostnames via Google DNS-over-HTTPS, only useful for local runs where system DNS returns fake addresses. TLS and public-IP checks stay on in both modes.",
            "default": "system"
          },
          "includeSourceProduct": {
            "title": "Retain original public product block",
            "type": "boolean",
            "description": "Include `sourceProduct`, Walmart's original raw product data block, in each row for fields not normalized elsewhere. Set false for smaller rows. Does not add review texts.",
            "default": true
          },
          "requestIntervalSecs": {
            "title": "Minimum interval between requests",
            "minimum": 0,
            "maximum": 5,
            "type": "number",
            "description": "Minimum delay in seconds between the starts of any two HTTP requests (across parallel requests, redirects and retries). 0 disables spacing. Allowed range: 0–5.",
            "default": 0.25
          },
          "useProxy": {
            "title": "Use a user-owned proxy",
            "type": "boolean",
            "description": "Optional, off by default; normally not needed. true uses proxyConfiguration, or the default Apify proxy if proxyConfiguration is not set. true/false must agree with proxyConfiguration, otherwise the run fails. Proxy fees are billed separately; paid proxies are untested.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "User-owned proxy configuration",
            "type": "object",
            "description": "Optional proxy settings, e.g. `{\"useApifyProxy\": true, \"apifyProxyGroups\": [\"RESIDENTIAL\"]}`, or your own `proxyUrls`. Enabling a proxy here while useProxy is false fails the run. Leave disabled normally; proxy traffic is billed separately.",
            "default": {
              "useApifyProxy": false
            }
          },
          "maxPagesPerStartUrl": {
            "title": "Maximum listing pages per start URL",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Category and search URLs only: maximum listing pages followed per start URL (product URLs use none). Stops are reported in the SUMMARY record of the key-value store. Allowed range: 1–25.",
            "default": 5
          },
          "maxRequests": {
            "title": "Maximum HTTP attempts across the run",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Total HTTP request budget for the run, counting listing pages, product pages, redirects and retries. Collection stops when it is used up. Stops are reported in the SUMMARY record of the key-value store. Allowed range: 1–1000.",
            "default": 150
          },
          "maxConcurrency": {
            "title": "Concurrent detail requests",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "Number of product pages fetched in parallel; rows are still saved in discovery order. Allowed range: 1–4.",
            "default": 2
          },
          "requestTimeoutSecs": {
            "title": "Per-request timeout (seconds)",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "Timeout for each HTTP request, in seconds. Allowed range: 1–25.",
            "default": 15
          },
          "maxRequestRetries": {
            "title": "Retries for transient failures",
            "minimum": 0,
            "maximum": 2,
            "type": "integer",
            "description": "Retries for transient network errors, timeouts and some server errors. Challenge pages and HTTP 403 are never retried. Allowed range: 0–2.",
            "default": 1
          },
          "maxRuntimeSecs": {
            "title": "Application deadline (seconds)",
            "minimum": 1,
            "maximum": 95,
            "type": "integer",
            "description": "Overall collection time limit in seconds; rows saved before the limit are kept. Stops are reported in the SUMMARY record of the key-value store. Allowed range: 1–95.",
            "default": 90
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}