# Alignable Business Scraper (`simpleisgood/alignable-business-scraper`) Actor

Scrape Alignable.com business directories for B2B leads - names, owners, phones, websites, services & recommendations. Smart throttling with randomized delays between requests keeps you under the radar. Target any city: Toronto, Austin, London, Sydney. Profile deep-dive or fast directory mode.

- **URL**: https://apify.com/simpleisgood/alignable-business-scraper.md
- **Developed by:** [Simpleisgood](https://apify.com/simpleisgood) (community)
- **Categories:** Automation, Lead generation, Social media
- **Stats:** 36 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## Alignable Scraper – Extract Local Business Leads from Alignable.com 🏢📈

**Unlock verified small business data from the #1 network for local B2B recommendations.**

Alignable.com connects 7M+ businesses through authentic referrals. This **Alignable scraper** and **business directory scraper** delivers clean, structured data from public directories and profiles – **no login needed**. Ideal for **B2B lead generation**, **local marketing campaigns**, **competitor intelligence**, and enriching your CRM with recommendation-backed contacts.

**[Try on Apify Store](https://apify.com/simpleisgood/alignable-business-scraper)** | **[Live Demo Data](#sample-output)**

### ✨ Key Features

- ✅ **Multi-Location Scraping** – Target cities worldwide: Toronto, Austin, London, Sydney – anywhere Alignable has a directory
- 📱 **Profile Deep-Dive** – Auto-click "show phone", extract websites, addresses, full descriptions
- 🏷️ **Smart Services Extraction** – Deduped, cleaned list of 10-15 services per business (e.g., "Plumbing Repairs", "Emergency Service")
- ⭐ **Recommendation Scores** – Prioritize top-recommended businesses (47+ recs = trusted leads)
- 🌍 **Works Worldwide** – US, Canada, UK, Australia – any city with an Alignable directory
- 🔍 **Junk-Free Data** – Strict address filtering, phone normalization, social links ignored for websites
- ⚡ **Scalable & Affordable** – Scroll-loads directories, pay-per-result pricing
- 📊 **Instant Export** – JSON, CSV, Excel-ready dataset

### 📋 Sample Output

Clean, enriched business records:

```json
{
  "name": "Greenfield Marketing Co.",
  "owner": "Sarah Mitchell",
  "location": "Austin, TX",
  "alignableUrl": "https://www.alignable.com/austin-tx/greenfield-marketing-co",
  "description": "Full-service digital marketing agency helping small businesses grow through SEO, PPC, and social media.",
  "services": [
    "Digital Marketing",
    "Search Engine Optimization",
    "Pay Per Click Advertising",
    "Social Media Management",
    "Content Strategy"
  ],
  "recommendations": 63,
  "website": "https://greenfieldmarketing.com/",
  "phone": "(512) 555-0147",
  "address": "742 Congress Ave, Austin, TX 78701",
  "category": "Marketing Agency",
  "scrapedAt": "2026-02-08T14:30:00Z"
}
```

### ⚙️ Input Configuration

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| **locations** | Array | - | **Required.** Location slugs: `["toronto-on", "austin-tx", "london-eng"]`. Find via Alignable directory URLs. |
| **category** | String | `""` | Optional filter: `"google-partners"`, `"plumbing"`, `"marketing"`. Empty = top recommended. |
| **maxResults** | Number | `100` | Max businesses per location (1-500). |
| **scrapeProfiles** | Boolean | `true` | Enable profile visits for phones/websites/services. Disable for 3x speed. |
| **cookies** | Array | - | Optional: Logged-in cookies for private content (advanced). |

**Location slug format:** Lowercase city name + region code separated by hyphens. Examples:

- `toronto-on` (Toronto, Ontario)
- `austin-tx` (Austin, Texas)
- `london-eng` (London, England)
- `sydney-nsw` (Sydney, New South Wales)
- `new-york-ny` (New York, NY)
- `vancouver-bc` (Vancouver, BC)

**Pro Tip:** Start with 1-2 locations, `maxResults: 50`, `scrapeProfiles: true` to test.

### 🚀 Use Cases

- **Lead Generation** – Build targeted lists of plumbers, dentists, realtors in any city worldwide
- **Marketing Agencies** – Enrich campaigns with services/recommendations data across markets
- **Sales Teams** – Prioritize high-rec businesses for outreach (47+ recs = warm leads)
- **Competitor Research** – Track rivals' Alignable presence and referral networks
- **Local SEO** – Map business landscape in target markets from Toronto to London

### 💰 Pricing Guidance

**Recommended: Pay-per-Result**

- **$0.015 per business** (affordable for 1,000+ leads)
- Example: 5 locations × 100 businesses = 500 results ≈ **$7.50**
- Free tier available for testing (<50 results)

*Why per-result?* Scales perfectly – pay only for data you get.

### ⚠️ Limitations & Fair Use

- **Public Data Only** – Directories/profiles open to all. Cookies unlock extras.
- **Rate Respect** – Built-in human-like delays between requests; don't exceed 500/location/run.
- **Dynamic Site** – 99% success rate; occasional JS changes may need update.
- **No Private Data** – Complies with Alignable ToS for public scraping.
- **Best Results** – Cities with 100+ businesses on Alignable.

### ❓ FAQ

**Q: How do I find location slugs?**\
A: Browse [Alignable.com](https://www.alignable.com) and go to any city directory – e.g., `alignable.com/toronto-on/directory` → slug = `toronto-on`. The slug is always in the URL: lowercase city name, hyphen, region/state code.

**Q: Does it work outside North America?**\
A: Yes! Alignable has directories for cities worldwide. Use the same slug format: `london-eng`, `sydney-nsw`, `melbourne-vic`, etc.

**Q: Does it handle "Show Phone" buttons?**\
A: Yes! Auto-clicks reveal buttons and extracts normalized phone numbers.

**Q: Can I filter by industry?**\
A: Use the `category` parameter for built-in filters, or post-process the services array (e.g., filter where services contains "Plumbing").

**Q: Export formats?**\
A: JSON, CSV, and Excel direct from the Apify dataset. Integrates with Zapier, Make.com, Google Sheets, and more.

**Q: How fast is it?**\
A: With profiles enabled: ~10-15 seconds per business (includes polite delays). Directory-only mode (profiles disabled): ~1 second per business.

**Q: What if a business has no phone or website listed?**\
A: Fields return `null` when not available. The scraper only returns verified data – no guessing.

### 🔗 Resources

- [Alignable.com](https://www.alignable.com) – Source platform
- [Apify Docs](https://docs.apify.com) – Run via API/Console/Zapier
- **Support:** apify.fraternal358@passinbox.com

**Built by [Simple Is Good Inc.](https://simpleisgood.ca) – Premium scrapers for marketers & agencies.**

# Actor input Schema

## `locations` (type: `array`):

List of location slugs to scrape. Format: city-name-regioncode. Examples: toronto-on, austin-tx, london-eng, sydney-nsw, new-york-ny. Find slugs from Alignable directory URLs.

## `category` (type: `string`):

Optional business category filter (e.g., "google-partners", "plumbing", "marketing"). Leave empty for top recommended.

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

Maximum businesses to scrape per location (default 100).

## `scrapeProfiles` (type: `boolean`):

Visit each business profile for detailed info (phone, website, services). Disable for 3x faster directory-only mode.

## `cookies` (type: `array`):

Optional logged-in cookies for accessing private profile content. Leave empty for public data only.

## Actor input object example

```json
{
  "locations": [
    "toronto-on"
  ],
  "category": "",
  "maxResults": 10,
  "scrapeProfiles": true
}
```

# 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 = {
    "locations": [
        "toronto-on"
    ],
    "maxResults": 10,
    "scrapeProfiles": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("simpleisgood/alignable-business-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 = {
    "locations": ["toronto-on"],
    "maxResults": 10,
    "scrapeProfiles": False,
}

# Run the Actor and wait for it to finish
run = client.actor("simpleisgood/alignable-business-scraper").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 '{
  "locations": [
    "toronto-on"
  ],
  "maxResults": 10,
  "scrapeProfiles": false
}' |
apify call simpleisgood/alignable-business-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,simpleisgood/alignable-business-scraper"
        }
    }
}

```

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/rZSnWB5wjmpuotH1J/builds/Y84Y8MG5KKIdprHzS/openapi.json
