{
  "openapi": "3.0.1",
  "info": {
    "title": "Dick's Sporting Goods Product Scraper",
    "description": "Scrape Dick's Sporting Goods products — price, discount, ratings, reviews, images, colors, specs & availability. Search by keyword or URL with filters for brand, sport, gender & price. Clean JSON/CSV, no code.",
    "version": "1.0",
    "x-build-id": "yPaj55S1nJlJjXSnY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sian.agency~dicks-sporting-goods-product-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sian.agency-dicks-sporting-goods-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/sian.agency~dicks-sporting-goods-product-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sian.agency-dicks-sporting-goods-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/sian.agency~dicks-sporting-goods-product-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sian.agency-dicks-sporting-goods-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": {
          "keywords": {
            "title": "🔎 Search Keywords",
            "type": "array",
            "description": "🔎 **KEYWORD SEARCH (Overview mode):** Free-text Dick's searches — one product family per dataset row.\n\n📝 **How to use:** Add one keyword per line (e.g. `running shoes`, `basketball`, `yoga mat`). Each keyword runs as its own search and every match is merged into a single dataset.\n\n💡 **TIP:** Combine with the filters below (brand, gender, price…) to narrow each search.\n\n🎯 For a known list of products, switch **Scrape Mode** to Detail and paste PDP links under **Product URLs**.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "scrapeMode": {
            "title": "⚙️ Scrape Mode",
            "enum": [
              "overview",
              "detail"
            ],
            "type": "string",
            "description": "⚙️ **How the actor runs:**\n\n- **⚡ Overview** — fast bulk search; returns full product cards (price, ratings, colors, images, specs) for every match. Best for catalog-wide scans.\n- **🎯 Detail** — targeted per-product records with best-effort per-size stock. Best for a known list of Product URLs.\n\nProduct URLs are always returned with Detail enrichment regardless of this setting.",
            "default": "overview"
          },
          "sort": {
            "title": "🔀 Sort Order",
            "enum": [
              "best_match",
              "price_low",
              "price_high",
              "top_rated",
              "newest"
            ],
            "type": "string",
            "description": "🔀 Order results using Dick's own native sort options. Applies to keyword and search-URL runs.",
            "default": "best_match"
          },
          "brand": {
            "title": "🏷️ Brand",
            "type": "string",
            "description": "🏷️ Restrict to a single brand using Dick's own brand facet (e.g. `Nike`, `adidas`, `HOKA`). Leave blank for all brands."
          },
          "gender": {
            "title": "🚻 Gender",
            "type": "string",
            "description": "🚻 Filter by the gender facet (e.g. `Men's`, `Women's`, `Boys'`, `Girls'`). Leave blank for all."
          },
          "activity": {
            "title": "🏃 Activity / Sport",
            "type": "string",
            "description": "🏃 Filter by the activity / sport facet (e.g. `Running`, `Basketball`, `Training`). Leave blank for all."
          },
          "color": {
            "title": "🎨 Color",
            "type": "string",
            "description": "🎨 Filter by the color facet (e.g. `Black`, `White`, `Blue`). Leave blank for all colors."
          },
          "minPrice": {
            "title": "💵 Min Price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "💵 Only return products at or above this price (USD). Leave blank for no lower bound."
          },
          "maxPrice": {
            "title": "💵 Max Price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "💵 Only return products at or below this price (USD). Leave blank for no upper bound."
          },
          "onSale": {
            "title": "🏷️ On Sale Only",
            "type": "boolean",
            "description": "🏷️ **On sale only** — restrict results to items currently discounted.",
            "default": false
          },
          "category": {
            "title": "🗂️ Category (Advanced)",
            "type": "string",
            "description": "🗂️ **ADVANCED:** A Dick's `facetCatgroup` value to scope results to a category (e.g. `12301_202102` = Shoes). Applied on top of a keyword. Leave blank unless you know the exact facet id."
          },
          "searchUrls": {
            "title": "🔗 Dick's Search URLs (Advanced)",
            "type": "array",
            "description": "🔗 **ADVANCED:** Paste Dick's search/result URLs (e.g. `?searchTerm=…` or `?q=…`) to scrape them directly — one per line. Filters and sort above still apply where compatible.",
            "items": {
              "type": "string"
            }
          },
          "productUrls": {
            "title": "🔗 Dick's Product URLs (Advanced)",
            "type": "array",
            "description": "🔗 **ADVANCED (Detail):** Paste Dick's product (PDP) URLs to fetch each product directly — one per line. These are always returned with Detail enrichment (best-effort per-size stock).",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "🔢 Max Results",
            "minimum": 1,
            "type": "integer",
            "description": "🔢 Maximum number of products to return across all inputs.\n\n- **FREE users:** up to 25\n- **PAID users:** unlimited\n\nDefaults to 100.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}