> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# SMB Data Sets

> Complete guide to SMB and local business data sources in Deepline — Google Maps business data, local search, reviews, photos, and contact extraction.

Deepline provides access to Google Maps business data through multiple tools, giving you structured records for any local business: name, phone, address, rating, website, hours, and optionally extracted emails. This is the foundation for selling to SMBs — find the businesses first, then identify decision makers.

<Tip>
  **Quick start:** In Claude Code, type `/deepline-gtm Find 20 dentists in
      Austin TX with phone numbers and emails` — Deepline handles tool selection,
  pagination, and email extraction automatically.
</Tip>

| Data Source                | Primary Use                           | Output Fields                                        |
| -------------------------- | ------------------------------------- | ---------------------------------------------------- |
| Google Maps (OpenWebNinja) | Structured local business search      | name, phone, address, rating, website, hours, emails |
| Google Maps (Serper)       | Fast discovery and broad geo coverage | name, address, phone, rating, cid                    |
| Forager Organizations      | B2B company search (not map-based)    | name, domain, industry, size, revenue, tech stack    |

***

## Google Maps Business Data (OpenWebNinja)

The primary SMB data source. Returns structured Google Maps business records with full detail: phone numbers, addresses, ratings, review counts, websites, hours of operation, and optionally extracted emails from business websites.

### Available Tools

| Tool                                           | Use Case                               | Key Parameters                        |
| ---------------------------------------------- | -------------------------------------- | ------------------------------------- |
| `openwebninja_localbusiness_search`            | Search by keyword + location           | `query`, `location`, `limit`          |
| `openwebninja_localbusiness_search_in_area`    | Search within map bounds               | `query`, `area`, `limit`              |
| `openwebninja_localbusiness_search_nearby`     | Search within radius of coordinates    | `query`, `lat`, `lng`, `radius_miles` |
| `openwebninja_localbusiness_business_details`  | Full details for specific business IDs | `business_id`                         |
| `openwebninja_localbusiness_business_reviews`  | Paginate business reviews              | `business_id`, `limit`                |
| `openwebninja_localbusiness_business_photos`   | List business photos/videos            | `business_id`                         |
| `openwebninja_localbusiness_business_posts`    | Owner posts on business profile        | `business_id`                         |
| `openwebninja_localbusiness_reverse_geocoding` | Coordinates to place context           | `lat`, `lng`                          |
| `openwebninja_localbusiness_autocomplete`      | Business/address suggestions           | `query`                               |

### Output Fields

Every search returns structured records with these fields:

```json theme={null}
{
  "name": "Austin Family Dentistry",
  "phone_number": "+1-512-555-0123",
  "address": "1234 Main St, Austin, TX 78701",
  "rating": 4.8,
  "review_count": 247,
  "website": "https://austinfamilydentistry.com",
  "hours": "Mon-Fri 8am-5pm",
  "place_id": "ChIJ...",
  "latitude": 30.2672,
  "longitude": -97.7431,
  "business_status": "OPERATIONAL",
  "types": ["dentist", "health"]
}
```

### Email Extraction

Set `extract_emails_and_contacts=true` to scrape contact emails from business websites. This adds one extra credit per business but significantly increases contact coverage.

```bash theme={null}
deepline tools execute openwebninja_localbusiness_search \
  --payload '{"query":"dentists","location":"Austin, TX","limit":20,"extract_emails_and_contacts":true}'
```

### Cost

* **Search operations**: \~\$0.004 per business (0.4 Deepline credits)
* **Email extraction**: +\$0.004 per business when enabled
* **Business details**: \~\$0.004 per business ID

<Accordion title="CLI examples">
  ```bash theme={null}
  # Basic search
  deepline tools execute openwebninja_localbusiness_search \
    --payload '{"query":"med spas","location":"Los Angeles, CA","limit":50}'

  # Area-bounded search
  deepline tools execute openwebninja_localbusiness_search_in_area \
    --payload '{"query":"plumbers","area":"Manhattan, NY","limit":30}'

  # Radius search
  deepline tools execute openwebninja_localbusiness_search_nearby \
    --payload '{"query":"restaurants","lat":41.8781,"lng":-87.6298,"radius_miles":5,"limit":25}'

  # With email extraction
  deepline tools execute openwebninja_localbusiness_search \
    --payload '{"query":"chiropractors","location":"Denver, CO","limit":20,"extract_emails_and_contacts":true}'

  # Get full details for a business
  deepline tools execute openwebninja_localbusiness_business_details \
    --payload '{"business_id":"ChIJ..."}'

  # Get reviews for competitive intel
  deepline tools execute openwebninja_localbusiness_business_reviews \
    --payload '{"business_id":"ChIJ...","limit":100}'
  ```
</Accordion>

***

## Google Maps Search (Serper)

Fast, lightweight Google Maps search. Better for broad discovery and query tuning before scaling with OpenWebNinja.

### Tool

| Tool                        | Use Case            | Key Parameters |
| --------------------------- | ------------------- | -------------- |
| `serper_google_maps_search` | Fast Maps discovery | `query`, `num` |

### Output Fields

```json theme={null}
{
  "title": "Austin Family Dentistry",
  "address": "1234 Main St, Austin, TX 78701",
  "phoneNumber": "+1-512-555-0123",
  "rating": 4.8,
  "ratingCount": 247,
  "cid": "1234567890",
  "website": "https://austinfamilydentistry.com"
}
```

### When to Use Serper vs OpenWebNinja

| Scenario                          | Use          |
| --------------------------------- | ------------ |
| Quick discovery, query tuning     | Serper       |
| Broad geographic sweep            | Serper       |
| Need structured output for export | OpenWebNinja |
| Need email extraction             | OpenWebNinja |
| Need reviews, photos, posts       | OpenWebNinja |

