# Square Merchant Finder Discover Businesses Using Square (`alizarin_refrigerator-owner/square-merchant-finder-discover-businesses-using-square`) Actor

Find businesses using Square. This actor scans websites for Square integration signatures, searches Google for Square-powered sites or checks specific URLs you provide.

Website Scanner
Google Dork Search
URL List Checker
Square.site Crawler
Contact Extraction
Social Media Links
Confidence Scoring

- **URL**: https://apify.com/alizarin_refrigerator-owner/square-merchant-finder-discover-businesses-using-square.md
- **Developed by:** [The Howlers](https://apify.com/alizarin_refrigerator-owner) (community)
- **Categories:** Lead generation, Other, Developer tools
- **Features:** Limited permissions
- **Stats:** 19 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Square Merchant Finder - Discover Businesses Using Square

Discover businesses using Square payments, appointments, and online stores. Scan websites for Square integration signatures, search Google for Square-powered sites, or check specific URLs.

***

### Quick Start

#### Run with real data

```json
{
  "method": "scanner",
  "searchQuery": "coffee shop new york",
  "industry": "",
  "location": "",
  "urls": "https://example.com",
  "googleDorkType": "all",
  "maxResults": 50,
  "maxPagesPerSearch": 5,
  "includeContactInfo": true,
  "includeSocialLinks": true,
  "includeBusinessDetails": true,
  "requestDelay": 2000,
  "webhookPlatform": "custom",
  "webhookHeaders": {}
}
```

***

### Input Parameters

| Parameter | Type | Default | Required | Description |
|-----------|------|---------|----------|-------------|
| `method` | string | `"scanner"` | No | How to find Square merchants. 'scanner' crawls websites and checks for Square signatures. 'google_dork' uses search queries to find Square-powered sites. 'url_list' checks specific URLs you provide. |
| `searchQuery` | string | - | No | Search query for finding businesses (e.g., 'coffee shop new york', 'hair salon chicago'). Used with Scanner and Google Dork methods. |
| `industry` | string | - | No | Target industry to focus on (optional). Helps refine search results. |
| `location` | string | - | No | Geographic location to target (city, state, or region) |
| `urls` | array | - | No | List of specific URLs to scan for Square integration (used with URL List method) |
| `googleDorkType` | string | `"all"` | No | Type of Google search to perform |
| `maxResults` | integer | `50` | No | Maximum number of merchants to find |
| `maxPagesPerSearch` | integer | `5` | No | Maximum search result pages to scan (10 results per page) |
| `includeContactInfo` | boolean | `true` | No | Try to extract email addresses and phone numbers from found sites |
| `includeSocialLinks` | boolean | `true` | No | Extract social media profile links (Facebook, Instagram, Twitter) |
| `includeBusinessDetails` | boolean | `true` | No | Extract business name, address, hours from the website |
| `proxyConfiguration` | object | - | No | Proxy settings for avoiding rate limits |
| `requestDelay` | integer | `2000` | No | Delay between requests to avoid rate limiting (milliseconds) |
| `webhookUrl` | string | - | No | URL to POST results when scraping completes (Zapier, Make, n8n, or custom endpoint) |
| `webhookPlatform` | string | `"custom"` | No | Platform type for proper payload formatting. Each platform expects slightly different JSON structures. |
| `webhookHeaders` | object | - | No | Additional HTTP headers to send with webhook (e.g., {"Authorization": "Bearer token", "X-API-Key": "key"}) |

***

### Pricing

| Event | When it is charged | Price |
|-------|--------------------|-------|
| Actor start | Once when the run starts, one event per GB of memory (minimum one). At the default 4 GB of memory a run starts at $0.04 | $0.01 per GB |
| Square Merchant Found | Charged for each verified Square merchant discovered | $0.02 |
| Result | Each item written to the default dataset | $0.00001 |

### Troubleshooting

#### "API error 429" or "Rate limit"

Too many requests. Wait a minute and try again, or reduce the number of items per run.

#### No results or empty dataset

Check the run log for error messages. Common causes:

- Invalid input format (check the examples above)
- The target data doesn't exist or is too small to track

#### How do I test without an API key?

Run the actor with `demoMode` set to `true` (the console pre-checks it for you). It returns labeled sample Square merchants so you can see the exact output format. Every sample item carries `demo: true` and a `_notice` field, and sample runs charge no task events. Uncheck Demo Mode and provide a search query to find real Square merchants.

***

**Built by John Rippy | [Actor Arsenal](https://actorarsenal.com)**

# Actor input Schema

## `method` (type: `string`):

How to find Square merchants. 'scanner' crawls websites and checks for Square signatures. 'google_dork' uses search queries to find Square-powered sites. 'url_list' checks specific URLs you provide.

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

Search query for finding businesses (e.g., 'coffee shop new york', 'hair salon chicago'). Used with Scanner and Google Dork methods.

## `industry` (type: `string`):

Target industry to focus on (optional). Helps refine search results.

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

Geographic location to target (city, state, or region)

## `urls` (type: `array`):

List of specific URLs to scan for Square integration (used with URL List method)

## `googleDorkType` (type: `string`):

Type of Google search to perform

## `maxResults` (type: `integer`):

Maximum number of merchants to find

## `maxPagesPerSearch` (type: `integer`):

Maximum search result pages to scan (10 results per page)

## `includeContactInfo` (type: `boolean`):

Try to extract email addresses and phone numbers from found sites

## `includeSocialLinks` (type: `boolean`):

Extract social media profile links (Facebook, Instagram, Twitter)

## `includeBusinessDetails` (type: `boolean`):

Extract business name, address, hours from the website

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

Proxy settings for avoiding rate limits

## `requestDelay` (type: `integer`):

Delay between requests to avoid rate limiting (milliseconds)

## `demoMode` (type: `boolean`):

Return labeled sample data for testing (no scraping, no task-event charges). Uncheck to run a real search. API callers who omit this field always get a real run.

## `webhookUrl` (type: `string`):

URL to POST results when scraping completes (Zapier, Make, n8n, or custom endpoint)

## `webhookPlatform` (type: `string`):

Platform type for proper payload formatting. Each platform expects slightly different JSON structures.

## `webhookHeaders` (type: `object`):

Additional HTTP headers to send with webhook (e.g., {"Authorization": "Bearer token", "X-API-Key": "key"})

## Actor input object example

```json
{
  "method": "scanner",
  "searchQuery": "coffee shop new york",
  "industry": "",
  "location": "",
  "googleDorkType": "all",
  "maxResults": 50,
  "maxPagesPerSearch": 5,
  "includeContactInfo": true,
  "includeSocialLinks": true,
  "includeBusinessDetails": true,
  "requestDelay": 2000,
  "demoMode": true,
  "webhookPlatform": "custom",
  "webhookHeaders": {}
}
```

# Actor output Schema

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

Dataset containing all discovered Square merchants with contact info, social links, and confidence scores

# 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": "coffee shop new york",
    "industry": "",
    "location": "",
    "demoMode": true,
    "webhookHeaders": {}
};

// Run the Actor and wait for it to finish
const run = await client.actor("alizarin_refrigerator-owner/square-merchant-finder-discover-businesses-using-square").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": "coffee shop new york",
    "industry": "",
    "location": "",
    "demoMode": True,
    "webhookHeaders": {},
}

# Run the Actor and wait for it to finish
run = client.actor("alizarin_refrigerator-owner/square-merchant-finder-discover-businesses-using-square").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 '{
  "searchQuery": "coffee shop new york",
  "industry": "",
  "location": "",
  "demoMode": true,
  "webhookHeaders": {}
}' |
apify call alizarin_refrigerator-owner/square-merchant-finder-discover-businesses-using-square --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alizarin_refrigerator-owner/square-merchant-finder-discover-businesses-using-square"
        }
    }
}
```

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/velYDBsFkLXUpDYNa/builds/jon6F1xNX2u3lq9Io/openapi.json
