{
  "openapi": "3.0.1",
  "info": {
    "title": "ShopGoodwill Auction & Buy-It-Now Price Tracker",
    "description": "Search ShopGoodwill auctions by keyword, browse by category or seller store, or fetch full detail for specific item IDs, and get current bid, buy-it-now price, category, seller and auction end time for each listing.",
    "version": "1.0",
    "x-build-id": "icyUTyMCvecgDFmZ7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vexaloom-labs~shopgoodwill-auction-and-buy-it-now-price-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vexaloom-labs-shopgoodwill-auction-and-buy-it-now-price-tracker",
        "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/vexaloom-labs~shopgoodwill-auction-and-buy-it-now-price-tracker/runs": {
      "post": {
        "operationId": "runs-sync-vexaloom-labs-shopgoodwill-auction-and-buy-it-now-price-tracker",
        "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/vexaloom-labs~shopgoodwill-auction-and-buy-it-now-price-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-vexaloom-labs-shopgoodwill-auction-and-buy-it-now-price-tracker",
        "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",
              "byCategory",
              "bySeller",
              "byItemIds"
            ],
            "type": "string",
            "description": "What to fetch. `search` finds live or recently sold listings by keyword; `byCategory` browses one category; `bySeller` browses one Goodwill store; `byItemIds` fetches full detail for specific item IDs or item URLs.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "description": "Free-text keyword search (mode=search). Combine with `brand` / `sizeKeyword` — ShopGoodwill has no separate brand or size facet, so these terms are ANDed into the search text.",
            "default": ""
          },
          "brand": {
            "title": "Brand keyword",
            "type": "string",
            "description": "Optional brand name ANDed into the search text (e.g. `levis`, `coach`, `nike`). Keyword narrowing, not an exact facet."
          },
          "sizeKeyword": {
            "title": "Size keyword",
            "type": "string",
            "description": "Optional size ANDed into the search text (e.g. `medium`, `size 8`, `xl`). Keyword narrowing, not an exact facet."
          },
          "categoryId": {
            "title": "Category",
            "enum": [
              "",
              "1",
              "2",
              "75",
              "79",
              "99",
              "74",
              "125",
              "126",
              "127",
              "128",
              "132",
              "220",
              "256",
              "437",
              "4",
              "105",
              "106",
              "122",
              "35",
              "36",
              "37",
              "39",
              "41",
              "42",
              "43",
              "44",
              "140",
              "230",
              "231",
              "232",
              "325",
              "326",
              "343",
              "344",
              "345",
              "367",
              "378",
              "382",
              "386",
              "390",
              "393",
              "419",
              "407",
              "434",
              "464",
              "448",
              "2227",
              "2232",
              "6",
              "436",
              "2240",
              "2241",
              "353",
              "100",
              "101",
              "102",
              "84",
              "85",
              "86",
              "87",
              "88",
              "89",
              "90",
              "91",
              "7",
              "30",
              "32",
              "183",
              "185",
              "366",
              "380",
              "465",
              "431",
              "33",
              "293",
              "294",
              "295",
              "296",
              "297",
              "298",
              "299",
              "300",
              "301",
              "302",
              "303",
              "304",
              "305",
              "306",
              "307",
              "308",
              "309",
              "310",
              "311",
              "312",
              "313",
              "314",
              "315",
              "316",
              "317",
              "318",
              "323",
              "324",
              "354",
              "443",
              "444",
              "450",
              "2207",
              "2270",
              "2271",
              "8",
              "415",
              "418",
              "446",
              "2233",
              "2186",
              "9",
              "2230",
              "2231",
              "398",
              "226",
              "121",
              "108",
              "110",
              "10",
              "137",
              "27",
              "28",
              "29",
              "169",
              "2272",
              "453",
              "1729",
              "12",
              "112",
              "13",
              "187",
              "188",
              "189",
              "190",
              "191",
              "192",
              "193",
              "466",
              "2189",
              "14",
              "328",
              "329",
              "330",
              "331",
              "332",
              "333",
              "334",
              "335",
              "15",
              "234",
              "235",
              "368",
              "116",
              "69",
              "70",
              "71",
              "72",
              "2209",
              "18",
              "20",
              "47",
              "48",
              "49",
              "56",
              "57",
              "61",
              "62",
              "63",
              "64",
              "65",
              "66",
              "67",
              "68",
              "23",
              "207",
              "460",
              "34",
              "113",
              "379",
              "447",
              "119",
              "114",
              "2228",
              "2229",
              "115",
              "170",
              "394",
              "171",
              "172",
              "173",
              "174",
              "175",
              "195",
              "240",
              "196",
              "197",
              "215",
              "424",
              "336",
              "337",
              "338",
              "339",
              "364",
              "2182",
              "427",
              "428",
              "429",
              "430",
              "468",
              "469",
              "470",
              "471",
              "2208",
              "2244",
              "2245",
              "2246",
              "2247",
              "2248",
              "2249",
              "2250",
              "2251",
              "2252",
              "2253",
              "2254",
              "2255",
              "2256",
              "2257",
              "2258",
              "2259",
              "2260",
              "2261",
              "2262",
              "2263",
              "2264",
              "2265",
              "2266",
              "2267",
              "2268"
            ],
            "type": "string",
            "description": "Browse or narrow by any of ShopGoodwill's live categories (all 33 departments and their subcategories). Leave blank for every category. In `byCategory` mode this is the primary filter; other modes use it as an optional narrowing filter.",
            "default": ""
          },
          "sellerId": {
            "title": "Seller ID (mode=bySeller)",
            "minimum": 1,
            "maximum": 999999,
            "type": "integer",
            "description": "Numeric ShopGoodwill seller/store ID, e.g. `16` (Goodwill Industries of South Florida). Found in an item's `sellerId` output field."
          },
          "itemIds": {
            "title": "Item IDs or item URLs (mode=byItemIds)",
            "type": "array",
            "description": "ShopGoodwill item IDs or full item URLs, e.g. `269254306` or `https://shopgoodwill.com/item/269254306`. Duplicates and invalid entries are ignored.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "priceMin": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 999999,
            "type": "integer",
            "description": "Drop items priced below this (current bid or buy-now price)."
          },
          "priceMax": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 999999,
            "type": "integer",
            "description": "Drop items priced above this (current bid or buy-now price)."
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "endingSoonest",
              "endingLatest",
              "priceLowToHigh",
              "priceHighToLow"
            ],
            "type": "string",
            "description": "Result ordering.",
            "default": "endingSoonest"
          },
          "buyNowOnly": {
            "title": "Buy-it-now listings only",
            "type": "boolean",
            "description": "Only include items with an active Buy-It-Now price (skip bid-only auctions).",
            "default": false
          },
          "oneCentShippingOnly": {
            "title": "One-cent shipping only",
            "type": "boolean",
            "description": "Only include items whose seller offers $0.01 shipping.",
            "default": false
          },
          "pickupOnly": {
            "title": "Local pickup listings only",
            "type": "boolean",
            "description": "Only include items offered for local pickup (skip shipped-only listings).",
            "default": false
          },
          "shippingDestination": {
            "title": "Ships to",
            "enum": [
              "any",
              "usOnly",
              "canada",
              "international"
            ],
            "type": "string",
            "description": "Keep only items whose seller ships to this destination: anywhere, US only, Canada, or international.",
            "default": "any"
          },
          "searchDescriptions": {
            "title": "Search item descriptions too",
            "type": "boolean",
            "description": "Match the query against item descriptions in addition to titles.",
            "default": false
          },
          "includeClosedAuctions": {
            "title": "Include closed/ended auctions",
            "type": "boolean",
            "description": "Search recently-ended (sold) listings instead of only live auctions — useful for sold-price research. Pair with `closedAuctionDaysBack`.",
            "default": false
          },
          "closedAuctionDaysBack": {
            "title": "Closed-auction lookback (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "How many days back to search ended/sold listings. Only used when `includeClosedAuctions` is on.",
            "default": 7
          },
          "includeDetails": {
            "title": "Enrich listing modes with item details",
            "type": "boolean",
            "description": "For search/category/seller modes, fetch each item's detail page too (one extra request per item). Adds full description, all images, seller name/address, pickup details, reserve info and bid history. Slower and heavier.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "default": 40
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}