# BizQuest Scraper (`scrapeai/bizquest-scraper`) Actor

Find BizQuest.com business-for-sale listings for a keyword and optional US state through Google Images results, without opening bizquest.com. Returns listing ID, page URL, title and location as Google shows them. No asking price, cash flow or details.

- **URL**: https://apify.com/scrapeai/bizquest-scraper.md
- **Developed by:** [ScrapeAI](https://apify.com/scrapeai) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 63.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.49 / 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 Scraper

**Status (2026-11-14): works through Google Images results (default).** In eight of nine test runs on the platform (see "Measured results" below) the run returned between 3 and 50 listings with one Google request each; one run got an answer from Google without any image result and failed. The older Google web results source is still available as `resultSource: "web"`, but Google often prints only opaque redirect links for web results, so it returns only some of the results, or none.

Find business-for-sale listings from BizQuest.com. By default the actor reads **public Google Search results** (Google Images results) for BizQuest listing pages and returns, for each listing, its URL, listing ID, title and location. It does not return the asking price, cash flow, revenue, description or any other detail that the BizQuest website shows (the optional web source returns the asking price or cash flow only when Google prints them in the result text).

### What you get, and from where

| Data source (`dataSource`) | Where the data comes from | Fields |
|----------------------------|---------------------------|--------|
| `google-serp`, `resultSource: images` (default) | One Google Images page for `site:bizquest.com/business-for-sale <your words>`, read through the Apify `GOOGLE_SERP` proxy group. Every image result carries the BizQuest listing URL and the title of that page in plain attributes. bizquest.com itself is never requested. | `listingId`, `numericListingId`, `id`, `title`, `url` (from the listing URL), `location` (from the page title), `sourceUrl`, `dataOrigin` (`google-serp-images`), `serpQuery`, `serpPosition`, `titleTruncated` (only when set), `scrapedAt`. No result text, asking price or cash flow. |
| `google-serp`, `resultSource: web` | Google web results for the same query, `maxPages` pages per search. | `listingId`, `numericListingId`, `id`, `title`, `url`, `summary`/`description` (the Google result text), `askingPrice`/`askingPriceLabel` and `cashFlow`/`cashFlowLabel` only when the result text prints them, `sourceUrl`, `dataOrigin` (`google-serp`), `serpQuery`, `serpPosition`, `titleTruncated`, `scrapedAt`. Google often prints only opaque redirect links instead of the listing URLs, which the actor never follows, so many results (sometimes all) are lost. |
| `site` (optional) | The BizQuest browse pages themselves, one request per page through the proxy you configure, after a `robots.txt` check. | Listing ID, title, location, summary, asking price, currency, images, tags and public financial values (as in earlier versions) |

**BizQuest blocks automated access.** It sits behind Akamai bot protection: when this actor was last verified (November 2026) datacenter and US residential proxies got HTTP 403 or a failed connection, and even `robots.txt` answered "Access Denied". The `site` source therefore reads `robots.txt` first and stops without requesting any page when it cannot be read (BizQuest currently answers "Access Denied") or disallows the path; it also never retries, spoofs a browser, rotates proxies or gets around the protection. That is why the default source is Google Search.

### Input

```json
{
    "dataSource": "google-serp",
    "resultSource": "images",
    "keyword": "restaurant",
    "location": "California",
    "maxItems": 10,
    "googleCountry": "gb"
}
```

| Field | Description |
|-------|-------------|
| `dataSource` | `google-serp` (default) or `site`. |
| `resultSource` | Google source only: `images` (default) or `web`, see above. |
| `keyword` | Google source: words added to the Google query. Site source: phrase filter over title and summary. |
| `location` | US state name or two-letter code. Google source: the state name is added to the query. Images results show the location of every listing, so a result whose state is another one, or is not shown, is left out and counted in `RUN_SUMMARY` (`otherState`, `locationNotShown`); the web source shows no location, so its results are not checked. Site source: must match a state link on BizQuest. |
| `startUrls` | Site source: the BizQuest browse pages to request. Google source: not requested; a category or state in the URL path (for example `/restaurants-for-sale/` or `/businesses-for-sale-in-california-ca/`) only adds words to the Google query. The default `/businesses-for-sale/` adds none. |
| `maxItems` | Maximum distinct listings (default 50). One Google Images page shows a limited number of results, so a run can return fewer. |
| `maxPages` | Google web source only: Google result pages per search, 10 results each (default 3); every page is billed by the `GOOGLE_SERP` proxy as one search. The images source reads one page per search: `start=` does not page through image results reliably (see "Limits"). Site source: result pages per start URL. |
| `googleCountry` | Two-letter country code for Google's `gl` parameter (default `gb`); changes ranking only slightly. |
| `fetchDetails` | Site source only, experimental: tries each listing page once. |
| `proxyConfiguration` | Site source only (default: US residential). The Google source always uses `GOOGLE_SERP`. |

### Output (Google source)

Images results (default):

```json
{
    "listingId": "BW2142689",
    "numericListingId": "2142689",
    "id": "BW2142689",
    "title": "Profitable 20+ Years in Laundromat For SALE",
    "url": "https://www.bizquest.com/business-for-sale/profitable-20-years-in-laundromat-for-sale/BW2142689/",
    "location": "Boston, Massachusetts (Suffolk County)",
    "sourceUrl": "https://www.bizquest.com/business-for-sale/profitable-20-years-in-laundromat-for-sale/BW2142689/",
    "dataOrigin": "google-serp-images",
    "serpQuery": "site:bizquest.com/business-for-sale laundromat",
    "serpPosition": 1,
    "scrapedAt": "2026-11-14T09:48:16.207Z"
}
```

Web results (`resultSource: web`), which also have the result text:

```json
{
    "listingId": "BW2371134",
    "numericListingId": "2371134",
    "id": "BW2371134",
    "title": "Well Known Asian Restaurant! Owner wants to retire soon.",
    "url": "https://www.bizquest.com/business-for-sale/well-known-asian-restaurant-owner-wants-to-retire-soon/BW2371134/",
    "summary": "Well Known Asian Restaurant! Asking Price$390,000 Cash Flow. Reduced from $645,000 to $475,000. Now $390,000 for very Quick Sale! Close to Super Walmart. Rent ...",
    "description": "Well Known Asian Restaurant! Asking Price$390,000 Cash Flow. Reduced from $645,000 to $475,000. Now $390,000 for very Quick Sale! Close to Super Walmart. Rent ...",
    "descriptionLevel": "google-snippet",
    "askingPrice": 390000,
    "askingPriceLabel": "$390,000",
    "sourceUrl": "https://www.bizquest.com/business-for-sale/well-known-asian-restaurant-owner-wants-to-retire-soon/BW2371134/",
    "dataOrigin": "google-serp",
    "serpQuery": "site:bizquest.com/business-for-sale restaurant",
    "serpPosition": 3,
    "scrapedAt": "2026-11-13T14:25:22.466Z"
}
```

- `listingId` and `numericListingId` come from the `.../BW<number>/` part of the listing URL. Only URLs of that form are kept; category pages, franchise pages and broker pages are dropped.
- `title` is the title Google shows. For image results it is the part of the page title before ` | For Sale in <location> | BizQuest.com` (the listing title itself can contain `|`). Google shortens long titles; then `titleTruncated` is `true`.
- `location` (**image results only**) is the location printed in the page title, for example `Chattanooga, Tennessee (Hamilton County)` or `Montgomery County, Texas`, with the odd space after the opening bracket removed. It is absent when the title is cut or has another shape. Web results show no location.
- `summary` / `description` (**web results only**) are the text Google shows for the page (`descriptionLevel` is `google-snippet`). It is a short excerpt, not the full listing description.
- `askingPrice` and `cashFlow` (**web results only**) are set only when the result text prints the label directly followed by an amount (for example `Asking Price$149,000`) and prints that label only once (a text with several labels may describe other listings). Amounts are US-dollar labels as printed; no currency code is added. Revenue, EBITDA, images, broker details and other fields are not returned by the Google source. A missing field is absent, never guessed.
- `sourceUrl` is the exact listing URL of the Google result and `dataOrigin` is `google-serp-images` or `google-serp`. `serpPosition` is the position among the distinct landing pages of the Google page (images) or in the Google results (web).
- Listings are de-duplicated by `listingId`. `RUN_SUMMARY` in the key-value store records the Google queries, the number of Google requests (`googleRequests`), the results read, how many were not listing pages, how many were left out by the state check (`otherState`, `locationNotShown`), how many searches Google answered without image results (`imagePagesWithoutResults`) and, for the web source, how many results were skipped because Google printed no readable URL (`opaqueLinks`).

### Measured results (2026-11-14)

Single Google Images requests through `GOOGLE_SERP` while building the actor (not the actor's own runs):

| Query sent to Google | Image results | Distinct BizQuest listing pages |
|----------------------|---------------|---------------------------------|
| `site:bizquest.com/business-for-sale gym` | 99 | 65 |
| `site:bizquest.com/business-for-sale gym Ohio` | 37 | 17: 15 in Ohio, 2 in California (the state check drops those two) |

Runs of the actor on the Apify platform on 2026-11-14 (build 0.1.13; later builds change only the request timeout; default settings, so `maxItems` was 50; one Google request each, as `RUN_SUMMARY.googleRequests` and the run's `PROXY_SERPS` usage show):

| Input | Records | Distinct listing pages read | Left out |
|-------|---------|-----------------------------|----------|
| `keyword: "laundromat"` | 50 (the limit) | 77 | 0 |
| `keyword: "restaurant", location: "Texas"` | 50 (the limit), all in Texas | 77 | 8 in another state |
| `keyword: "car wash", location: "Florida"` | 32, all in Florida | 39 | 6 in another state, 1 not a listing page |
| no input (defaults) | 48 | 48 | 0 |

A second series of five runs on build 0.1.14 (started at the same time as runs of two other Google-based actors) returned 50 (`laundromat`), 50 (`restaurant`, Texas), 31 (`car wash`, Florida) and 3 (`dental practice`, California; 73 distinct image results, 70 of them not BizQuest listing pages) listings, and failed for `pizza`: Google answered after 60 seconds without any image result. Whether running in parallel matters is not established.

In the first four runs every record had `listingId`, `title`, `url` and `location`; no record had a result text, asking price or cash flow, and none was a duplicate.

### Limits of the Google source

- Results are the listing pages that Google has indexed and ranks for your words. Listings that Google does not return are not found, listings may already be sold, and the result text can be older than the live page.
- One Google Images page shows at most about 100 image results, which contain fewer distinct listing pages. The images source reads **one page per search**: `start=` did not page through image results reliably (2026-11-14: `start=10` returned 76 image pages for `gym`, 59 of them new; but for a Trustpilot query and a 99acres query it returned a web results page without any image, or mostly unrelated pages; Google links to no page beyond it). A second search with other words gives more listings.
- Google sometimes answers an image request with its web layout and no image results. The actor then reads nothing from that search, does not request the page again to get a different layout, and fails the run with a message that says so if nothing else was found. In the test runs of 2026-11-14 such answers also came after a long wait (60 to 76 seconds, against 3 to 35 seconds for answers that had image results), so the actor treats an image request that takes longer than 45 seconds as a timeout and asks once more; that is the only repeat it makes. `RUN_SUMMARY` (`emptyImagePages`, or `emptyImagePage`) and the run log then show the size and title of the page that came back.
- The web source loses the results for which Google printed only an opaque redirect link, and its number of rows changes from run to run and can be zero.
- If Google answers a search with a CAPTCHA or unusual-traffic page, or with an HTTP error status, the run stops with an error. A search is repeated once only after a timeout or a failed connection.

### Proxy and billing

The Google source uses only the Apify `GOOGLE_SERP` proxy group (billed per search page; your account needs access to it). The images source sends one search per query. The `site` source uses the proxy you configure, by default RESIDENTIAL in the US.

### Tests

`npm test` runs the unit tests (`node --test`), which use result elements copied from real Google Images pages and a fake proxy on localhost, and send no request to Google or BizQuest.

# Changelog

This Actor's version history is a separate document: https://apify.com/scrapeai/bizquest-scraper/changelog.md

# Actor input Schema

## `dataSource` (type: `string`):

Google Search results are read through the Apify GOOGLE_SERP proxy group (see "Google result source": Google Images by default) and return the listing URL, the listing ID and the title; the images source adds the location, the web source the result text with asking price or cash flow when Google prints them. The site option requests the BizQuest browse pages themselves once through the proxy below; robots.txt is read first and the run stops without requesting any page if it cannot be read or disallows the path; BizQuest's bot protection currently answers HTTP 403 or drops the connection, and the run then fails without retrying.

## `resultSource` (type: `string`):

Only for the Google Search data source. Images (default): reads one Google Images result page per search; every image result gives the listing URL, the listing title and the location, but no result text, asking price or cash flow. Web: reads Google web results, which also give the result text (with the asking price or cash flow when Google prints them); Google often prints only opaque redirect links instead of the result URLs, which the actor never follows, so many results (sometimes all) are lost.

## `keyword` (type: `string`):

Google Search source: added to the Google query (for example 'restaurant'); results are what Google ranks for it. Site source: case-insensitive phrase filter over the listing title and summary.

## `location` (type: `string`):

Google Search source: the state name is added to the Google query. Google Images results show the location of every listing, so results whose state is another one (or not shown) are left out; the web source does not show the location, so its results are not checked. Site source: resolved against the state links on BizQuest and every output location must match. For cities/counties use keyword words or a native filtered start URL.

## `startUrls` (type: `array`):

Public BizQuest browse/search URLs. Site source: the pages that are requested; query strings and source Next links are preserved. Google Search source: the URLs are not requested, only their path words (a category or state) are added to the Google query.

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

Maximum distinct listings across all searches or start URLs. Google Images results are limited to what one Google page shows (typically 15 to 70 listings per search), so the run can return fewer.

## `maxPages` (type: `integer`):

Google Search source, web results only: Google result pages to read per search (10 results each; each page is billed as one search by the GOOGLE_SERP proxy). Google Images results are read with one request per search, because the start offset does not page through image results reliably. Site source: maximum source-provided result pages per start URL.

## `googleCountry` (type: `string`):

Google Search source: two-letter country code passed to Google (the gl parameter). It only changes ranking slightly because results are limited to bizquest.com listing pages.

## `fetchDetails` (type: `boolean`):

Site source only: attempts each public detail URL once. Source errors are reported and the listing summary remains labelled. Ignored by the Google Search source, which never opens listing pages.

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

Used only when the data source is 'site'. The Google Search source always uses the GOOGLE_SERP proxy group. BizQuest answered datacenter and US residential proxies with HTTP 403 or a dropped connection when this actor was last verified (November 2026).

## `targetInput` (type: `object`):

Optional legacy input mapping. The smallest positive top-level or nested item limit is retained.

## Actor input object example

```json
{
  "dataSource": "google-serp",
  "resultSource": "images",
  "startUrls": [
    "https://www.bizquest.com/businesses-for-sale/"
  ],
  "maxItems": 50,
  "maxPages": 3,
  "googleCountry": "gb",
  "fetchDetails": false,
  "proxyConfiguration": {
    "apifyProxyCountry": "US",
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "startUrls": [
        "https://www.bizquest.com/businesses-for-sale/"
    ],
    "googleCountry": "gb"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeai/bizquest-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 = {
    "startUrls": ["https://www.bizquest.com/businesses-for-sale/"],
    "googleCountry": "gb",
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeai/bizquest-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 '{
  "startUrls": [
    "https://www.bizquest.com/businesses-for-sale/"
  ],
  "googleCountry": "gb"
}' |
apify call scrapeai/bizquest-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapeai/bizquest-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/JCUimgdC46DsgKISr/builds/bx2Upy5fcSgUfnaIe/openapi.json