### Cost

* **Serper Maps**: \~\$0.004 per query (0.4 Deepline credits)

<Accordion title="CLI example">
  ```bash theme={null}
  deepline tools execute serper_google_maps_search \
    --payload '{"query":"dentists in Austin TX","num":20}'
  ```
</Accordion>

***

## Forager Organization Search

Not map-based, but useful for B2B company discovery by industry, size, revenue, and technology stack. Complements local business search when you need firmographic filtering.

### Tool

| Tool                                 | Use Case                        | Key Parameters                                                             |
| ------------------------------------ | ------------------------------- | -------------------------------------------------------------------------- |
| `forager_organization_search`        | B2B company search with filters | `organization_description`, `organization_locations`, `organization_sizes` |
| `forager_organization_search_totals` | Preview result count (free)     | Same as above                                                              |

### Output Fields

```json theme={null}
{
  "organization_id": "org_abc123",
  "name": "Austin Family Dentistry",
  "domain": "austinfamilydentistry.com",
  "industry": "Healthcare",
  "employee_count": 15,
  "revenue_range": "$1M-$5M",
  "technologies": ["Square", "Dentrix"]
}
```

### When to Use Forager

* Need firmographic filtering (revenue, employee count, tech stack)
* Searching by industry categories rather than location
* Need to cross-reference with Forager person data for decision makers

### Cost

* **Totals query**: Free
* **Search results**: 1 credit per page

***

## Combining Data Sources

The typical SMB prospecting workflow chains these sources:

<Steps>
  <Step title="Discover with Serper Maps">
    Fast query tuning: `serper_google_maps_search` to find businesses and refine
    your search terms.
  </Step>

  <Step title="Extract with OpenWebNinja">
    Structured export: `openwebninja_localbusiness_search` with
    `extract_emails_and_contacts=true` for the final list.
  </Step>

  <Step title="Find decision makers">
    Contact discovery: `company_to_contact_by_role_waterfall` with role="owner"
    or "practice manager".
  </Step>

  <Step title="Get verified emails">
    Email waterfall: `name_and_domain_to_email_waterfall` for each decision
    maker.
  </Step>
</Steps>

<Info>
  For the full prospecting workflow, see [SMB
  Prospecting](/plays/play-personalize-outreach) and [Find Decision
  Makers](/plays/task-find-decision-makers).
</Info>

***

## Data Quality Notes

* **Phone numbers**: Google Maps phone data is generally accurate for active businesses
* **Addresses**: Verified by Google; includes lat/lng for mapping
* **Ratings**: Real-time Google ratings and review counts
* **Websites**: May be outdated for some businesses; email extraction scrapes current site
* **Business status**: Includes OPERATIONAL, CLOSED\_TEMPORARILY, CLOSED\_PERMANENTLY flags

***

## Example: Find Med Spas in Miami

```text theme={null}
/deepline-gtm Find 30 med spas in Miami, FL. Include phone numbers, websites, and ratings.
Extract emails from their websites. Output to miami_medspas.csv.
```

Deepline will:

1. Search Google Maps via `openwebninja_localbusiness_search`
2. Extract emails with `extract_emails_and_contacts=true`
3. Output structured CSV with all fields

***

## Example: Full SMB Outbound Pipeline

```text theme={null}
/deepline-gtm Find 20 chiropractors in Denver, CO. Get the owner or practice manager for each one.
Find their work emails. Output to denver_chiro_prospects.csv with columns:
business_name, address, phone, website, rating, contact_name, contact_title, contact_email
```

Deepline will:

1. Search Google Maps for chiropractors
2. Use `company_to_contact_by_role_waterfall` to find decision makers
3. Run email waterfall for each contact
4. Output combined CSV

***

**Related:** [Prospecting and multi-signal outreach](/plays/play-personalize-outreach) | [Find Decision Makers](/plays/task-find-decision-makers) | [Find Work Email](/plays/task-find-work-email)

## Frequently Asked Questions

### What SMB data sources does Deepline support?

Deepline provides access to Google Maps business data through two providers: OpenWebNinja (structured, detailed records with email extraction) and Serper (fast discovery). For B2B firmographic data, Forager organization search complements local business data with revenue, employee count, and tech stack filtering.

### Can I get emails for local businesses?

Yes. Set `extract_emails_and_contacts=true` on OpenWebNinja local business search. Deepline scrapes business websites for contact emails and returns them alongside the Google Maps data. This adds \~\$0.004 per business.

### What's the difference between OpenWebNinja and Serper Maps?

Serper is faster and cheaper for discovery and query tuning. OpenWebNinja returns more structured data (hours, business status, place IDs) and supports email extraction, reviews, photos, and posts. Use Serper to explore, OpenWebNinja to build your final list.

### How do I find the owner of an SMB?

After finding the business with local search, use `company_to_contact_by_role_waterfall` with role="owner" or "practice manager". Deepline searches across 5 providers and expands role titles automatically.

### What data fields do I get for each local business?

Google Maps data includes: business name, phone number, full address, latitude/longitude, rating, review count, website URL, hours of operation, business status (open/closed), place ID, and business categories. With email extraction enabled, you also get contact emails scraped from the business website.

### How much does SMB data cost?

OpenWebNinja local business search costs \~$0.004 per business (0.4 Deepline credits). Email extraction adds ~$0.004 per business. Serper Maps costs \~\$0.004 per query. A full pipeline of 50 businesses with email extraction and decision maker discovery typically uses 100-200 credits.
