# BizQuest Business Listings Scraper (`powerai/bizquest-search-scraper`) Actor

Scrape businesses for sale from BizQuest.com with automatic pagination and comprehensive listing data extraction.

- **URL**: https://apify.com/powerai/bizquest-search-scraper.md
- **Developed by:** [PowerAI](https://apify.com/powerai) (community)
- **Categories:** Lead generation, Automation, Other
- **Stats:** 71 total users, 41 monthly users, 93.4% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $4.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🏢 BizQuest Business Listings Scraper

This actor allows you to scrape businesses for sale from BizQuest.com by providing a search URL. It automatically handles pagination and extracts comprehensive business listing information including prices, locations, descriptions, and images.

### Features

- **URL-based Scraping:** Extract business listings by providing a complete BizQuest search URL
- **Automatic Pagination:** Automatically scrolls and loads more listings until reaching the end or max items limit
- **Comprehensive Listing Data:** Extract detailed information about each business including:
  - Business titles and descriptions
  - Asking prices
  - Business locations (city and state)
  - Listing images
  - Direct links to listing detail pages
  - Unique listing IDs
- **Smart Deduplication:** Automatically removes duplicate listings
- **Proxy Support:** Optional proxy configuration for enhanced reliability

### Input Parameters

| Field      | Type    | Required | Description                                    |
|------------|---------|----------|------------------------------------------------|
| `searchUrl`| string  | Yes      | Complete BizQuest search URL to scrape         |
| `maxItems` | integer | No       | Maximum number of listings to fetch (default: unlimited) |
| `proxyConfiguration` | object | No | Proxy settings (optional) |

#### How to Get Search URL

1. Go to [BizQuest.com](https://www.bizquest.com)
2. Use the search filters to find businesses (location, industry, price range, etc.)
3. Copy the complete URL from your browser's address bar
4. Paste it into the `searchUrl` field

Example search URL:

```
https://www.bizquest.com/businesses-for-sale/?q=bHQ9MzAsNDAsODA=
```

### Output

The output is a dataset of business listing objects, each containing:

- `searchUrl`: The original search URL used
- `id`: Unique listing ID
- `title`: Business title
- `url`: Direct link to the listing detail page
- `image`: URL of the business listing image
- `price`: Asking price (e.g., "$400,000")
- `city`: City location
- `state`: State location
- `description`: Brief business description
- `scrapedAt`: Timestamp of when the listing was scraped

Example output:

```json
[
  {
    "searchUrl": "https://www.bizquest.com/businesses-for-sale/?q=bHQ9MzAsNDAsODA=",
    "id": "2438086",
    "title": "Surgery Center for Sale",
    "url": "https://www.bizquest.com/business-for-sale/surgery-center-for-sale/BW2438086/",
    "image": "https://images.bizquest.com/shared/listings/243/2438086/119bb712-45b9-454b-81ca-25e8afa79941-W336.webp",
    "price": "$400,000",
    "city": "",
    "state": "Mesa",
    "description": "Newly established 3 OR-/1 Procedure Room, Accredited, and Equipped",
    "scrapedAt": "2025-11-07T05:23:47.644Z"
  },
  ...
]
```

### Use Cases

- Business acquisition research
- Market analysis and valuation
- Investment opportunity tracking
- Competitive intelligence
- Industry trend analysis
- Regional business market monitoring
- Portfolio diversification research
- Business broker lead generation

### Notes

- Results are saved incrementally as they are found
- All timestamps are in ISO 8601 format
- Listings are automatically deduplicated based on URLs
- The actor handles lazy-loaded content automatically
- Price format varies by listing (may include ranges or "Undisclosed")

### Limitations

- Only extracts listing summary data (not full detail page content)
- Some listings may have incomplete location information
- Image URLs may expire over time
- Very large datasets may take longer to process

***

**Start discovering business opportunities on BizQuest today!**

# Actor input Schema

## `searchUrl` (type: `string`):

The complete BizQuest search URL to scrape (e.g., https://www.bizquest.com/businesses-for-sale/?q=...)

## `maxItems` (type: `integer`):

Maximum number of business listings to fetch

## `proxyConfiguration` (type: `object`):

Proxy settings for the actor (optional)

## Actor input object example

```json
{
  "searchUrl": "https://www.bizquest.com/businesses-for-sale/?q=bHQ9MzAsNDAsODA=",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/bizquest-search-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("powerai/bizquest-search-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call powerai/bizquest-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,powerai/bizquest-search-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/JCtapG8hmc74aKGsv/builds/Huz1W9U1ePhwyBidB/openapi.json
