{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 BizBuySell Scraper · 10,000 Free Listings/Month",
    "description": "BizBuySell Scraper gets you businesses for sale ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — asking price, cash flow, revenue, financials & broker phone. 💰 $0.50 per 1,000 listings, no start fee. Scrape your first 10,000 listings free every month 🚀",
    "version": "0.0",
    "x-build-id": "Z7pUpFFeFzlxVLaym"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~bizbuysell-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-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/omkar-cloud~bizbuysell-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-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/omkar-cloud~bizbuysell-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-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": {
          "searchQueries": {
            "title": "Search Keywords",
            "type": "array",
            "description": "Keywords matched against listing titles and full descriptions — e.g. car wash, coffee shop, HVAC, SaaS. Rows carry a `search_input` field so you can tell keywords apart.",
            "items": {
              "type": "string"
            }
          },
          "states": {
            "title": "States",
            "type": "array",
            "description": "US states or Canadian provinces, by name or code — e.g. TX, Florida, ON. Leave empty for every state.",
            "items": {
              "type": "string"
            }
          },
          "county": {
            "title": "County",
            "type": "string",
            "description": "A county inside the one State you picked — e.g. Los Angeles (with State CA). Needs exactly one State."
          },
          "category": {
            "title": "Industry",
            "enum": [
              "",
              "Agriculture",
              "Automotive & Boat",
              "Beauty & Personal Care",
              "Building & Construction",
              "Communication & Media",
              "Education & Children",
              "Entertainment & Recreation",
              "Financial Services",
              "Health Care & Fitness",
              "Manufacturing",
              "Non-Classifiable Establishments",
              "Online & Technology",
              "Pet Services",
              "Restaurants & Food",
              "Retail",
              "Service Businesses",
              "Transportation & Storage",
              "Travel",
              "Wholesale & Distributors"
            ],
            "type": "string",
            "description": "Only listings in this industry.",
            "default": ""
          },
          "listingType": {
            "title": "Listing Type",
            "enum": [
              "",
              "established",
              "asset_sale",
              "real_estate",
              "startup"
            ],
            "type": "string",
            "description": "Operating businesses, asset sales, business real estate or startup / franchise opportunities.",
            "default": ""
          },
          "minPrice": {
            "title": "Min Asking Price ($)",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum asking price in USD."
          },
          "maxPrice": {
            "title": "Max Asking Price ($)",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum asking price in USD."
          },
          "minCashFlow": {
            "title": "Min Cash Flow ($)",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum annual cash flow (seller's discretionary earnings) in USD."
          },
          "maxCashFlow": {
            "title": "Max Cash Flow ($)",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum annual cash flow in USD."
          },
          "minRevenue": {
            "title": "Min Gross Revenue ($)",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum annual gross revenue in USD."
          },
          "maxRevenue": {
            "title": "Max Gross Revenue ($)",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum annual gross revenue in USD."
          },
          "listedWithinDays": {
            "title": "Listed Within (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Only listings first published within the last N days — 7 makes a weekly new-deals feed."
          },
          "establishedAfter": {
            "title": "Established After (year)",
            "minimum": 1,
            "maximum": 2100,
            "type": "integer",
            "description": "Only businesses established after this year — e.g. 2015."
          },
          "sellerFinancing": {
            "title": "Seller Financing Only",
            "type": "boolean",
            "description": "Only listings where the seller offers financing.",
            "default": false
          },
          "sbaEligible": {
            "title": "SBA Loan Eligible Only",
            "type": "boolean",
            "description": "Only listings carrying BizBuySell's SBA Loan Eligible badge.",
            "default": false
          },
          "realEstateIncluded": {
            "title": "Real Estate Included Only",
            "type": "boolean",
            "description": "Only listings whose asking price includes the real estate.",
            "default": false
          },
          "homeBased": {
            "title": "Home-Based Only",
            "type": "boolean",
            "description": "Only home-based businesses.",
            "default": false
          },
          "absenteeOwner": {
            "title": "Absentee Owner Only",
            "type": "boolean",
            "description": "Only businesses run without the owner on site.",
            "default": false
          },
          "priceReduced": {
            "title": "Price Reduced Only",
            "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 elsewhere that can be moved there.",
            "default": false
          },
          "urls": {
            "title": "BizBuySell URLs or Listing IDs",
            "type": "array",
            "description": "Listing links (https://www.bizbuysell.com/business-opportunity/…/2564237/), bare listing ids (2564237), or search pages: https://www.bizbuysell.com/texas-businesses-for-sale/, …/restaurants-and-food-businesses-for-sale/, …/texas/restaurants-and-food-businesses-for-sale/, …/buy/. Listing inputs are always billed as detailed listings.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "",
              "newest",
              "price_asc",
              "price_desc",
              "cash_flow_desc",
              "cash_flow_asc"
            ],
            "type": "string",
            "description": "Order of search results. Default keeps BizBuySell's own order.",
            "default": ""
          },
          "maxResultsPerSearch": {
            "title": "Max Listings per Search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop each search after this many listings. Caps your cost: you pay per listing. BizBuySell serves up to 10,000 listings per search.",
            "default": 100
          },
          "includeDetails": {
            "title": "Scrape Full Listing Details",
            "type": "boolean",
            "description": "Also open every listing: gross revenue, inventory, FF&E, financing, full description, employees, facilities, competition, growth, support & training, reason for selling, real estate, breadcrumbs and similar listings. Billed as a detailed listing.",
            "default": false
          },
          "onlyNewListings": {
            "title": "Only New or Price-Changed Listings",
            "type": "boolean",
            "description": "Remember every listing this input set has returned, and on later runs push only listings that are new or whose asking price changed — perfect for a scheduled deal feed. Unchanged listings are skipped and not billed. Rows carry `monitor_status` (new / price_changed).",
            "default": false
          },
          "monitorName": {
            "title": "Monitor Name",
            "type": "string",
            "description": "Optional. Keeps a separate history under this name — one per saved search or client. Without it, the history is keyed on your inputs."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}