{
  "openapi": "3.0.1",
  "info": {
    "title": "StorageTreasures Auctions Scraper",
    "description": "Scrape StorageTreasures.com self-storage unit auctions - browse active or upcoming lien/charity/manager-special auctions nationwide, filter by state, city, zip, category, unit size or keyword, look up specific auctions or facilities by ID, and track in-person live auction events.",
    "version": "1.0",
    "x-build-id": "RYxeBIzg6JronUDa5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~storagetreasures-auctions-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-storagetreasures-auctions-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~storagetreasures-auctions-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-storagetreasures-auctions-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~storagetreasures-auctions-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-storagetreasures-auctions-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",
              "byAuctionIds",
              "byFacilityId",
              "liveAuctions"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "auctionStatus": {
            "title": "Auction status (mode=search)",
            "enum": [
              "active",
              "upcoming"
            ],
            "type": "string",
            "description": "Active auctions are currently open for bidding. Upcoming (\"coming soon\") auctions have been posted but bidding has not opened yet.",
            "default": "active"
          },
          "auctionIds": {
            "title": "Auction IDs (mode=byAuctionIds)",
            "type": "array",
            "description": "Numeric StorageTreasures auction IDs, e.g. `6433218`. Found in each auction's URL.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "facilityId": {
            "title": "Facility ID (mode=byFacilityId)",
            "type": "string",
            "description": "Numeric StorageTreasures facility ID, e.g. `117100`. Found in the facility page URL (`/facilities/homepage/{id}`)."
          },
          "keyword": {
            "title": "Keyword (mode=search)",
            "type": "string",
            "description": "Free-text search against each unit's listed contents description (e.g. `furniture`, `tools`, `vehicle`)."
          },
          "auctionTypes": {
            "title": "Auction types (mode=search)",
            "type": "array",
            "description": "Restrict to one or more auction types. Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "2",
                "3"
              ],
              "enumTitles": [
                "Lien Unit",
                "Non-Lien Unit / Manager Special",
                "Charity Unit"
              ]
            },
            "default": []
          },
          "categories": {
            "title": "Unit content categories (mode=search)",
            "type": "array",
            "description": "Restrict to units whose contents were tagged with one or more of these categories. Leave empty for all categories.",
            "items": {
              "type": "string",
              "enum": [
                "1",
                "12",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "10",
                "11",
                "13",
                "14",
                "15",
                "16",
                "17",
                "18",
                "19",
                "20",
                "21",
                "22",
                "23",
                "24",
                "25",
                "26",
                "27",
                "28",
                "29",
                "30"
              ],
              "enumTitles": [
                "Appliances",
                "Arms",
                "Books",
                "Boxes",
                "Cabinets & Shelves",
                "Clothing & Shoes",
                "Collectibles",
                "Computers",
                "Dishes & Kitchenware",
                "Documents & Files",
                "Electronics",
                "Food & Beverages",
                "Health & Wellness",
                "Heavy Equipment",
                "Household Furniture",
                "Jewelry",
                "Lamps",
                "Mattress & Bedding",
                "Memorabilia",
                "Mirrors",
                "Motor Vehicles & Parts",
                "Movies, Music & Books",
                "New Merchandise",
                "Office Equipment",
                "Old Stuff",
                "Personal Effects",
                "Sports & Outdoors",
                "Tools & Supplies",
                "Toys, Baby & Games",
                "Wall Art"
              ]
            },
            "default": []
          },
          "state": {
            "title": "State (mode=search)",
            "enum": [
              "AL",
              "AK",
              "AZ",
              "AR",
              "CA",
              "CO",
              "CT",
              "DE",
              "DC",
              "FL",
              "GA",
              "HI",
              "ID",
              "IL",
              "IN",
              "IA",
              "KS",
              "KY",
              "LA",
              "ME",
              "MD",
              "MA",
              "MI",
              "MN",
              "MS",
              "MO",
              "MT",
              "NE",
              "NV",
              "NH",
              "NJ",
              "NM",
              "NY",
              "NC",
              "ND",
              "OH",
              "OK",
              "OR",
              "PA",
              "RI",
              "SC",
              "SD",
              "TN",
              "TX",
              "UT",
              "VT",
              "VA",
              "WA",
              "WV",
              "WI",
              "WY",
              "PR"
            ],
            "type": "string",
            "description": "Restrict results to a single US state / territory."
          },
          "city": {
            "title": "City (mode=search)",
            "type": "string",
            "description": "Restrict results to a single city name (case-insensitive exact match, e.g. `Dallas`)."
          },
          "zipcode": {
            "title": "ZIP code (mode=search)",
            "type": "string",
            "description": "Restrict results to a 5-digit US ZIP code (matches ZIP+4 listings too)."
          },
          "minCurrentBid": {
            "title": "Min current bid (USD)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop auctions whose current bid is below this amount."
          },
          "maxCurrentBid": {
            "title": "Max current bid (USD)",
            "minimum": 0,
            "maximum": 1000000,
            "type": "integer",
            "description": "Drop auctions whose current bid is above this amount."
          },
          "minUnitWidth": {
            "title": "Min unit width (ft)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Drop units narrower than this width in feet."
          },
          "maxUnitWidth": {
            "title": "Max unit width (ft)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Drop units wider than this width in feet."
          },
          "minUnitLength": {
            "title": "Min unit length (ft)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Drop units shorter than this length in feet."
          },
          "maxUnitLength": {
            "title": "Max unit length (ft)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Drop units longer than this length in feet."
          },
          "sortBy": {
            "title": "Sort by (mode=search)",
            "enum": [
              "endingSoon",
              "endingLatest",
              "newlyListed",
              "highestBid",
              "lowestBid",
              "mostBids",
              "mostViewed",
              "largestUnit",
              "smallestUnit"
            ],
            "type": "string",
            "description": "Server-side sort order applied before filtering and pagination.",
            "default": "endingSoon"
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}