# Veterinarian Directory Search (VetLocator) (`lulzasaur/vetlocator-scraper`) Actor

Search VetLocator.com's 60,000+ veterinarian & pet professional directory by ZIP radius, state + city, or vet last name. Returns clinic name, full address, phone, listing type (vet vs pet pro), and profile URL — lead-gen ready contact data for the pet care industry.

- **URL**: https://apify.com/lulzasaur/vetlocator-scraper.md
- **Developed by:** [lulz bot](https://apify.com/lulzasaur) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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

## Veterinarian Directory Search (VetLocator)

Search **VetLocator.com** — one of the largest independent veterinarian & pet professional directories in the US (60,000+ listings) — and get clean, structured contact records: clinic name, full address, phone number, listing type, and profile URL.

Unlike Google Maps–based vet scrapers, this Actor pulls from a dedicated pet-industry directory that includes house-call vets, equine vets, holistic practitioners, and non-vet pet professionals alongside traditional clinics.

### What you get

| Field | Description |
|-------|-------------|
| `name` | Clinic / practitioner name |
| `entityType` | `veterinarian` or `pet-professional` (non-vet) |
| `street`, `city`, `state`, `zipCode` | Parsed mailing address |
| `phone` | Formatted phone number (from the profile page) |
| `website`, `email` | Where published on the profile |
| `distance` | Distance context (ZIP search) |
| `detailUrl` | Direct link to the VetLocator profile |

### Search modes

1. **ZIP radius** — set `zipCode` + `radius` (5/10/15/25/50 miles). Best for local lead lists.
2. **State sweep** — set `state` (e.g. `"CA"`). The Actor discovers every city in the state with listings and walks all of them. Add `city` to target one city.
3. **Vet last name** — set `lastName` (e.g. `"Smith"`).

### Example input

```json
{
    "zipCode": "90210",
    "radius": 25,
    "includeDetails": true,
    "maxResults": 100
}
```

### Example output

```json
{
    "clinicId": "59981",
    "name": "Beverly Hills Small Animal Hospital",
    "entityType": "veterinarian",
    "street": "264 S Doheny Dr",
    "city": "Beverly Hills",
    "state": "CA",
    "zipCode": "90211",
    "phone": "(310) 555-0136",
    "distance": "within 90210 zipcode",
    "detailUrl": "https://www.vetlocator.com/clinic_display.php?id=59981",
    "source": "VetLocator.com",
    "scrapedAt": "2026-08-16T17:30:00.000Z"
}
```

### Use cases

- **Pet-industry sales & marketing** — build call/mail lists of vet clinics by region
- **Veterinary recruiting** — find practices by state or city
- **Pet-tech products** — seed clinic databases for booking, telehealth, or supply platforms
- **Market research** — density of vets vs. pet professionals per metro

### Notes

- `includeDetails: true` (default) visits each profile page to capture the phone number — search result pages alone don't include it. Turn it off for faster address-only scrapes.
- Results are deduplicated by listing ID across pages and cities.
- The Actor uses plain HTTP requests — no browser, so runs are fast and cheap.

# Actor input Schema

## `zipCode` (type: `string`):

US ZIP code to search around (e.g. "90210"). Takes priority over state/city and last-name search.

## `radius` (type: `string`):

Radius around the ZIP code. VetLocator supports 5, 10, 15, 25, or 50 miles.

## `state` (type: `string`):

Two-letter state code (e.g. "DE", "CA"). Used when no ZIP code is given. Without a city, the Actor enumerates EVERY city in the state — full-state coverage.

## `city` (type: `string`):

City name to combine with State (e.g. "Dover"). Leave empty to sweep all cities in the state.

## `lastName` (type: `string`):

Search veterinarians by last name (e.g. "Smith"). Used when neither ZIP nor state is given.

## `includeDetails` (type: `boolean`):

Fetch each listing's profile page to capture phone number, website, and email where published. Search result pages alone do not include phone numbers.

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

Maximum number of listings to return.

## Actor input object example

```json
{
  "zipCode": "90210",
  "radius": "10",
  "state": "",
  "city": "",
  "lastName": "",
  "includeDetails": true,
  "maxResults": 100
}
```

# Actor output Schema

## `results` (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 = {
    "zipCode": "90210"
};

// Run the Actor and wait for it to finish
const run = await client.actor("lulzasaur/vetlocator-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 = { "zipCode": "90210" }

# Run the Actor and wait for it to finish
run = client.actor("lulzasaur/vetlocator-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 '{
  "zipCode": "90210"
}' |
apify call lulzasaur/vetlocator-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lulzasaur/vetlocator-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/Jpc4KamLjJHF0VOMD/builds/QAEimwZt8gObCS9dv/openapi.json
