# Liberty Mutual Agent Leads Scraper (`gocreative.ai/liberty-mutual-agent-leads`) Actor

Extract Liberty Mutual independent insurance agency leads from the official public directory: agency name, phone, fax, website, full address, Google rating + review count. Filter by state/city or pull nationwide (30,000+ agencies). Pay-per-result; built for insurance CRM/MGA outreach and B2B lists.

- **URL**: https://apify.com/gocreative.ai/liberty-mutual-agent-leads.md
- **Developed by:** [GoCreative AI](https://apify.com/gocreative.ai) (community)
- **Categories:** Lead generation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 agency records

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/docs.md):

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

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.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/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

## Liberty Mutual Insurance Agency Leads

### 📊 Example output (real run)

![Sample output](https://api.apify.com/v2/key-value-stores/1ztQFHwG8acESTazI/records/liberty-mutual-agent-leads-sample)

A real record from a live run — clean structured data, exported as CSV / JSON / Excel or via API.


Extract agency contact and business data from the official **Liberty Mutual** public agent directory (`agents.libertymutual.com`) — agency name, phone, fax, website, full address, Google rating, and review count. Filter by US state and/or city, or pull nationwide.

### Why this actor

Insurance agencies are one of the most heavily-targeted B2B segments for CRM vendors, marketing agencies, MGAs, insurance-tech SaaS, and recruiters — yet there is no clean, structured way to pull Liberty Mutual's independent-agent network at scale. This actor turns Liberty Mutual's own sitemap + agency-profile pages into a ready-to-use lead list.

- **30,000+ agency profiles** across all 50 states + DC, sourced directly from Liberty Mutual's own sitemap (`agents.libertymutual.com/sitemap.xml`, 51 per-state sub-sitemaps) — not a scraped search UI, so results are complete and stable.
- **Rating-qualified**: every record includes the agency's Google rating and review count, so you can target proven, high-satisfaction agencies for partnerships or filter out unrated shells.
- **Website included**: most agencies are independent multi-carrier shops — the website field is a direct outreach channel most competitor scrapers of this niche skip.
- **No fabricated data**: when Liberty Mutual doesn't publish a phone, fax, or email for an agency, this actor returns an empty string, never a placeholder or a guess.

### Input

| Field | Type | Description |
|---|---|---|
| `states` | array of strings | Filter to 2-letter state codes (e.g. `["CA","TX"]`). Empty = all 50 states + DC. |
| `cityContains` | array of strings | Only include agencies whose profile URL contains one of these substrings. Empty = no city filter. |
| `maxResults` | integer | Cap on records returned this run (max 5,000). Default 200. |
| `concurrency` | integer | Parallel page fetches (1–20). Default 8. |
| `proxyConfiguration` | object | Apify Proxy config. Datacenter (`auto`) is sufficient — the source has no anti-bot wall. |

### Output — real captured example

Live run, `states: ["HI"]`, `maxResults: 5` (2026-07-03):

```json
{
  "agencyName": "NOGUCHI & ASSOCIATES INC",
  "phone": "808-596-2700",
  "fax": "808-596-2193",
  "email": "",
  "website": "http://www.nogins.com/",
  "streetAddress": "1314 S King St Ste 560",
  "city": "Honolulu",
  "state": "HI",
  "zip": "96814",
  "rating": 5,
  "reviewCount": 2,
  "description": "Skip the guesswork — work with an independent agent. We shop Liberty Mutual and other insurance companies for you, explain coverage in everyday language, and recommend options tailored to your needs.",
  "googlePlaceId": "ChIJhQlMJeltAHwRF1jGVbPn-Gs",
  "profileUrl": "https://agents.libertymutual.com/find-an-agent/state/hawaii/honolulu/noguchi-and-associates-inc_cl_7648301636",
  "source": "agents.libertymutual.com",
  "scrapedAt": "2026-07-03T00:00:00Z"
}
````

A ready-to-import CRM CSV of the full run is also saved to the key-value store (`liberty-mutual-agencies-YYYYMMDD`).

### Output schema

| Field | Type | Notes |
|---|---|---|
| `agencyName` | string | Independent agency/business name |
| `phone`, `fax` | string | Office contact numbers, when published |
| `email` | string | Blank on almost all listings — Liberty Mutual routes contact through a form, not a public email |
| `website` | string | Agency's own website, when published |
| `streetAddress`, `city`, `state`, `zip` | string | Office address |
| `rating` | number | Google rating (0–5), when the agency has reviews |
| `reviewCount` | integer | Number of Google reviews |
| `description` | string | Short agency blurb as published on the profile |
| `googlePlaceId` | string | Google Place ID — useful for cross-referencing/enrichment |
| `profileUrl` | string | Canonical agency profile page |
| `source` | string | Always `agents.libertymutual.com` |
| `scrapedAt` | string | UTC timestamp of extraction |

### Pricing

Pay-Per-Result: **$1.00 per 1,000 agency records** delivered. No charge for failed/empty pages.

### Use cases

- Insurance CRM / MGA / marketing-SaaS lead lists
- Recruiting pipelines for competing agencies and carriers
- Franchise/territory development and market-density analysis
- Local-business B2B outreach lists filtered by state, metro, or rating threshold

### Compliance

Sourced entirely from `agents.libertymutual.com`'s own public sitemap and agency pages — the site's `robots.txt` explicitly permits crawling and self-publishes the sitemap for discovery. No login, no CAPTCHA bypass, no private/gated data. Respect the data for legitimate B2B use in accordance with applicable law (e.g. TCPA/CAN-SPAM if you contact agencies directly). "Liberty Mutual" is a trademark of its respective owner; this actor is an independent data-extraction tool and is not affiliated with or endorsed by Liberty Mutual.

# Actor input Schema

## `states` (type: `array`):

Filter to these 2-letter US state codes (e.g. CA, TX, FL). Leave empty to include all 50 states + DC.

## `cityContains` (type: `array`):

Only include agencies whose profile URL matches one of these substrings (case-insensitive, e.g. a city or metro name). Leave empty for no city filter.

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

Maximum number of agency records to return in this run (cap: 5,000).

## `concurrency` (type: `integer`):

Number of agency profile pages to fetch in parallel. Higher = faster but more load on the source site.

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

Apify Proxy configuration. Datacenter (auto) is recommended and sufficient for this source.

## Actor input object example

```json
{
  "states": [
    "CA",
    "TX"
  ],
  "cityContains": [
    "austin",
    "san-jose"
  ],
  "maxResults": 200,
  "concurrency": 8,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `agencyLeads` (type: `string`):

No description

## `csvExport` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("gocreative.ai/liberty-mutual-agent-leads").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("gocreative.ai/liberty-mutual-agent-leads").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 '{}' |
apify call gocreative.ai/liberty-mutual-agent-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=gocreative.ai/liberty-mutual-agent-leads",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Liberty Mutual Agent Leads Scraper",
        "description": "Extract Liberty Mutual independent insurance agency leads from the official public directory: agency name, phone, fax, website, full address, Google rating + review count. Filter by state/city or pull nationwide (30,000+ agencies). Pay-per-result; built for insurance CRM/MGA outreach and B2B lists.",
        "version": "0.1",
        "x-build-id": "27ikhKapuTD0rJskP"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/gocreative.ai~liberty-mutual-agent-leads/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-gocreative.ai-liberty-mutual-agent-leads",
                "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/gocreative.ai~liberty-mutual-agent-leads/runs": {
            "post": {
                "operationId": "runs-sync-gocreative.ai-liberty-mutual-agent-leads",
                "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/gocreative.ai~liberty-mutual-agent-leads/run-sync": {
            "post": {
                "operationId": "run-sync-gocreative.ai-liberty-mutual-agent-leads",
                "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": {
                    "states": {
                        "title": "US States",
                        "type": "array",
                        "description": "Filter to these 2-letter US state codes (e.g. CA, TX, FL). Leave empty to include all 50 states + DC.",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "cityContains": {
                        "title": "City Contains",
                        "type": "array",
                        "description": "Only include agencies whose profile URL matches one of these substrings (case-insensitive, e.g. a city or metro name). Leave empty for no city filter.",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Maximum number of agency records to return in this run (cap: 5,000).",
                        "default": 200
                    },
                    "concurrency": {
                        "title": "Concurrency",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Number of agency profile pages to fetch in parallel. Higher = faster but more load on the source site.",
                        "default": 8
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Apify Proxy configuration. Datacenter (auto) is recommended and sufficient for this source.",
                        "default": {
                            "useApifyProxy": true
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
