{
  "openapi": "3.0.1",
  "info": {
    "title": "Academy Sports Scraper",
    "description": "Scrape Academy Sports + Outdoors - one of the largest US sporting goods retailers. Search by keyword, browse fishing, hunting, footwear, clothing, camping, fitness and fan-shop categories, or fetch product pages by URL. Get names, brands, prices, ratings, specs, images and availability.",
    "version": "1.0",
    "x-build-id": "bQu3XBuUE8YoxzvhF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~academy-sports-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-academy-sports-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/crawlerbros~academy-sports-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-academy-sports-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/crawlerbros~academy-sports-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-academy-sports-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "browseByCategory",
              "byUrl"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text query, e.g. `nike running shoes`, `fishing rod`, `cooler` (mode=search).",
            "default": "nike running shoes"
          },
          "categoryPath": {
            "title": "Category path",
            "enum": [
              "outdoors > fishing",
              "outdoors > hunting",
              "outdoors > shooting",
              "outdoors > camping--outdoors",
              "outdoors > coolers",
              "outdoors > tailgate",
              "outdoors > boating",
              "outdoors > grills--outdoor-cooking",
              "outdoors > bike-shop",
              "outdoors > knives--blades",
              "mens > mens-apparel",
              "mens > mens-footwear",
              "mens > mens-accessories",
              "mens > mens-big-tall-shop",
              "mens > mens-camo-clothing",
              "womens > womens-apparel",
              "womens > womens-footwear",
              "womens > womens-accessories",
              "womens > womens-swimsuits--cover-ups",
              "womens > womens-plus-size-clothing",
              "kids > kids-shoes",
              "kids > boys-apparel",
              "kids > girls-apparel",
              "kids > kids-sports",
              "kids > infant-toddler-clothing",
              "footwear > athletic-shoes-sneakers",
              "footwear > cleats",
              "footwear > boots",
              "footwear > casual-boat-shoes",
              "footwear > shoes-by-sport",
              "apparel > denim-shop",
              "fan-shop > nfl",
              "fan-shop > nba",
              "fan-shop > mlb",
              "fan-shop > nhl",
              "fan-shop > ncaa",
              "fan-shop > fan-shop-brands",
              "fan-shop > fan-shop-jerseys",
              "fan-shop > tailgate-for-the-fan",
              "sports > baseball",
              "sports > football",
              "sports > basketball",
              "sports > soccer",
              "sports > golf",
              "sports > tennis-racquet-sports",
              "sports > boxing--mma",
              "fitness > cardio-equipment--machines",
              "fitness > weight--strength-training",
              "fitness > toning",
              "fitness > nutrition--supplements",
              "home-backyard > outdoor-living",
              "home-backyard > pools",
              "home-backyard > water-sports",
              "home-backyard > toys",
              "shops > flash-sale",
              "shops > promo-offers",
              "shops > get-outside-with-academy",
              "shops > back-to-school",
              "shops > gift-guide",
              "shops > trending",
              "shops > essential-products",
              "shops > online-only-sale",
              "shops > workwear-clothing-boots",
              "shops > for-the-runner",
              "shops > winter",
              "shops > fun-in-the-sun",
              "shops > all-accessories",
              "brands > nike-brand-shop",
              "brands > adidas",
              "brands > under-armour",
              "brands > carhartt-brand-shop",
              "brands > columbia",
              "brands > magellan",
              "brands > 47-brand",
              "brands > jordan",
              "brands > bcg",
              "brands > yeti",
              "brands > brooks",
              "brands > crocs-brand-shop",
              "brands > ariat",
              "brands > wilson-sporting-goods",
              "brands > berkley-fishing",
              "brands > hornady",
              "academy-clearance > clothing-shoes-clearance",
              "academy-clearance > mens-clearance-apparel-shoes",
              "academy-clearance > womens-clearance-apparel-shoes",
              "academy-clearance > sports-gear-clearance",
              "academy-clearance > outdoors-clearance--1",
              "hot-deals > hunting-outdoors",
              "hot-deals > hot-deals-on-sports-gear",
              "backpack > school-backpacks",
              "bags > clear-stadium-bags-totes",
              "bags > gym-bags",
              "bags > gear--duffel-bags"
            ],
            "type": "string",
            "description": "Curated Academy category, e.g. `outdoors > fishing` (mode=browseByCategory).",
            "default": "outdoors > fishing"
          },
          "urls": {
            "title": "Product URLs (mode=byUrl)",
            "type": "array",
            "description": "Academy product page URLs, e.g. `https://www.academy.com/p/yeti-roadie-8-hard-cooler`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "brand": {
            "title": "Brands",
            "type": "array",
            "description": "Keep only products from these brands.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "dealType": {
            "title": "Deal type",
            "enum": [
              "",
              "Clearance",
              "Hot Deal",
              "Online Only",
              "New",
              "Price Drop",
              "Everyday Value",
              "Ships to Store"
            ],
            "type": "string",
            "description": "Keep only products with this deal tag (e.g. `Clearance`, `Hot Deal`, `Price Drop`).",
            "default": ""
          },
          "minPrice": {
            "title": "Minimum price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Drop products whose starting price is below this."
          },
          "maxPrice": {
            "title": "Maximum price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "number",
            "description": "Drop products whose maximum price is above this."
          },
          "minRating": {
            "title": "Minimum rating",
            "minimum": 1,
            "maximum": 5,
            "type": "number",
            "description": "Keep only products rated at least this (1-5)."
          },
          "containsKeyword": {
            "title": "Keyword in name/description",
            "type": "string",
            "description": "Keep only products whose name or description contains this text (case-insensitive)."
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "priceAsc",
              "priceDesc",
              "topRated",
              "topSeller",
              "newArrival"
            ],
            "type": "string",
            "description": "Result ordering.",
            "default": "relevance"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}