{
  "openapi": "3.0.1",
  "info": {
    "title": "ABC Fine Wine & Spirits Scraper",
    "description": "Scrape ABC Fine Wine & Spirits (abcfws.com). Search by keyword or browse wine/spirits/beer/RTD, filter by varietal, country, price. Get price, brand, ABV, region, size, rating, images.",
    "version": "1.0",
    "x-build-id": "L8hpeSwKXZz3q75JI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/crawlerbros~abc-fine-wine-spirits-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-crawlerbros-abc-fine-wine-spirits-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~abc-fine-wine-spirits-scraper/runs": {
      "post": {
        "operationId": "runs-sync-crawlerbros-abc-fine-wine-spirits-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~abc-fine-wine-spirits-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-crawlerbros-abc-fine-wine-spirits-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",
              "byCategory",
              "byProductUrls"
            ],
            "type": "string",
            "description": "What to fetch.",
            "default": "search"
          },
          "searchQuery": {
            "title": "Search query (mode=search)",
            "type": "string",
            "description": "Free-text product search, e.g. `cabernet`, `bourbon`, `ipa`, `tito's vodka`."
          },
          "category": {
            "title": "Category (mode=byCategory, or optional refine for mode=search)",
            "enum": [
              "",
              "Wine",
              "Wine>Shop By Type>Shop All Wine",
              "Wine>Shop By Type>Red Wine",
              "Wine>Shop By Type>White Wine",
              "Wine>Shop By Type>Sparkling Wine",
              "Wine>Shop By Type>Fortified Wine",
              "Wine>Shop By Type>Rose Wine",
              "Wine>Shop By Type>Sake",
              "Wine>Shop By Type>Non-Alcoholic Wine",
              "Wine>Shop By Varietal>Cabernet Sauvignon",
              "Wine>Shop By Varietal>Red Blends",
              "Wine>Shop By Varietal>Chardonnay",
              "Wine>Shop By Varietal>Pinot Noir",
              "Wine>Shop By Varietal>Sauvignon Blanc",
              "Wine>Shop By Varietal>Bordeaux",
              "Wine>Shop By Varietal>Pinot Grigio",
              "Wine>Shop By Varietal>Merlot",
              "Wine>Shop By Varietal>White Blends",
              "Wine>Shop By Varietal>Malbec",
              "Wine>Shop By Varietal>Moscato",
              "Wine>Shop By Varietal>Zinfandel",
              "Wine>Shop By Varietal>Riesling",
              "Wine>Shop By Varietal>Champagne",
              "Spirits",
              "Spirits>Shop By Type>Shop All Spirits",
              "Spirits>Shop By Type>Whiskey",
              "Spirits>Shop By Type>Tequila",
              "Spirits>Shop By Type>Bourbon",
              "Spirits>Shop By Type>Cordials & Liqueurs",
              "Spirits>Shop By Type>Vodka",
              "Spirits>Shop By Type>Rum",
              "Spirits>Shop By Type>Scotch",
              "Spirits>Shop By Type>Brandy & Cognac",
              "Spirits>Shop By Type>Gin",
              "Spirits>Shop By Type>Non-Alcoholic Spirits",
              "Spirits>Shop By Type>Mezcal",
              "Beer",
              "Beer>Shop By Type>Shop All Beer",
              "Beer>Shop By Type>Craft Beer",
              "Beer>Shop By Type>Imported Beer",
              "Beer>Shop By Type>Malt Beverages",
              "Beer>Shop By Type>Domestic Beer",
              "Beer>Shop By Type>Hard Ciders",
              "Beer>Shop By Type>Hard Seltzers",
              "Beer>Shop By Type>Non-Alcoholic Beer",
              "Ready To Drink",
              "Ready To Drink>Shop By Type>Shop All Ready to Drink",
              "Ready To Drink>Shop By Type>Ready to Drink Vodka Cocktails",
              "Ready To Drink>Shop By Type>Ready to Drink Tequila Cocktails",
              "Ready To Drink>Shop By Type>Ready to Drink Rum Cocktails",
              "Ready To Drink>Shop By Type>Ready to Drink Wine Cocktails",
              "Ready To Drink>Shop By Type>Ready to Drink Whiskey Cocktails",
              "Ready To Drink>Shop By Type>Non-Alcoholic Cocktails",
              "Ready To Drink>Shop By Type>Ready to Drink Gin Cocktails",
              "For The Bar",
              "For The Bar>Accessories & More",
              "For The Bar>Mixers & Other Beverages",
              "For The Bar>Food & Snacks",
              "For The Bar>Cups & Glassware",
              "For The Bar>Bitters"
            ],
            "type": "string",
            "description": "A category/sub-category from ABC's real navigation taxonomy. Required for mode=byCategory; optional as an additional filter on mode=search.",
            "default": ""
          },
          "varietal": {
            "title": "Varietal filter",
            "enum": [
              "",
              "Cabernet Sauvignon",
              "Red Blend",
              "Chardonnay",
              "Pinot Noir",
              "Sauvignon Blanc",
              "Bordeaux Blend",
              "Pinot Grigio/Pinot Gris",
              "Merlot",
              "Rose Blend",
              "White Blend",
              "Sangiovese",
              "Tempranillo",
              "Malbec",
              "Sake",
              "Moscato",
              "Zinfandel",
              "Riesling",
              "Porto",
              "Sparkling White",
              "Champagne",
              "Glera",
              "Champagne White",
              "Other Whites",
              "Sparkling Rose",
              "Shiraz/Syrah",
              "Vermouth",
              "Grenache",
              "Champagne Blend",
              "Nebbiolo",
              "Sangria",
              "Chenin Blanc",
              "Sparkling Wine",
              "Sherry",
              "Sparkling Cava",
              "Port",
              "White Zinfandel",
              "Albarino",
              "Cabernet Franc",
              "Chianti",
              "Dessert"
            ],
            "type": "string",
            "description": "Restrict to a specific wine varietal/style. Optional, combinable with searchQuery or category.",
            "default": ""
          },
          "country": {
            "title": "Country of origin filter",
            "enum": [
              "",
              "Argentina",
              "Australia",
              "Austria",
              "Brazil",
              "Bulgaria",
              "Canada",
              "Chile",
              "Denmark",
              "France",
              "Georgia",
              "Germany",
              "Greece",
              "Holland",
              "Hungary",
              "Israel",
              "Italy",
              "Japan",
              "Mexico",
              "New Zealand",
              "Portugal",
              "Romania",
              "South Africa",
              "South Korea",
              "Spain",
              "United States",
              "Uruguay"
            ],
            "type": "string",
            "description": "Restrict to products from a specific country. Optional.",
            "default": ""
          },
          "region": {
            "title": "Region filter",
            "type": "string",
            "description": "Only include products whose region/sub-region contains this text (case-insensitive), e.g. `Napa`, `Bordeaux`, `Rioja`, `Tuscany`."
          },
          "brand": {
            "title": "Brand filter",
            "type": "string",
            "description": "Only include products whose brand contains this text (case-insensitive), e.g. `Barefoot`, `Jack Daniel's`, `Tito's`. ABC carries hundreds of brands so this is free-text rather than a fixed dropdown."
          },
          "productUrls": {
            "title": "Product URLs (mode=byProductUrls)",
            "type": "array",
            "description": "abcfws.com product page URLs (e.g. `https://www.abcfws.com/bota-box-nighthawk-bourbon-barrel-cabernet/314709`) or bare numeric SKUs (e.g. `314709`).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "priceMin": {
            "title": "Min price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop products priced below this amount."
          },
          "priceMax": {
            "title": "Max price (USD)",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Drop products priced above this amount."
          },
          "inStockOnly": {
            "title": "In-stock only",
            "type": "boolean",
            "description": "Only include products currently in stock (online or in at least one store).",
            "default": false
          },
          "sourcedCertifiedOnly": {
            "title": "\"Sourced & Certified\" only",
            "type": "boolean",
            "description": "Only include products in ABC's own \"Sourced & Certified\" ethical/sustainable sourcing program.",
            "default": false
          },
          "organicOnly": {
            "title": "Organic only",
            "type": "boolean",
            "description": "Only include products labeled organic.",
            "default": false
          },
          "additiveFreeOnly": {
            "title": "Additive-free only",
            "type": "boolean",
            "description": "Only include products in ABC's \"Additive Free\" program (wines made without common winemaking additives).",
            "default": false
          },
          "newOnly": {
            "title": "New arrivals only",
            "type": "boolean",
            "description": "Only include products flagged as new arrivals in ABC's catalog.",
            "default": false
          },
          "onSaleOnly": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Only include products currently discounted below their list price (MSRP).",
            "default": false
          },
          "ratingMin": {
            "title": "Minimum rating",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Only include products with a customer rating of at least this many stars (1-5). Leave unset for no minimum."
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "featured",
              "newest",
              "mostPopular",
              "highestRated",
              "priceAsc",
              "priceDesc",
              "nameAsc",
              "nameDesc"
            ],
            "type": "string",
            "description": "Result ordering (mode=search / mode=byCategory).",
            "default": "relevance"
          },
          "fetchFullDetails": {
            "title": "Fetch full product details",
            "type": "boolean",
            "description": "For search/category results, also fetch each product's detail page for ABV, sweetness, closure type, food pairings, and a description. Slower (one extra request per product) but more complete. Always on for mode=byProductUrls.",
            "default": false
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 1000,
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}