# DealStream Scraper (`parseforge/dealstream-scraper`) Actor

Supercharge your business acquisition research! Automate daily collection of detailed business listings with advanced filtering capabilities. Get complete business information, financials, broker details, and market intelligence from the official DealStream.com marketplace.

- **URL**: https://apify.com/parseforge/dealstream-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Automation, Developer tools, Lead generation
- **Stats:** 4 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## DealStream Scraper

> 🕒 **Last updated:** 2026-05-05



<table><tr>
<td style="border-left:4px solid #0F766E;padding:12px 16px;font-weight:600">Pull structured records from DealStream — clean fields ready as CSV, JSON, JSONL, Excel, or XML for downstream pipelines.</td>
</tr></table>

##### Copy to your AI assistant

Copy this block into ChatGPT, Claude, Cursor, or any LLM to start using this actor.

````

parseforge/dealstream-scraper on Apify. Call: ApifyClient("TOKEN").actor("parseforge/dealstream-scraper").call(run\_input={...}), then client.dataset(run\["defaultDatasetId"]).list\_items().items for results. Key inputs: searchQuery (string, default "restaurant"), location (string, default "California"), maxItems (integer, default 10). Full actor spec: fetch build via GET https://api.apify.com/v2/acts/parseforge~dealstream-scraper (Bearer TOKEN). Get token: https://console.apify.com/account/integrations

````

🚀 **Supercharge your business acquisition research with our comprehensive DealStream scraper!**

Automate daily collection of detailed business listings with advanced filtering capabilities. Get complete business information, financials, broker details, and market intelligence from the official DealStream.com marketplace. Perfect for business brokers, investors, entrepreneurs, and researchers who need accurate, up-to-date business intelligence without manual work.

**Target Audience:** Business brokers, investors, entrepreneurs, market researchers, and business acquisition professionals  
**Primary Use Cases:** Business acquisition research, market analysis, lead generation, competitive intelligence, and investment opportunity identification

### What Does DealStream Scraper Do?

This tool collects comprehensive business listing data from DealStream.com, supporting both targeted searches and broad market analysis. It delivers:

- **Business Details** - Complete business names, descriptions, and industry classifications
- **Financial Information** - Asking prices, sales figures, cash flow data, and revenue metrics
- **Location Data** - Geographic information including state, country, and specific locations
- **Deal Terms** - Broker information, financing options, buyer fees, and deal conditions
- **Business Characteristics** - Franchise status, relocatability, real estate inclusion, and management details
- **Listing Information** - Posting dates, renewal dates, and showcase status
- **Supporting Documents** - PDF links and business images
- And more

**Business Value:** This data helps you identify investment opportunities, analyze market trends, track competitor activity, and make informed business acquisition decisions with comprehensive market intelligence.

### How to use the DealStream Scraper - Full Demo

[YouTube video embed or link]

_Watch this 3-minute demo to see how easy it is to get started!_

### 🔧 Input

To start DealStream web scraping, simply fill in the input form. You can scrape DealStream based on:

- **Search Query** - Type business keywords like "restaurant", "retail", or "manufacturing" to find specific types of businesses
- **Location** - Enter city, state, or region (e.g., "California", "New York", "Texas") to focus on specific geographic areas
- **Max Items** - Choose how many businesses to collect (free users limited to 100 items)

Here's what the filled-out input schema looks like:

