{
  "openapi": "3.0.1",
  "info": {
    "title": "Department Store Prices: Macy's, Kohl's, Nordstrom & DICK'S",
    "description": "Compare Macy's, Kohl's, Nordstrom and DICK'S prices for shoes, jeans and sale clothing. Get prices, coupons, variants and pickup signals. $0.004/product: 100 cost $0.40, plus $0.006 per retailer collection ($0.05 for Nordstrom). Export JSON or CSV. No login.",
    "version": "1.0",
    "x-build-id": "2JotQV45KUBFGQn19"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/moggedhq~department-store-prices-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-moggedhq-department-store-prices-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/moggedhq~department-store-prices-scraper/runs": {
      "post": {
        "operationId": "runs-sync-moggedhq-department-store-prices-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/moggedhq~department-store-prices-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-moggedhq-department-store-prices-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": {
          "retailers": {
            "title": "Retailers",
            "type": "array",
            "description": "Choose macys, kohls, nordstrom or dicks. Default all four. Unknown values produce a free note. Selecting fewer retailers avoids their source work and optional setup fees.",
            "default": [
              "macys",
              "kohls",
              "nordstrom",
              "dicks"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Search the same terms at each selected retailer, for example shoes, jeans or towels. Leave empty for exact product IDs or URLs. Prices are national online prices.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Product, category or search URLs",
            "type": "array",
            "description": "Public HTTPS links from the four supported retailers. Each URL is routed only to its matching retailer. Optional; keywords work without URLs.",
            "items": {
              "type": "string"
            }
          },
          "categoryUrls": {
            "title": "Category URLs",
            "type": "array",
            "description": "Additional public category links, merged with startUrls. Use product-bearing categories; DICK'S categories need a category number.",
            "items": {
              "type": "string"
            }
          },
          "productIds": {
            "title": "Product IDs",
            "type": "array",
            "description": "Use macys:27574130, kohls:7669657, nordstrom:7998747 or dicks:22CORU10PSTRGHTWLCAT. Bare IDs work with one selected retailer. IDs are not barcodes.",
            "items": {
              "type": "string"
            }
          },
          "postalCodes": {
            "title": "ZIP codes",
            "type": "array",
            "description": "Resolve the nearest store for each retailer, for example 10001. Empty selects online-only context. Prices remain national online prices. Source-specific pickup fields are separate.",
            "items": {
              "type": "string"
            }
          },
          "locations": {
            "title": "ZIP codes alias",
            "type": "array",
            "description": "Merged with postalCodes, removing duplicates. Exact storeIds take precedence for that retailer. ZIP+4 values use the first five digits.",
            "items": {
              "type": "string"
            }
          },
          "storeIds": {
            "title": "Exact stores",
            "type": "array",
            "description": "Prefix each ID, for example macys:10 or nordstrom:210. Bare IDs work only with one selected retailer. Overrides ZIP inputs for that retailer; store identities are verified.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerRetailer": {
            "title": "Maximum rows per retailer",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Total product/store observations per retailer across sources and locations. Default 10; global maxItems also applies.",
            "default": 10
          },
          "maxItems": {
            "title": "Maximum rows in the run",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Global limit. $0.004 per Product; 40 products cost $0.16 plus applicable disclosed setup charges and platform start. The smaller of maxItems and maxResults wins.",
            "default": 40
          },
          "maxItemsPerSearch": {
            "title": "Maximum rows per source and store",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Secondary cap for each search/category at each store. Also limited by maxItemsPerRetailer and maxItems.",
            "default": 1000
          },
          "maxResults": {
            "title": "Global row cap alias",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Alias for maxItems. The smaller value wins, including when Apify adds the canonical default."
          },
          "dealsOnly": {
            "title": "Deals only",
            "type": "boolean",
            "description": "Keep source sale, clearance and conditional offers. Coupon conditions remain separate from the advertised price.",
            "default": false
          },
          "includeDetails": {
            "title": "Include details",
            "type": "boolean",
            "description": "Optional variants and product metadata. Extra page requests may be needed. Missing fields stay null. No additional detail charge.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Automatic default datacenter first, then US residential after refusal. Nordstrom uses a browser. Explicit disable, proxy groups, country or custom proxy are preserved.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}