{
  "openapi": "3.0.1",
  "info": {
    "title": "BizBuySell Scraper",
    "description": "Scrape BizBuySell businesses for sale and franchises with full details on every listing: asking price, cash flow, revenue, EBITDA, price multiples, broker name & phone, address, photos and more. Paste any BizBuySell URL or search by state, industry and financials. Not affiliated with BizBuySell.",
    "version": "0.1",
    "x-build-id": "0v19YtjJdYhLWsNiI"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/alkausari_mujahid~bizbuysell-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-alkausari_mujahid-bizbuysell-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/alkausari_mujahid~bizbuysell-scraper/runs": {
      "post": {
        "operationId": "runs-sync-alkausari_mujahid-bizbuysell-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/alkausari_mujahid~bizbuysell-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-alkausari_mujahid-bizbuysell-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": {
          "startUrls": {
            "title": "BizBuySell URLs",
            "type": "array",
            "description": "Any BizBuySell page you can browse: search results, state/city/county/industry pages, filtered searches (with ?q=), single business listings, and the franchise directory, franchise categories or franchise brand pages. Mix as many as you like; duplicates are removed. Leave empty to search with the filters below only.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Search listing titles and descriptions, e.g. \"laundromat\", \"HVAC\" or \"coffee shop\"."
          },
          "states": {
            "title": "States / provinces",
            "type": "array",
            "description": "Only listings located in these US states or Canadian provinces. Leave empty for everywhere.",
            "items": {
              "type": "string",
              "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",
                "AB",
                "BC",
                "MB",
                "NB",
                "NL",
                "NS",
                "NT",
                "NU",
                "ON",
                "PE",
                "QC",
                "SK",
                "YT"
              ],
              "enumTitles": [
                "Alabama",
                "Alaska",
                "Arizona",
                "Arkansas",
                "California",
                "Colorado",
                "Connecticut",
                "Delaware",
                "District of Columbia",
                "Florida",
                "Georgia",
                "Hawaii",
                "Idaho",
                "Illinois",
                "Indiana",
                "Iowa",
                "Kansas",
                "Kentucky",
                "Louisiana",
                "Maine",
                "Maryland",
                "Massachusetts",
                "Michigan",
                "Minnesota",
                "Mississippi",
                "Missouri",
                "Montana",
                "Nebraska",
                "Nevada",
                "New Hampshire",
                "New Jersey",
                "New Mexico",
                "New York",
                "North Carolina",
                "North Dakota",
                "Ohio",
                "Oklahoma",
                "Oregon",
                "Pennsylvania",
                "Rhode Island",
                "South Carolina",
                "South Dakota",
                "Tennessee",
                "Texas",
                "Utah",
                "Vermont",
                "Virginia",
                "Washington",
                "West Virginia",
                "Wisconsin",
                "Wyoming",
                "Alberta (Canada)",
                "British Columbia (Canada)",
                "Manitoba (Canada)",
                "New Brunswick (Canada)",
                "Newfoundland and Labrador (Canada)",
                "Nova Scotia (Canada)",
                "Northwest Territories (Canada)",
                "Nunavut (Canada)",
                "Ontario (Canada)",
                "Prince Edward Island (Canada)",
                "Quebec (Canada)",
                "Saskatchewan (Canada)",
                "Yukon (Canada)"
              ]
            }
          },
          "categories": {
            "title": "Industries",
            "type": "array",
            "description": "Only listings in these industries. Pick a whole industry (e.g. \"Restaurants & Food\") or a specific sub-industry (e.g. \"Restaurants & Food › Pizza Restaurants\"). Leave empty for all industries.",
            "items": {
              "type": "string",
              "enum": [
                "agriculture-businesses",
                "greenhouses",
                "tree-farms-and-orchards",
                "vineyards-and-wineries",
                "other-agriculture-businesses",
                "automotive-and-boat-businesses",
                "auto-repair-and-service-shops",
                "car-dealerships",
                "car-washes",
                "equipment-rental-and-dealers",
                "gas-stations",
                "junk-and-salvage-yards",
                "marine-boat-services-and-dealers",
                "tire-stores",
                "towing-companies",
                "truck-stops",
                "other-automotive-and-boat-businesses",
                "beauty-and-personal-care-businesses",
                "hair-salons-and-barber-shops",
                "massage-businesses",
                "nail-salons",
                "spas",
                "tanning-salons",
                "tattoo-and-body-piercing-businesses",
                "other-beauty-and-personal-care-businesses",
                "building-and-construction-businesses",
                "building-material-and-hardware-stores",
                "carpet-and-flooring-businesses",
                "concrete-businesses",
                "electrical-and-mechanical-contracting-businesses",
                "hvac-businesses",
                "heavy-construction-businesses",
                "insulation-businesses",
                "painting-finishing-contractor-businesses",
                "plumbing-businesses",
                "roofing-businesses",
                "other-building-and-construction-businesses",
                "business-classifieds",
                "auction-classifieds",
                "business-connections-classifieds",
                "business-services-classifieds",
                "capital-to-invest-classifieds",
                "financing-bus-loans-classifieds",
                "foreign-connections-classifieds",
                "internet-services-classifieds",
                "legal-services-classifieds",
                "marketing-services-classifieds",
                "professional-services-classifieds",
                "wanted-classifieds",
                "miscellaneous-classifieds",
                "communication-and-media-businesses",
                "magazines-and-newspapers",
                "production-companies",
                "other-communication-and-media-businesses",
                "education-and-child-related-businesses",
                "day-care-and-child-care-centers",
                "preschools",
                "schools",
                "tutoring-test-prep-businesses",
                "other-education-and-children-businesses",
                "entertainment-and-recreation-businesses",
                "art-galleries",
                "banquet-halls",
                "bowling-alleys",
                "casinos",
                "golf-courses-and-service-businesses",
                "marinas-and-fishing-businesses",
                "nightclubs-and-theaters",
                "other-entertainment-and-recreation-businesses",
                "financial-services-businesses",
                "accounting-businesses-and-tax-practices",
                "banking-and-loan-businesses",
                "check-cashing-businesses",
                "insurance-agencies",
                "other-financial-services-businesses",
                "health-care-and-fitness-businesses",
                "assisted-living-and-nursing-homes",
                "chiropractic-practices",
                "dance-pilates-and-yoga-studios",
                "dental-practices",
                "gyms-and-fitness-centers",
                "home-health-care-businesses",
                "medical-practices",
                "medical-transportation-businesses",
                "optometry-practices",
                "physical-therapy-practices",
                "other-health-care-and-fitness-businesses",
                "manufacturing-businesses",
                "auto-boat-and-aircraft-manufacturers",
                "chemical-and-related-product-manufacturers",
                "clothing-and-fabric-manufacturers",
                "electronic-and-electrical-equipment-manufacturers",
                "energy-and-petroleum-production-businesses",
                "food-and-related-product-manufacturers",
                "furniture-and-fixtures-manufacturers",
                "glass-stone-and-concrete-manufacturers",
                "industrial-and-commercial-machinery-manufacturers",
                "lumber-and-wood-products-manufacturers",
                "machine-shops-and-tool-manufacturers",
                "medical-device-and-product-manufacturers",
                "metal-product-manufacturers",
                "mining-businesses",
                "packaging-businesses",
                "paper-manufacturers-and-printing-businesses",
                "rubber-and-plastic-products-manufacturers",
                "sign-manufacturers-and-businesses",
                "other-manufacturing-businesses",
                "non-classifiable-establishments",
                "all-non-classifiable-establishments",
                "online-and-technology-businesses",
                "cell-phone-and-computer-repair-and-service-businesses",
                "graphic-and-web-design-businesses",
                "it-and-software-service-businesses",
                "software-and-app-companies",
                "websites-and-ecommerce-businesses",
                "other-online-and-technology-businesses",
                "pet-service-businesses",
                "dog-daycare-and-boarding-businesses",
                "pet-grooming-businesses",
                "pet-stores-and-supply-businesses",
                "veterinary-practices",
                "other-pet-service-businesses",
                "real-estate-businesses",
                "business-real-estate-for-lease",
                "business-real-estate-for-sale",
                "restaurants-and-food-businesses",
                "american-restaurants",
                "bakeries",
                "bars-pubs-and-taverns",
                "boba-tea-and-dessert-shops",
                "breweries",
                "chinese-restaurants",
                "coffee-shops-and-cafes",
                "delis-and-sandwich-shops",
                "diners",
                "distilleries",
                "donut-shops",
                "food-trucks",
                "ice-cream-and-frozen-yogurt-shops",
                "indian-restaurants",
                "italian-restaurants",
                "juice-bars",
                "korean-restaurants",
                "mediterranean-restaurants",
                "mexican-restaurants",
                "miscellaneous-restaurant-and-bars",
                "pizza-restaurants",
                "quick-service-restaurants",
                "sushi-and-japanese-restaurants",
                "thai-restaurants",
                "vietnamese-restaurants",
                "other-restaurants-and-food-businesses",
                "retail-businesses",
                "beauty-supply-stores",
                "bike-shops",
                "clothing-and-accessory-stores",
                "convenience-stores",
                "dollar-stores",
                "flower-shops",
                "furniture-and-furnishings-stores",
                "grocery-stores-and-supermarkets",
                "health-food-and-nutrition-businesses",
                "jewelry-stores",
                "liquor-stores",
                "nursery-and-garden-centers",
                "pawn-shops",
                "pharmacies",
                "smoke-shops",
                "sporting-goods-stores",
                "vending-machine-businesses",
                "other-retail-businesses",
                "service-businesses",
                "architecture-and-engineering-firms",
                "catering-companies",
                "cleaning-businesses",
                "commercial-laundry-businesses",
                "dry-cleaners",
                "funeral-homes",
                "landscaping-and-yard-service-businesses",
                "laundromats-and-coin-laundry-businesses",
                "legal-services-and-law-firms",
                "locksmith-businesses",
                "marketing-and-advertising-businesses",
                "medical-billing-businesses",
                "mobile-home-parks",
                "pest-control-businesses",
                "property-management-businesses",
                "restoration-and-remediation-businesses",
                "routes",
                "security-businesses",
                "staffing-agencies",
                "swimming-pool-businesses",
                "waste-management-and-recycling-businesses",
                "other-service-businesses",
                "transportation-and-storage-businesses",
                "limo-and-passenger-transportation-businesses",
                "moving-and-shipping-businesses",
                "storage-facilities-and-warehouses",
                "trucking-companies",
                "other-transportation-and-storage-businesses",
                "travel-businesses",
                "bed-and-breakfasts",
                "campgrounds-and-rv-parks",
                "hotels",
                "motels",
                "travel-agencies",
                "other-travel-businesses",
                "wholesale-and-distribution-businesses",
                "durable-goods-wholesalers-and-distributors",
                "nondurable-goods-wholesalers-and-distributors",
                "other-wholesalers-and-distributors"
              ],
              "enumTitles": [
                "Agriculture",
                "Agriculture › Greenhouses",
                "Agriculture › Tree Farms & Orchards",
                "Agriculture › Vineyards & Wineries",
                "Agriculture › Other Agriculture",
                "Automotive & Boat",
                "Automotive & Boat › Auto Repair & Service Shops",
                "Automotive & Boat › Car Dealerships",
                "Automotive & Boat › Car Washes",
                "Automotive & Boat › Equipment Rental & Dealers",
                "Automotive & Boat › Gas Stations",
                "Automotive & Boat › Junk & Salvage Yards",
                "Automotive & Boat › Marine/Boat Service & Dealers",
                "Automotive & Boat › Tire Stores",
                "Automotive & Boat › Towing Companies",
                "Automotive & Boat › Truck Stops",
                "Automotive & Boat › Other Automotive & Boat",
                "Beauty & Personal Care",
                "Beauty & Personal Care › Hair Salons & Barber Shops",
                "Beauty & Personal Care › Massage",
                "Beauty & Personal Care › Nail Salons",
                "Beauty & Personal Care › Spas",
                "Beauty & Personal Care › Tanning Salons",
                "Beauty & Personal Care › Tattoo & Body Piercing",
                "Beauty & Personal Care › Other Beauty & Personal Care",
                "Building & Construction",
                "Building & Construction › Building Material & Hardware Stores",
                "Building & Construction › Carpet & Flooring",
                "Building & Construction › Concrete",
                "Building & Construction › Electrical & Mechanical",
                "Building & Construction › HVAC Businesses",
                "Building & Construction › Heavy Construction",
                "Building & Construction › Insulation Businesses",
                "Building & Construction › Painting & Finishing Contractors",
                "Building & Construction › Plumbing",
                "Building & Construction › Roofing",
                "Building & Construction › Other Building & Construction",
                "CLASSIFIEDS",
                "CLASSIFIEDS › Auctions",
                "CLASSIFIEDS › Business Connections",
                "CLASSIFIEDS › Business Services",
                "CLASSIFIEDS › Capital To Invest",
                "CLASSIFIEDS › Financing / Business Loans",
                "CLASSIFIEDS › Foreign Connections",
                "CLASSIFIEDS › Internet Services",
                "CLASSIFIEDS › Legal Services",
                "CLASSIFIEDS › Marketing Services",
                "CLASSIFIEDS › Professional Services",
                "CLASSIFIEDS › Wanted - Miscellaneous",
                "CLASSIFIEDS › Other/Other",
                "Communication & Media",
                "Communication & Media › Magazines & Newspapers",
                "Communication & Media › Production Companies",
                "Communication & Media › Other Communication & Media",
                "Education & Children",
                "Education & Children › Day Care & Child Care Centers",
                "Education & Children › Preschools",
                "Education & Children › Schools",
                "Education & Children › Tutoring & Test Prep",
                "Education & Children › Other Education & Children",
                "Entertainment & Recreation",
                "Entertainment & Recreation › Art Galleries",
                "Entertainment & Recreation › Banquet Halls",
                "Entertainment & Recreation › Bowling Alleys",
                "Entertainment & Recreation › Casinos",
                "Entertainment & Recreation › Golf Courses & Services",
                "Entertainment & Recreation › Marinas & Fishing",
                "Entertainment & Recreation › Nightclubs & Theaters",
                "Entertainment & Recreation › Other Entertainment & Recreation",
                "Financial Services",
                "Financial Services › Accounting & Tax Practices",
                "Financial Services › Banking & Loans",
                "Financial Services › Check Cashing",
                "Financial Services › Insurance Agencies",
                "Financial Services › Other Financial Services",
                "Health Care & Fitness",
                "Health Care & Fitness › Assisted Living & Nursing Homes",
                "Health Care & Fitness › Chiropractic Practices",
                "Health Care & Fitness › Dance, Pilates & Yoga",
                "Health Care & Fitness › Dental Practices",
                "Health Care & Fitness › Gyms & Fitness Centers",
                "Health Care & Fitness › Home Health Care",
                "Health Care & Fitness › Medical Practices",
                "Health Care & Fitness › Medical Transportation",
                "Health Care & Fitness › Optometry Practice",
                "Health Care & Fitness › Physical Therapy Practices",
                "Health Care & Fitness › Other Health Care & Fitness",
                "Manufacturing",
                "Manufacturing › Auto, Boat & Aircraft",
                "Manufacturing › Chemical & Related products",
                "Manufacturing › Clothing & Fabric",
                "Manufacturing › Electronic & Electrical Equipment",
                "Manufacturing › Energy & Petroleum",
                "Manufacturing › Food & Related products",
                "Manufacturing › Furniture & Fixtures",
                "Manufacturing › Glass, Stone & Concrete",
                "Manufacturing › Industrial & Commercial Machinery",
                "Manufacturing › Lumber & Wood Products",
                "Manufacturing › Machine Shops & Tools",
                "Manufacturing › Medical Devices & Products",
                "Manufacturing › Metal Products",
                "Manufacturing › Mining",
                "Manufacturing › Packaging",
                "Manufacturing › Paper & Printing",
                "Manufacturing › Rubber & Plastic Products",
                "Manufacturing › Signs",
                "Manufacturing › Other Manufacturing",
                "Non-Classifiable Establishments",
                "Non-Classifiable Establishments › All Non-Classifiable Establishments",
                "Online & Technology",
                "Online & Technology › Cell Phone & Computer Repair & Services",
                "Online & Technology › Graphic & Web Design",
                "Online & Technology › IT & Software Services",
                "Online & Technology › Software & App Companies",
                "Online & Technology › Websites & Ecommerce",
                "Online & Technology › Other Online & Technology",
                "Pet Services",
                "Pet Services › Dog Daycare & Boarding",
                "Pet Services › Pet Grooming",
                "Pet Services › Pet Stores & Supplies",
                "Pet Services › Veterinary Practices",
                "Pet Services › Other Pet Services",
                "Real Estate",
                "Real Estate › For Lease",
                "Real Estate › For Sale",
                "Restaurants & Food",
                "Restaurants & Food › American Restaurants",
                "Restaurants & Food › Bakeries",
                "Restaurants & Food › Bars, Pubs & Taverns",
                "Restaurants & Food › Boba Tea & Dessert Shop",
                "Restaurants & Food › Breweries",
                "Restaurants & Food › Chinese Restaurants",
                "Restaurants & Food › Coffee Shops & Cafes",
                "Restaurants & Food › Delis & Sandwich Shops",
                "Restaurants & Food › Diners",
                "Restaurants & Food › Distilleries",
                "Restaurants & Food › Donut Shops",
                "Restaurants & Food › Food Trucks",
                "Restaurants & Food › Ice Cream & Frozen Yogurt Shops",
                "Restaurants & Food › Indian Restaurants",
                "Restaurants & Food › Italian Restaurants",
                "Restaurants & Food › Juice Bars",
                "Restaurants & Food › Korean Restaurants",
                "Restaurants & Food › Mediterranean Restaurants",
                "Restaurants & Food › Mexican Restaurants",
                "Restaurants & Food › Miscellaneous Restaurant & Bars",
                "Restaurants & Food › Pizza Restaurants",
                "Restaurants & Food › Quick Service Restaurants",
                "Restaurants & Food › Sushi & Japanese Restaurants",
                "Restaurants & Food › Thai Restaurants",
                "Restaurants & Food › Vietnamese Restaurants",
                "Restaurants & Food › Other Restaurants & Food",
                "Retail",
                "Retail › Beauty Supply Stores",
                "Retail › Bike Shops",
                "Retail › Clothing & Accessory Stores",
                "Retail › Convenience Stores",
                "Retail › Dollar Stores",
                "Retail › Flower Shops",
                "Retail › Furniture & Furnishings Stores",
                "Retail › Grocery Stores & Supermarkets",
                "Retail › Health Food & Nutrition",
                "Retail › Jewelry Stores",
                "Retail › Liquor Stores",
                "Retail › Nursery & Garden Centers",
                "Retail › Pawn Shops",
                "Retail › Pharmacies",
                "Retail › Smoke Shops",
                "Retail › Sporting Goods Store",
                "Retail › Vending Machines",
                "Retail › Other Retail",
                "Service Businesses",
                "Service Businesses › Architecture & Engineering Firms",
                "Service Businesses › Catering Companies",
                "Service Businesses › Cleaning Businesses",
                "Service Businesses › Commercial Laundry",
                "Service Businesses › Dry Cleaners",
                "Service Businesses › Funeral Homes",
                "Service Businesses › Landscaping & Yard Services",
                "Service Businesses › Laundromats & Coin Laundry",
                "Service Businesses › Legal Services & Law Firms",
                "Service Businesses › Locksmith",
                "Service Businesses › Marketing & Advertising",
                "Service Businesses › Medical Billing",
                "Service Businesses › Mobile Home Parks",
                "Service Businesses › Pest Control",
                "Service Businesses › Property Management",
                "Service Businesses › Restoration & Remediation",
                "Service Businesses › Routes",
                "Service Businesses › Security",
                "Service Businesses › Staffing Agencies",
                "Service Businesses › Swimming Pool Businesses",
                "Service Businesses › Waste Management & Recycling",
                "Service Businesses › Other Service Businesses",
                "Transportation & Storage",
                "Transportation & Storage › Limo & Passenger Transportation",
                "Transportation & Storage › Moving & Shipping",
                "Transportation & Storage › Storage Facilities & Warehouses",
                "Transportation & Storage › Trucking Companies",
                "Transportation & Storage › Other Transportation & Storage",
                "Travel",
                "Travel › Bed & Breakfasts",
                "Travel › Campgrounds & RV Parks",
                "Travel › Hotels",
                "Travel › Motels",
                "Travel › Travel Agencies",
                "Travel › Other Travel",
                "Wholesale & Distributors",
                "Wholesale & Distributors › Durable Goods",
                "Wholesale & Distributors › Nondurable Goods",
                "Wholesale & Distributors › Other Wholesalers & Distributors"
              ]
            }
          },
          "listingTypes": {
            "title": "Listing types",
            "type": "array",
            "description": "Only these kinds of listings. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "established",
                "asset-sale",
                "real-estate",
                "startup"
              ],
              "enumTitles": [
                "Established businesses",
                "Asset sales",
                "Business real estate",
                "Startups"
              ]
            }
          },
          "minAskingPrice": {
            "title": "Min asking price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings asking at least this much."
          },
          "maxAskingPrice": {
            "title": "Max asking price (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings asking at most this much."
          },
          "minCashFlow": {
            "title": "Min cash flow / SDE (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings with at least this annual cash flow (seller's discretionary earnings). Listings that don't disclose cash flow are kept when their EBITDA matches, as on BizBuySell."
          },
          "maxCashFlow": {
            "title": "Max cash flow / SDE (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings with at most this annual cash flow."
          },
          "minRevenue": {
            "title": "Min gross revenue (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings with at least this annual gross revenue."
          },
          "maxRevenue": {
            "title": "Max gross revenue (USD)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings with at most this annual gross revenue."
          },
          "listedWithinDays": {
            "title": "Listed within the last (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings added to BizBuySell in the last N days. Great for daily or weekly deal alerts."
          },
          "updatedWithinDays": {
            "title": "Updated within the last (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Only listings added or changed in the last N days."
          },
          "establishedAfter": {
            "title": "Established after (year)",
            "minimum": 0,
            "maximum": 2100,
            "type": "integer",
            "description": "Only businesses established after this year, e.g. 2015."
          },
          "sellerFinancingOnly": {
            "title": "Seller financing available",
            "type": "boolean",
            "description": "Only listings where the seller offers financing.",
            "default": false
          },
          "sbaPrequalifiedOnly": {
            "title": "SBA pre-qualified",
            "type": "boolean",
            "description": "Only listings pre-qualified for an SBA loan.",
            "default": false
          },
          "realEstateIncludedOnly": {
            "title": "Real estate included",
            "type": "boolean",
            "description": "Only listings whose asking price includes the real estate.",
            "default": false
          },
          "homeBasedOnly": {
            "title": "Home-based",
            "type": "boolean",
            "description": "Only home-based businesses.",
            "default": false
          },
          "absenteeOwnerOnly": {
            "title": "Absentee owner / semi-absentee",
            "type": "boolean",
            "description": "Only businesses that can be run without the owner on site full time.",
            "default": false
          },
          "priceReducedOnly": {
            "title": "Price reduced",
            "type": "boolean",
            "description": "Only listings whose asking price was recently reduced.",
            "default": false
          },
          "includeRelocatable": {
            "title": "Include relocatable businesses",
            "type": "boolean",
            "description": "When searching a state, also include businesses from elsewhere that can be relocated there (BizBuySell's \"show relocatable\" option).",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "price-low",
              "price-high",
              "cash-flow-high"
            ],
            "type": "string",
            "description": "Order of results. Matters when you set a limit: you get the top listings in this order.",
            "default": "relevance"
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of listings and franchises to save in this run. Set 0 for no limit — searches over BizBuySell's 10,000-result cap are split automatically, so even all of BizBuySell can be scraped.",
            "default": 100
          },
          "monitorMode": {
            "title": "Only new or changed listings (monitor mode)",
            "type": "boolean",
            "description": "For scheduled runs: the first run saves everything and remembers it; later runs save only listings that are new or changed (price, financials or details) since the last run, marked with changeType NEW or UPDATED. Unchanged listings are not saved or charged.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional. Names this monitoring setup so its history stays separate. Leave empty to name it automatically from the URLs and filters (changing them then starts a new history)."
          },
          "includeRawData": {
            "title": "Include raw BizBuySell data",
            "type": "boolean",
            "description": "Adds a raw field with BizBuySell's complete original record (170+ fields) for advanced use.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Apify Proxy (the default datacenter proxy works, including on free plans). Change only if your runs get refused.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}