{
  "openapi": "3.0.1",
  "info": {
    "title": "BusinessBroker.net Scraper",
    "description": "Scrape businesses for sale from BusinessBroker.net by state, industry, keyword and price: asking price, revenue, cash flow, net profit, location, industry and full description. Export JSON, CSV, Excel.",
    "version": "1.0",
    "x-build-id": "RPePSr7dVwwk6hOwp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parsebird~businessbroker-net-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parsebird-businessbroker-net-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/parsebird~businessbroker-net-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parsebird-businessbroker-net-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/parsebird~businessbroker-net-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parsebird-businessbroker-net-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": {
          "states": {
            "title": "States",
            "type": "array",
            "description": "Businesses for sale in these US states. Leave empty to search all states.",
            "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",
                "PR",
                "RI",
                "SC",
                "SD",
                "TN",
                "TX",
                "UT",
                "VT",
                "VI",
                "VA",
                "WA",
                "WV",
                "WI",
                "WY"
              ],
              "enumTitles": [
                "Alabama (AL)",
                "Alaska (AK)",
                "Arizona (AZ)",
                "Arkansas (AR)",
                "California (CA)",
                "Colorado (CO)",
                "Connecticut (CT)",
                "Delaware (DE)",
                "District of Columbia (DC)",
                "Florida (FL)",
                "Georgia (GA)",
                "Hawaii (HI)",
                "Idaho (ID)",
                "Illinois (IL)",
                "Indiana (IN)",
                "Iowa (IA)",
                "Kansas (KS)",
                "Kentucky (KY)",
                "Louisiana (LA)",
                "Maine (ME)",
                "Maryland (MD)",
                "Massachusetts (MA)",
                "Michigan (MI)",
                "Minnesota (MN)",
                "Mississippi (MS)",
                "Missouri (MO)",
                "Montana (MT)",
                "Nebraska (NE)",
                "Nevada (NV)",
                "New Hampshire (NH)",
                "New Jersey (NJ)",
                "New Mexico (NM)",
                "New York (NY)",
                "North Carolina (NC)",
                "North Dakota (ND)",
                "Ohio (OH)",
                "Oklahoma (OK)",
                "Oregon (OR)",
                "Pennsylvania (PA)",
                "Puerto Rico (PR)",
                "Rhode Island (RI)",
                "South Carolina (SC)",
                "South Dakota (SD)",
                "Tennessee (TN)",
                "Texas (TX)",
                "Utah (UT)",
                "Vermont (VT)",
                "Virgin Islands (VI)",
                "Virginia (VA)",
                "Washington (WA)",
                "West Virginia (WV)",
                "Wisconsin (WI)",
                "Wyoming (WY)"
              ]
            }
          },
          "industries": {
            "title": "Industries",
            "type": "array",
            "description": "BusinessBroker.net business categories. Each one is searched separately, inside each chosen state (or across all states when none are chosen).",
            "items": {
              "type": "string",
              "enum": [
                "automotive-and-boats-auto-glass-repair",
                "automotive-and-boats-auto-and-truck-repair-and-service",
                "automotive-and-boats-auto-body-shop-paint-shop",
                "automotive-and-boats-auto-retail-auto-parts",
                "automotive-and-boats-boat-storage-and-marinas",
                "automotive-and-boats-car-wash-auto-detailing",
                "automotive-and-boats-dealerships-auto-truck-motorcycle",
                "automotive-and-boats-dealerships-rvs-and-atvs",
                "automotive-and-boats-gas-stations",
                "automotive-and-boats-marine-repair-retail-parts-and-service",
                "commercial-real-estate-for-lease-commercial-properties",
                "commercial-real-estate-industrial-warehouse",
                "commercial-real-estate-land",
                "commercial-real-estate-multi-family",
                "commercial-real-estate-non-classifiable",
                "commercial-real-estate-office-space-office-parks",
                "commercial-real-estate-retail-and-shopping-centers",
                "food-and-beverage-bars-clubs-nightspots",
                "food-and-beverage-catering-food-preparation",
                "food-and-beverage-coffee-cafe-dessert",
                "food-and-beverage-convenience-stores",
                "food-and-beverage-food-truck-stores",
                "food-and-beverage-grocery-and-food-stores",
                "food-and-beverage-liquor-stores",
                "food-and-beverage-miscellaneous",
                "food-and-beverage-production-bakery-farms-winery",
                "food-and-beverage-restaurants-fast-food-deli",
                "food-and-beverage-suppliers-vending",
                "manufacturing-agricultural-manufacturing",
                "manufacturing-auto-and-transportation",
                "manufacturing-beauty-medical-products",
                "manufacturing-chemicals",
                "manufacturing-clothing-jewelry",
                "manufacturing-electronics-and-technology",
                "manufacturing-energy-oil-petroleum-gas-production",
                "manufacturing-furniture-fixtures-manufacturing",
                "manufacturing-home-and-office-products",
                "manufacturing-machinery",
                "manufacturing-metal-products",
                "manufacturing-mining",
                "manufacturing-non-classifiable",
                "manufacturing-plastics",
                "manufacturing-publishing",
                "manufacturing-wood-stone-concrete",
                "miscellaneous-non-classifiable",
                "miscellaneous-products",
                "recreation-campgrounds-and-rv-parks",
                "recreation-entertainment",
                "recreation-golf-courses-and-golf-related",
                "recreation-gyms-health-and-fitness-sports",
                "recreation-marinas-and-boating",
                "recreation-non-classifiable",
                "recreation-outdoor",
                "retail-art-photography-accessories",
                "retail-children-s-retail",
                "retail-clothing-and-accessories",
                "retail-consignment-pawn-shop-thrift-stores",
                "retail-dollar-stores",
                "retail-e-commerce-retail-websites",
                "retail-electronics-technology-computers-cell-phones",
                "retail-florists-gifts-cards-books",
                "retail-general-merchandise-retail",
                "retail-hardware-bldg-materials-garden-center",
                "retail-health-beauty-nutrition",
                "retail-home-furniture-and-furnishings",
                "retail-home-improvement",
                "retail-non-classifiable",
                "retail-office-products-and-supply",
                "retail-pet-stores-and-services",
                "retail-pool-sales-supplies-and-services",
                "retail-smoke-and-vaping-shops",
                "retail-sporting-goods-recreation",
                "services-advertising-and-marketing",
                "services-business-and-office-services",
                "services-children-child-care-education",
                "services-cleaning",
                "services-communication-media-technology",
                "services-computer-internet-technology-repair-and-services",
                "services-construction-contractors",
                "services-dry-cleaning-and-laundry",
                "services-education-and-training",
                "services-utilities",
                "services-engineering-architectural-services",
                "services-financial-accounting-insurance",
                "services-green-businesses-recycling",
                "services-hair-nails-spas-tanning",
                "services-home-improvement-repair-painting",
                "services-hotel-motel-lodging",
                "services-human-resources-and-staffing",
                "services-landscaping-and-lawn-care",
                "services-medical-dental",
                "services-moving-and-storage",
                "services-non-classifiable",
                "services-pet-care-and-grooming",
                "services-printing-shipping-signs",
                "services-professional",
                "services-real-estate",
                "services-rentals-party-equipment",
                "services-security-surveilance",
                "services-senior-living-and-care-assisted-living",
                "services-taxi-limo-and-passenger-transportation",
                "services-transportation-trucking-rail-transit",
                "services-travel-related-services",
                "services-video-photography-film-talent",
                "services-web-design-internet-marketing",
                "technology-business-services-b2b",
                "technology-business-services-b2c",
                "technology-communications-and-media",
                "technology-hardware",
                "technology-internet-websites",
                "technology-non-classifiable",
                "technology-software",
                "wholesale-distribution-durable-goods",
                "wholesale-distribution-non-durable-goods"
              ],
              "enumTitles": [
                "Automotive & Boats: Auto Glass Repair",
                "Automotive & Boats: Auto & Truck Repair & Service",
                "Automotive & Boats: Auto Body Shop, Paint Shop",
                "Automotive & Boats: Auto Retail - Auto Parts",
                "Automotive & Boats: Boat Storage and Marinas",
                "Automotive & Boats: Car Wash, Auto Detailing",
                "Automotive & Boats: Dealerships - Auto, Truck, Motorcycle",
                "Automotive & Boats: Dealerships - RVs & ATVs",
                "Automotive & Boats: Gas Stations",
                "Automotive & Boats: Marine Repair, Retail, Parts & Service",
                "Commercial Real Estate: For Lease Commercial Properties",
                "Commercial Real Estate: Industrial, Warehouse",
                "Commercial Real Estate: Land",
                "Commercial Real Estate: Multi-Family",
                "Commercial Real Estate: Non-classifiable",
                "Commercial Real Estate: Office Space, Office Parks",
                "Commercial Real Estate: Retail & Shopping Centers",
                "Food & Beverage: Bars, Clubs, Nightspots",
                "Food & Beverage: Catering, Food Preparation",
                "Food & Beverage: Coffee, Cafe, Dessert",
                "Food & Beverage: Convenience Stores",
                "Food & Beverage: Food Truck Stores",
                "Food & Beverage: Grocery & Food Stores",
                "Food & Beverage: Liquor Stores",
                "Food & Beverage: Miscellaneous",
                "Food & Beverage: Production - Bakery, Farms, Winery",
                "Food & Beverage: Restaurants, Fast Food, Deli",
                "Food & Beverage: Suppliers, Vending",
                "Manufacturing: Agricultural Manufacturing",
                "Manufacturing: Auto & Transportation",
                "Manufacturing: Beauty, Medical Products",
                "Manufacturing: Chemicals",
                "Manufacturing: Clothing, Jewelry",
                "Manufacturing: Electronics & Technology",
                "Manufacturing: Energy, Oil, Petroleum, Gas Production",
                "Manufacturing: Furniture, Fixtures Manufacturing",
                "Manufacturing: Home & Office Products",
                "Manufacturing: Machinery",
                "Manufacturing: Metal Products",
                "Manufacturing: Mining",
                "Manufacturing: Non-classifiable",
                "Manufacturing: Plastics",
                "Manufacturing: Publishing",
                "Manufacturing: Wood, Stone, Concrete",
                "Miscellaneous: Non-classifiable",
                "Miscellaneous: Products",
                "Recreation: Campgrounds & RV Parks",
                "Recreation: Entertainment",
                "Recreation: Golf Courses & Golf Related",
                "Recreation: Gyms, Health & Fitness, Sports",
                "Recreation: Marinas & Boating",
                "Recreation: Non-classifiable",
                "Recreation: Outdoor",
                "Retail: Art, Photography, Accessories",
                "Retail: Children's Retail",
                "Retail: Clothing & Accessories",
                "Retail: Consignment, Pawn Shop, Thrift Stores",
                "Retail: Dollar Stores",
                "Retail: E-Commerce, Retail Websites",
                "Retail: Electronics, Technology, Computers, Cell Phones",
                "Retail: Florists, Gifts, Cards, Books",
                "Retail: General Merchandise - Retail",
                "Retail: Hardware, Bldg. Materials, Garden Center",
                "Retail: Health, Beauty, Nutrition",
                "Retail: Home Furniture & Furnishings",
                "Retail: Home Improvement",
                "Retail: Non-classifiable",
                "Retail: Office Products & Supply",
                "Retail: Pet Stores & Services",
                "Retail: Pool Sales, Supplies & Services",
                "Retail: Smoke & Vaping Shops",
                "Retail: Sporting Goods, Recreation",
                "Services: Advertising & Marketing",
                "Services: Business & Office Services",
                "Services: Children - Child Care, Education",
                "Services: Cleaning",
                "Services: Communication, Media, Technology",
                "Services: Computer, Internet, Technology Repair & Services",
                "Services: Construction, Contractors",
                "Services: Dry Cleaning & Laundry",
                "Services: Education & Training",
                "Services: Utilities",
                "Services: Engineering, Architectural Services",
                "Services: Financial, Accounting, Insurance",
                "Services: Green Businesses - Recycling",
                "Services: Hair, Nails, Spas, Tanning",
                "Services: Home Improvement, Repair, Painting",
                "Services: Hotel, Motel, Lodging",
                "Services: Human Resources & Staffing",
                "Services: Landscaping & Lawn Care",
                "Services: Medical, Dental",
                "Services: Moving & Storage",
                "Services: Non-classifiable",
                "Services: Pet Care & Grooming",
                "Services: Printing, Shipping, Signs",
                "Services: Professional",
                "Services: Real Estate",
                "Services: Rentals - Party, Equipment",
                "Services: Security, Surveilance",
                "Services: Senior Living & Care, Assisted Living",
                "Services: Taxi, Limo, & Passenger Transportation",
                "Services: Transportation - Trucking, Rail, Transit",
                "Services: Travel Related Services",
                "Services: Video, Photography, Film, Talent",
                "Services: Web Design, Internet Marketing",
                "Technology: Business Services (B2B)",
                "Technology: Business Services (B2C)",
                "Technology: Communications & Media",
                "Technology: Hardware",
                "Technology: Internet, Websites",
                "Technology: Non-classifiable",
                "Technology: Software",
                "Wholesale/Distribution: Durable Goods",
                "Wholesale/Distribution: Non-Durable Goods"
              ]
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Business types or words to search for, such as Laundromat, Bakery or Car wash. Each keyword is searched inside each chosen state. The site matches the word in titles and descriptions.",
            "items": {
              "type": "string"
            }
          },
          "newListingsDays": {
            "title": "Listed in the last N days",
            "minimum": 0,
            "maximum": 365,
            "type": "integer",
            "description": "Only collect listings added to BusinessBroker.net in the last N days. 0 = any time. Works with states, industries and keywords; on its own it searches all states.",
            "default": 0
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "BusinessBroker.net search pages (state, city, county, industry, keyword, most-recent or search-results pages) or listing pages. Search pages are read to the last page.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "includeDetails": {
            "title": "Open each listing for full details",
            "type": "boolean",
            "description": "Open every listing page for net profit, debt, FF&E, real estate, year established, employees, industry, reason for selling, property features and more. Turn off for a faster run that reads only the search results (title, price, revenue, cash flow, location and full description).",
            "default": true
          },
          "onlyNew": {
            "title": "Only new listings",
            "type": "boolean",
            "description": "Skip listings that earlier runs of this same search already returned, so you only get (and pay for) listings you haven't had. The first run returns everything and remembers it. Useful for scheduled runs.",
            "default": false
          },
          "minAskingPrice": {
            "title": "Minimum asking price",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only listings asking at least this much. Listings with an undisclosed price are kept."
          },
          "maxAskingPrice": {
            "title": "Maximum asking price",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only listings asking at most this much. Listings with an undisclosed price are kept."
          },
          "maxItems": {
            "title": "Max listings",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many listings. 0 = no limit.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Listing pages loaded at the same time. Keep it low to be polite to the site.",
            "default": 4
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "BusinessBroker.net blocks datacenter IPs. US residential proxies are used by default.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}