# Zapier — ScraperCity Integrations
> zapier.com/apps/scrapercity/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
ScraperCity is a lead generation platform with APIs for finding B2B contacts, business emails, phone numbers, and local business data.

- App slug: scrapercity
- Operations published here: 10 (1 event, 7 functions, 2 queries)

## Authentication
Zapier connects to ScraperCity via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection scrapercity
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/scrapercity/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect ScraperCity through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · find_ecommerce_leads`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "scrapercity", owner: "me" });

const { data } = await zapier.runAction({
  app: "scrapercity",
  actionType: "write",
  action: "find_ecommerce_leads",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action scrapercity write find_ecommerce_leads \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing ScraperCity's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "scrapercity" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions scrapercity --page-size 50 --max-items 200 --json
```

### Events (1)

Events fire when something happens in ScraperCity. Use them to start a run.

#### Job Completed
Triggers when a job finishes successfully.

- Type: read · Key: `job_completed`
- Requires: nothing
- SDK: `runAction({ app: "scrapercity", actionType: "read", action: "job_completed" })`
- CLI: `npx zapier-sdk run-action scrapercity read job_completed`

### Functions (7)

Functions change something in ScraperCity.

#### Find Ecommerce Store Leads
Finds ecommerce store owners with contact information.

- Type: write · Key: `find_ecommerce_leads`
- Requires: nothing
- Optional: platform, countryCode, totalLeads, includeEmails, includePhones
- SDK: `runAction({ app: "scrapercity", actionType: "write", action: "find_ecommerce_leads" })`
- CLI: `npx zapier-sdk run-action scrapercity write find_ecommerce_leads`

#### Find Email Address
Finds a business email address from a person's name and company domain.

- Type: write · Key: `find_email_addresses`
- Requires: firstName, lastName, domain
- SDK: `runAction({ app: "scrapercity", actionType: "write", action: "find_email_addresses" })`
- CLI: `npx zapier-sdk run-action scrapercity write find_email_addresses`

#### Find Local Businesses
Finds local businesses based on the provided keyword and location.

- Type: write · Key: `find_local_businesses`
- Requires: keyword, location
- Optional: maxPlaces
- SDK: `runAction({ app: "scrapercity", actionType: "write", action: "find_local_businesses" })`
- CLI: `npx zapier-sdk run-action scrapercity write find_local_businesses`

#### Find Mobile Phone Numbers
Finds mobile phone numbers from professional profile URLs or work email addresses.

- Type: write · Key: `find_mobile_numbers`
- Requires: inputs
- SDK: `runAction({ app: "scrapercity", actionType: "write", action: "find_mobile_numbers" })`
- CLI: `npx zapier-sdk run-action scrapercity write find_mobile_numbers`

#### Generate B2B Leads
Finds B2B contacts matching your criteria.

- Type: write · Key: `generate_leads`
- Requires: nothing
- Optional: url, count, fileName
- SDK: `runAction({ app: "scrapercity", actionType: "write", action: "generate_leads" })`
- CLI: `npx zapier-sdk run-action scrapercity write generate_leads`

#### Look Up Contact Info
Finds contact details from names, phone numbers, or email addresses.

- Type: write · Key: `look_up_contacts`
- Requires: nothing
- Optional: name, email, phoneNumber, address, maxResults
- SDK: `runAction({ app: "scrapercity", actionType: "write", action: "look_up_contacts" })`
- CLI: `npx zapier-sdk run-action scrapercity write look_up_contacts`

#### Validate Email Addresses
Validates email deliverability and MX records for one or more email addresses.

- Type: write · Key: `validate_emails`
- Requires: emails
- SDK: `runAction({ app: "scrapercity", actionType: "write", action: "validate_emails" })`
- CLI: `npx zapier-sdk run-action scrapercity write validate_emails`

### Queries (2)

Queries read from ScraperCity and return data. They change nothing.

#### Check Job Status
Checks the current status of a job by Run ID.

- Type: search · Key: `check_job_status`
- Requires: runId
- SDK: `runAction({ app: "scrapercity", actionType: "search", action: "check_job_status" })`
- CLI: `npx zapier-sdk run-action scrapercity search check_job_status`

#### Get Job Results
Gets the results of a completed job by Run ID.

- Type: search · Key: `get_job_results`
- Requires: runId
- SDK: `runAction({ app: "scrapercity", actionType: "search", action: "get_job_results" })`
- CLI: `npx zapier-sdk run-action scrapercity search get_job_results`

## Links
- Full app page: zapier.com/apps/scrapercity/integrations
- SDK: npmjs.com/package/@zapier/zapier-sdk