Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIBusinessesForSale.com

    businessesforsale.search

    Businesses for sale on a BusinessesForSale.com search page, by sector and place: asking price, revenue, cash flow or profit, location, labels and whether a broker lists it.

    Id
    businessesforsale.search
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/businessesforsale.search/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of businessesforsale.search
    FieldTypeDescription
    urlrequiredstringThe address of one of the site's search pages: a sector and a place as the site's own pages name them, on a country site or the international one, e.g. https://us.businessesforsale.com/us/search/businesses-for-sale-in-texas, https://us.businessesforsale.com/us/search/restaurants-for-sale-in-austin, https://uk.businessesforsale.com/uk/search/businesses-for-sale-in-london or https://canada.businessesforsale.com/canadian/search/businesses-for-sale-in-ontario. A query string is not read.Limit: at least 20 characters, at most 2048 characters.
    pageintegerThe page of results, 25 a page. Default: the page the address names (its -N ending), else the first.Limit: 1 to 400.
    include_franchisesbooleanAlso return the franchises' advertisements the page shows among the businesses.Default: false.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of businessesforsale.search
    FieldTypeNotes
    positionintegerThe result's place among those returned, from 1, in the site's order.
    pageintegerThe page of results it was on, from 1.
    kind"business" | "franchise" | "m_and_a_vault"business: a business for sale; m_and_a_vault: a teaser of a larger company in the site's M&A Vault; franchise: a franchise's advertisement, returned only when include_franchises is set.
    listing_idstringThe site's id: digits for a business, MV... for an M&A Vault teaser, FST... for a franchise.
    urlstringThe result's page. businessesforsale.listing takes a business's or a teaser's.
    titlestringThe title, as the site writes it.
    locationstring or nullWhere it is, as the card writes it, e.g. Austin, Texas, US.
    asking_priceinteger or nullThe asking price, when the card states one amount.
    asking_price_textstring or nullThe asking price as written, e.g. $66,000, On request.
    revenueinteger or nullThe yearly revenue (turnover), when the card states one amount.
    revenue_textstring or nullThe revenue as written.
    revenue_labelstring or nullWhat the card calls it: Revenue (US) or Turnover (UK).
    cash_flowinteger or nullThe cash flow or net profit, when the card states one amount.
    cash_flow_textstring or nullThe cash flow or profit as written, e.g. $94,332, $500K - $2.5M.
    cash_flow_labelstring or nullWhat the card calls it: Cash Flow (US) or Net Profit (UK).
    currencystring or nullThe currency of the amounts, from their sign and the country site, e.g. USD, GBP.
    financialsobject of string valuesEvery figure the card shows, as label and text, e.g. a franchise's Franchise Fee.
    labelsarray of stringThe card's labels, e.g. Business, New, Price Reduced, High Value.
    tagsarray of stringThe card's tags, e.g. Lease, Relocatable, Quick Sale, Owner Financed.
    brokeredboolean or nullTrue when the card's button contacts a broker, false when it contacts the seller.
    summarystring or nullThe start of the description the card shows.
    imagestring or nullThe card's picture.
    total_resultsinteger or nullHow many results the search has, the same on every record.
    fetched_atstring (date-time)When BusinessesForSale.com answered, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/businessesforsale.search/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"url":"https://us.businessesforsale.com/us/search/businesses-for-sale-in-texas"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("businessesforsale.search", {
        "url": "https://us.businessesforsale.com/us/search/businesses-for-sale-in-texas",
    })
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("businessesforsale.search", {
      url: "https://us.businessesforsale.com/us/search/businesses-for-sale-in-texas",
    });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "businessesforsale.search", map[string]any{"url": "https://us.businessesforsale.com/us/search/businesses-for-sale-in-texas"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("businessesforsale.search", Map.of("url", "https://us.businessesforsale.com/us/search/businesses-for-sale-in-texas"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run businessesforsale.search --input url=https://us.businessesforsale.com/us/search/businesses-for-sale-in-texas

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "url": "https://us.businessesforsale.com/us/search/businesses-for-sale-in-texas"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "businessesforsale.search",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "url": "https://us.businessesforsale.com/us/search/businesses-for-sale-in-texas"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "position": 1,
          "page": 1,
          "kind": "business",
          "listing_id": "4020151",
          "url": "https://us.businessesforsale.com/us/established-turnkey-food-business-downtown-austin.aspx",
          "title": "Established Turnkey Food Business – Downtown Austin",
          "location": "Austin, Texas, US",
          "asking_price": 66000,
          "asking_price_text": "$66,000",
          "revenue": 150000,
          "revenue_text": "$150,000",
          "revenue_label": "Revenue",
          "cash_flow": null,
          "cash_flow_text": "On request",
          "cash_flow_label": "Cash Flow",
          "currency": "USD",
          "financials": {
            "Asking Price": "$66,000",
            "Revenue": "$150,000",
            "Cash Flow": "On request"
          },
          "labels": [
            "Business"
          ],
          "tags": [
            "Lease",
            "Relocatable",
            "Quick Sale"
          ],
          "brokered": false,
          "summary": "Established Turnkey Food Business for Sale – Downtown Austin, TX. An excellent opportunity to acquire an established, fully equipped food business in Downtown Austin, Texas. This is much more than a...",
          "image": "https://us.businessesforsale.com/uploadsstatic/a4020151mediumthumbnail.jpg?oSfqTIkd07RNLLAk3ogJ5Q==",
          "total_results": 1925,
          "fetched_at": "2026-11-24T18:50:58.666997Z"
        }
      ],
      "next_cursor": null
    }

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the BusinessesForSale.com scrapers are in their own section there.