BusinessesForSale.com search
Businesses and franchises for sale on BusinessesForSale.com, worldwide or in the US, UK, Canada or Mexico, with the site's filters: sector, region, keywords, asking price, revenue, cash flow (profit), disclosed figures only, listing tags (real property, lease, franchise resale, owner financed, price reduced, distressed, relocatable, work from home...), age of the listing, plus sort and page size. Each result has id, kind (business or franchise), link, title, location, labels, asking price, revenue and cash flow (numbers and the site's text, ranges included), franchise fee and investment for franchises, summary, thumbnail and tags. Pass next_page back as page; null on the last page.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
country | all | us | uk | canada | mexico | Market. Example: us |
sector_id | integer | Sector id from /businessesforsale/v1/sectors (e.g. 1293601 = Food). Example: 1293601 |
region_id | integer | Region id within the chosen country market (as in applied_filters.region_ids, e.g. 1007401 = California with country=us). |
keywords | string | Keywords. |
price_min | number | Minimum asking price. |
price_max | number | Maximum asking price. |
revenue_min | number | Minimum revenue. |
revenue_max | number | Maximum revenue. |
profit_min | number | Minimum cash flow / net profit. |
profit_max | number | Maximum cash flow / net profit. |
price_disclosed | boolean | Only listings that show an asking price. |
revenue_disclosed | boolean | Only listings that show revenue. |
profit_disclosed | boolean | Only listings that show profit. |
tags | string | Listing tags, comma list: real_property, lease, new_lease, existing_lease, relocatable, work_from_home, accommodation_included, franchise, new_franchise, franchise_resale, business_opportunity, price_reduced, mid_market, distressed, turnaround, bankruptcy, closed_asset_sale, low_cost, owner_financed, hidden_gem, quick_sale, owner_managed, employee_owned, absentee_ownership. |
added_within_days | 3 | 14 | 30 | 90 | Listed or updated in the last 3, 14, 30 or 90 days. |
sort | relevance | newest | price_asc | price_desc | revenue_asc | revenue_desc | profit_asc | profit_desc | Sort order. Example: relevance |
limit | 25 | 50 | 100 | Results per page. |
page | integer | Result page (1 = first). Example: 1 |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/businessesforsale/v1/search?country=us" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/businessesforsale/v1/search",
params={"country": "us"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/businessesforsale/v1/search");
url.searchParams.set("country", "us");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).