![Input Configuration](https://github.com/ParseForge/apify-assets/blob/main/dealstream-scraper/input.png?raw=1)

And here it is written in JSON:

```json
{
  "searchQuery": "restaurant",
  "location": "California",
  "maxItems": 10
}
````

### 📊 Output

After the Actor finishes its run, you'll get a dataset with the output. The length of the dataset depends on the amount of results you've set. You can download those results as an Excel, HTML, XML, JSON, and CSV document.

Here's an example of scraped DealStream data you'll get if you decide to scrape restaurants in California:

![Output Example](https://github.com/ParseForge/apify-assets/blob/main/dealstream-scraper/output.png?raw=1)

```json
{
  "id": "68edac809be4fc7e24187ea8",
  "title": "Popular Italian Restaurant in Downtown",
  "asking_price": 450000,
  "url": "https://dealstream.com/d/biz-sale/restaurants/68edac809be4fc7e24187ea8",
  "location": "Los Angeles, CA",
  "location_state": "CA",
  "location_country": "USA",
  "sales": 850000,
  "cash_flow": 180000,
  "industry": "Restaurant",
  "management_will_stay": true,
  "represented_by_broker": "ABC Business Brokers",
  "buyer_fee": "10%",
  "deal_seller_financing": "Available",
  "willing_to_cobroke": "Yes",
  "principals_only": "No",
  "deal_franchise": "No",
  "relocatable": "Yes",
  "deal_real_estate": "Included",
  "isShowcasedDeal": false,
  "listed_on_date": "2024-01-15",
  "listed_renewed_on_date": "2024-02-15",
  "description": "Established Italian restaurant in prime downtown location with loyal customer base...",
  "short_description": "Prime downtown Italian restaurant with strong cash flow",
  "pdf_url": "https://dealstream.com/pdf/restaurant-details.pdf",
  "images": ["https://dealstream.com/images/restaurant1.jpg", "https://dealstream.com/images/restaurant2.jpg"],
  "converted_from": "USD",
  "exchange_rate": 1.0,
  "posted_date": "2024-01-15T10:30:00Z",
  "last_updated": "2024-02-15T14:20:00Z",
  "scraped_timestamp": "2024-02-20T09:15:00Z"
}
```

**What You Get:** Complete business intelligence including financial metrics, location data, deal terms, and supporting documents for comprehensive market analysis\
**Download Options:** CSV, Excel, or JSON formats for easy analysis and integration with your business tools

### ⚡ Why Choose the DealStream Scraper?

- **🎯 Comprehensive Data Collection**: Get complete business listings with financials, location, and deal terms in one automated process
- **⏰ Time Savings**: Save 20+ hours per week compared to manual research - focus on analysis instead of data collection
- **💰 Cost Efficiency**: Fraction of the cost of hiring business researchers or using expensive market intelligence services
- **🔄 Automated Updates**: Schedule regular runs to stay current with market changes and new opportunities
- **🛡️ Reliable & Secure**: Built on Apify's enterprise-grade platform with 99.9% uptime and secure data handling
- **📈 Scalable**: Process thousands of listings across multiple markets simultaneously

**Time Savings:** Automate what would take 20+ hours of manual research into minutes of automated data collection\
**Cost Efficiency:** Save $2,000+ per month compared to hiring business researchers or using premium market intelligence services

### 🔧 How to Use

1. **📱 Sign Up**: Create a free Apify account (takes 2 minutes)
2. **🎯 Find the Scraper**: Visit the DealStream Scraper page
3. **⚙️ Set Input**: Add your search query and location (we'll show you exactly what to enter)
4. **🚀 Run It**: Click "Start" and let it collect your data
5. **📊 Download Data**: Get your results in the "Dataset" tab as CSV, Excel, or JSON

**Total Time:** 5 minutes from signup to downloaded results\
**No Technical Skills Required:** Everything is point-and-click with clear instructions

### 🎯 Business Use Cases

**Business Brokers:**

- Track new business listings daily across multiple markets
- Monitor competitor activity and pricing strategies
- Generate qualified leads for potential buyers
- Build comprehensive market databases for clients

**Investors & Acquirers:**

- Identify investment opportunities in specific industries or locations
- Analyze market trends and pricing patterns
- Track businesses that match acquisition criteria
- Monitor market changes and new opportunities

**Market Researchers:**

- Collect competitive intelligence on business sales
- Analyze pricing strategies across different markets
- Monitor industry trends and market dynamics
- Build comprehensive market databases for analysis

**Entrepreneurs:**

- Find businesses for sale in specific locations
- Research market opportunities and competition
- Identify potential acquisition targets
- Analyze business valuations and market conditions

### 🔗 Using DealStream Scraper with the Apify API

For advanced users who want to automate this process, you can control the scraper programmatically with the Apify API. This allows you to schedule regular data collection and integrate with your existing business tools.

- **Node.js**: Install the apify-client NPM package
- **Python**: Use the apify-client PyPI package
- See the [Apify API reference](https://docs.apify.com/api/v2) for full details

### ✨ Why choose this Actor

| | Capability |
|---|---|
| 🎯 | **Built for the job.** Scoped specifically to this data source so you skip the parser engineering entirely. |
| 🔖 | **Structured output.** Clean, typed fields ready for analysis, dashboards, or downstream pipelines. |
| ⚡ | **Fast.** Optimized request patterns return results in seconds, not minutes. |
| 🔁 | **Always fresh.** Every run pulls live data, so the dataset reflects the source as of run time. |
| 🌐 | **No infra to manage.** Apify handles proxies, retries, scaling, scheduling, and storage. |
| 🛡️ | **Reliable.** Battle-tested across many runs and edge cases, with graceful error handling. |
| 🚫 | **No code required.** Configure in the UI, run from CLI, schedule via cron, or call from any language with the Apify SDK. |

> 📊 Production-grade structured data without the engineering overhead of building and maintaining your own scraper.

***

### 📈 How it compares to alternatives

| Approach | Cost | Coverage | Refresh | Filters | Setup |
|---|---|---|---|---|---|
| **⭐ DealStream Scraper** *(this Actor)* | $5 free credit, then pay-per-use | Full source coverage | **Live per run** | Source-native filters supported | ⚡ 2 min |
| Build your own scraper | Engineering hours | Full once built | Whenever you maintain it | Custom code | 🐢 Days to weeks |
| Paid managed APIs | $$$ monthly | Vendor-defined | Live | Vendor-defined | ⏳ Hours |
| Third-party data dumps | Varies | Subset, often stale | Periodic | None | 🕒 Variable |

Pick this Actor when you want broad coverage, server-side filtering, and no pipeline maintenance.

***

### 💼 Business use cases

<table>
<tr>
<td width="50%" valign="top">

#### 📊 Data & Analytics

- Build trend reports and dashboards from live source data
- Feed BI tools, warehouses, and ML pipelines with structured records
- Run periodic snapshots to track changes over time
- Compare segments, regions, or categories with consistent fields

</td>
<td width="50%" valign="top">

#### 🏢 Operations & Strategy

- Monitor competitor moves, pricing, and inventory shifts
- Build internal directories and lookup tools backed by current data
- Power workflows that depend on fresh source records
- Cut manual data-gathering time from hours to minutes

</td>
</tr>
<tr>
<td width="50%" valign="top">

#### 🎯 Marketing & Growth

- Identify market opportunities and trending topics
- Research target audiences and customer personas at scale
- Power lead-generation pipelines with verified records
- Track sentiment, reviews, or social signals over time

</td>
<td width="50%" valign="top">

#### 🛠️ Engineering & Product

- Prototype features that need real-world data without owning a crawler
- Replace fragile in-house scrapers with a managed Actor
- Wire datasets into your apps via the Apify API or webhooks
- Skip the proxy, retry, and parsing maintenance entirely

</td>
</tr>
</table>

***

### 🌟 Beyond business use cases

Data like this powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

<table>
<tr>
<td width="50%">

#### 🎓 Research and academia

- Empirical datasets for papers, thesis work, and coursework
- Longitudinal studies tracking changes across snapshots
- Reproducible research with cited, versioned data pulls
- Classroom exercises on data analysis and ethical scraping

</td>
<td width="50%">

#### 🎨 Personal and creative

- Side projects, portfolio demos, and indie app launches
- Data visualizations, dashboards, and infographics
- Content research for bloggers, YouTubers, and podcasters
- Hobbyist collections and personal trackers

</td>
</tr>
<tr>
<td width="50%">

#### 🤝 Non-profit and civic

- Transparency reporting and accountability projects
- Advocacy campaigns backed by public-interest data
- Community-run databases for local issues
- Investigative journalism on public records

</td>
<td width="50%">

#### 🧪 Experimentation

- Prototype AI and machine-learning pipelines with real data
- Validate product-market hypotheses before engineering spend
- Train small domain-specific models on niche corpora
- Test dashboard concepts with live input

</td>
</tr>
</table>

***

### 🔌 Integrate with any app

DealStream Scraper connects to any cloud service via [Apify integrations](https://apify.com/integrations):

- [**Make**](https://docs.apify.com/platform/integrations/make) - Automate multi-step workflows
- [**Zapier**](https://docs.apify.com/platform/integrations/zapier) - Connect with 5,000+ apps
- [**Slack**](https://docs.apify.com/platform/integrations/slack) - Get run notifications in your channels
- [**Airbyte**](https://docs.apify.com/platform/integrations/airbyte) - Pipe results into your warehouse
- [**GitHub**](https://docs.apify.com/platform/integrations/github) - Trigger runs from commits and releases
- [**Google Drive**](https://docs.apify.com/platform/integrations/drive) - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes. Push fresh data into your product backend, or alert your team in Slack.

***

### 🤖 Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:

- 💬 [**ChatGPT**](https://chat.openai.com/?q=How%20do%20I%20use%20the%20DEALSTREAM%20SCRAPER%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🧠 [**Claude**](https://claude.ai/new?q=How%20do%20I%20use%20the%20DEALSTREAM%20SCRAPER%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🔍 [**Perplexity**](https://perplexity.ai/search?q=How%20do%20I%20use%20the%20DEALSTREAM%20SCRAPER%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)
- 🅒 [**Copilot**](https://copilot.microsoft.com/?q=How%20do%20I%20use%20the%20DEALSTREAM%20SCRAPER%20Scraper%20by%20ParseForge%20on%20Apify%3F%20Show%20me%20input%20examples%2C%20output%20fields%2C%20common%20use%20cases%2C%20and%20how%20to%20integrate%20it%20into%20a%20workflow.)

***

### ❓ Frequently Asked Questions

**Q: How much does it cost?**
A: DealStream Scraper uses a **Monthly Rental** pricing model. You get unlimited access to the scraper for a fixed monthly fee. Here's the pricing:

✅ **Monthly Rental** – $19/month

This includes unlimited runs, unlimited data collection, and full access to all features. No per-item charges or hidden fees!

**Q: How accurate is the data?**
A: Our scraper extracts data directly from DealStream.com's official listings, ensuring high accuracy and reliability. We update our extraction methods regularly to maintain data quality.

**Q: Can I schedule regular runs?**
A: Yes! You can schedule the scraper to run automatically using Apify's scheduling features or the API. Perfect for daily market monitoring and trend analysis.

**Q: What if I need help?**
A: Our support team is here to help you get the most out of this tool. Contact us through the Apify platform or check our comprehensive documentation.

**Q: Is my data secure?**
A: Absolutely. All data is processed securely on Apify's enterprise-grade platform with industry-standard encryption and privacy protection.

**Q: Can I filter by specific business types or locations?**
A: Yes! You can search by business keywords (like "restaurant" or "retail") and filter by specific locations (states, cities, or regions) to get exactly the data you need.

### 🔗 Integrate DealStream Scraper with any app and automate your workflow

Last but not least, DealStream Scraper can be connected with almost any cloud service or web app thanks to [integrations](https://apify.com/integrations) on the Apify platform.

These includes:

- [Make](https://docs.apify.com/platform/integrations/make)
- [Zapier](https://docs.apify.com/platform/integrations/zapier)
- [Slack](https://docs.apify.com/platform/integrations/slack)
- [Airbyte](https://docs.apify.com/platform/integrations/airbyte)
- [GitHub](https://docs.apify.com/platform/integrations/github)
- [Google Drive](https://docs.apify.com/platform/integrations/drive)
- and [much more](https://docs.apify.com/platform/integrations).

Alternatively, you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever DealStream Scraper successfully finishes a run.

### 🆘 Need Help?

Our support team is here to help you get the most out of this tool. Whether you need help setting up your first run, understanding the data output, or integrating with your business tools, we're here to support your success.

***

**Ready to transform your business acquisition research?** Start with the DealStream Scraper today and join thousands of professionals who've automated their market intelligence gathering! 🚀

***

### 🔗 Recommended Actors

- [**🔍 Google Search Scraper**](https://apify.com/parseforge/google-search-scraper) - Multi-engine SERP results with country and language targeting
- [**🗺️ Nominatim OSM Scraper**](https://apify.com/parseforge/nominatim-osm-scraper) - Geocode addresses via OpenStreetMap
- [**📊 Indexmundi Scraper**](https://apify.com/parseforge/indexmundi-scraper) - Global demographic and economic indicators
- [**📰 RAG Web Browser**](https://apify.com/parseforge/rag-web-browser) - Crawl and extract clean text from any URL for AI retrieval
- [**🌐 Website Content Crawler**](https://apify.com/parseforge/website-content-crawler) - Crawl entire sites and export structured content

> 💡 **Pro Tip:** browse the complete [ParseForge collection](https://apify.com/parseforge) for more reference-data scrapers.

***

**🆘 Need Help?** [**Open our contact form**](https://tally.so/r/BzdKgA) to request a new scraper, propose a custom data project, or report an issue.

# Actor input Schema

## `searchQuery` (type: `string`):

Search term for businesses (e.g., 'restaurant', 'retail store').

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

Location filter (state, country, or region). Examples: 'California', 'New Jersey', 'United States', 'Texas'

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

Maximum number of businesses to collect (optional). Leave empty for unlimited (paid users only). Free users must specify this parameter and are limited to 100 items.

## Actor input object example

```json
{
  "searchQuery": "restaurant",
  "location": "California",
  "maxItems": 10
}
```

# Actor output Schema

## `overview` (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 = {
    "searchQuery": "restaurant",
    "location": "California",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/dealstream-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 = {
    "searchQuery": "restaurant",
    "location": "California",
    "maxItems": 10,
}

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

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

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

```

## CLI example

```bash
echo '{
  "searchQuery": "restaurant",
  "location": "California",
  "maxItems": 10
}' |
apify call parseforge/dealstream-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=parseforge/dealstream-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "DealStream Scraper",
        "description": "Supercharge your business acquisition research! Automate daily collection of detailed business listings with advanced filtering capabilities. Get complete business information, financials, broker details, and market intelligence from the official DealStream.com marketplace.",
        "version": "1.3",
        "x-build-id": "Mj8gsjHYNVTzMwtJ4"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/parseforge~dealstream-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-parseforge-dealstream-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/parseforge~dealstream-scraper/runs": {
            "post": {
                "operationId": "runs-sync-parseforge-dealstream-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/parseforge~dealstream-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-parseforge-dealstream-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": {
                    "searchQuery": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Search term for businesses (e.g., 'restaurant', 'retail store')."
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "Location filter (state, country, or region). Examples: 'California', 'New Jersey', 'United States', 'Texas'"
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "maximum": 1000000,
                        "type": "integer",
                        "description": "Maximum number of businesses to collect (optional). Leave empty for unlimited (paid users only). Free users must specify this parameter and are limited to 100 items."
                    }
                }
            },
            "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
                                    }
                                }
                            },
                            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
