# DogTrekker Dog-Friendly Places Scraper (`crawlerbros/dogtrekker-scraper`) Actor

Scrape DogTrekker.com's directory of 9,600+ dog-friendly hotels, restaurants, parks, beaches, wineries, and services across California and Nevada. Search by keyword, browse by category/region/state/city, or fetch a specific listing by ID.

- **URL**: https://apify.com/crawlerbros/dogtrekker-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Travel, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## DogTrekker Dog-Friendly Places Scraper

Scrape [DogTrekker.com](https://dogtrekker.com)'s directory of 9,600+ dog-friendly hotels, restaurants, parks, dog parks, beaches, wineries, campgrounds and pet services — mostly across California, with additional listings in Nevada. Search by keyword, browse by category / region / state / city, or fetch a specific listing by ID or URL slug. HTTP-only via the site's public WordPress REST API and listing pages. No auth, no login, no proxy required.

### What this actor does

- **Six modes:** `search`, `byCategory`, `byRegion`, `byState`, `byCity`, `byId`
- **44 place categories:** lodging, restaurants, dog parks, hikes, wineries, beaches, veterinarians, boarding, groomers, and more
- **22 California travel regions + 12 US states** as filter axes
- **Combinable filters** — e.g. category=wineries + region=wine-country returns only wineries in Wine Country
- **Rich per-listing detail** — street address, city/county/region, phone, official website, GPS coordinates, and photo, pulled from each listing's structured data
- **Empty fields are omitted** — every record only contains what DogTrekker actually published for that place

### Output per place

- `id`, `slug`, `url` — DogTrekker listing ID and canonical URL
- `title`, `description`
- `categories[]` — e.g. `["Dog Parks", "Hikes Parks"]`
- `city`, `county`, `regions[]`, `state`
- `placeType` — schema.org type (`LodgingBusiness`, `Restaurant`, `Park`, `Hotel`, etc.)
- `streetAddress`, `addressLocality`, `addressRegion`, `postalCode`, `addressCountry`
- `phone`, `website` — official site of the business (not DogTrekker)
- `latitude`, `longitude`
- `imageUrl`
- `publishedAt`
- `recordType: "place"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | select | `search` | `search` / `byCategory` / `byRegion` / `byState` / `byCity` / `byId` |
| `searchQuery` | string | `dog park` | Free-text keyword (mode=search) |
| `category` | select | – | One of 44 categories. Required for `byCategory`, optional filter otherwise |
| `region` | select | – | One of 22 CA travel regions. Required for `byRegion`, optional filter otherwise |
| `state` | select | – | One of 12 US states. Required for `byState`, optional filter otherwise |
| `cityName` | string | – | City name, e.g. `Napa` (mode=byCity) |
| `listingIds` | array | – | Post IDs or URL slugs, e.g. `187700` or `brookdale-lodge` (mode=byId) |
| `sortBy` | select | `relevance` | `relevance` / `newest` / `oldest` / `title` |
| `fetchFullDetails` | boolean | `true` | Visit each listing page for address/phone/GPS/website. Disable for a faster listing-only pass |
| `maxItems` | int | `20` | Hard cap on emitted records (1–500) |

#### Example: search by keyword

```json
{
  "mode": "search",
  "searchQuery": "pet friendly hotel",
  "maxItems": 30
}
```

#### Example: browse wineries in Wine Country

```json
{
  "mode": "byCategory",
  "category": "wineries",
  "region": "wine-country",
  "sortBy": "title",
  "maxItems": 50
}
```

#### Example: dog parks in a specific city

```json
{
  "mode": "byCity",
  "cityName": "San Francisco",
  "category": "dog-parks",
  "maxItems": 25
}
```

#### Example: lookup specific listings

```json
{
  "mode": "byId",
  "listingIds": ["brookdale-lodge", "187700"]
}
```

### Use cases

- **Travel planning apps** — surface pet-friendly hotels, restaurants and parks along a route
- **Real-estate / relocation tools** — show nearby dog amenities for a neighborhood
- **Pet product marketing** — find local businesses to partner with by region
- **Local SEO / directory aggregation** — enrich a pet-travel content site
- **Trip itinerary builders** — chain dog parks, wineries, and lodging in one region

### FAQ

**What's DogTrekker?** A long-running (since 2003) dog-travel guide focused primarily on California, with a directory of thousands of pet-friendly businesses and places, each with an address, phone number, and category tags. See [dogtrekker.com](https://dogtrekker.com).

**Does this cover other US states?** The vast majority of listings are in California; a smaller set of Nevada listings also has real data. Other states in the `state` filter currently return no results because DogTrekker hasn't tagged listings there yet.

**Why do some records lack `latitude`/`longitude` or `phone`?** Not every DogTrekker listing publishes structured GPS/phone data (e.g. some chain hotels). Those fields are simply omitted rather than filled with placeholders.

**What's the difference between `city`/`county` and `regions`?** `city` and `county` are administrative boundaries; `regions[]` are DogTrekker's curated California travel regions (e.g. "Wine Country", "Lake Tahoe") and a listing can belong to more than one.

**Can I combine filters?** Yes — `category`, `region`, and `state` can all be supplied together regardless of `mode`; the primary mode filter is always applied, and the others narrow the result set further.

**How fresh is the data?** Listings are added/updated regularly by the DogTrekker editorial team; the actor always reads live from the site.

# Actor input Schema

## `mode` (type: `string`):

How to find listings.

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

Free-text keyword search (mode=search), e.g. `dog park`, `pet friendly hotel`, `winery`.

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

Place category. Required for mode=byCategory; optional extra filter for other modes.

## `region` (type: `string`):

California travel region. Required for mode=byRegion; optional extra filter for other modes.

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

US state. Required for mode=byState; optional extra filter for other modes.

## `cityName` (type: `string`):

City name to browse, e.g. `San Francisco`, `Sacramento`, `Napa`.

## `listingIds` (type: `array`):

DogTrekker post IDs (e.g. `187700`) or URL slugs (e.g. `brookdale-lodge`).

## `sortBy` (type: `string`):

Result ordering.

## `fetchFullDetails` (type: `boolean`):

Visit each listing's page to extract street address, phone, GPS coordinates, and official website. Slower but much richer records. Disable for a fast listing-only pass.

## `maxItems` (type: `integer`):

Hard cap on emitted records.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "dog park",
  "listingIds": [],
  "sortBy": "relevance",
  "fetchFullDetails": true,
  "maxItems": 20
}
```

# Actor output Schema

## `places` (type: `string`):

Dataset containing all scraped DogTrekker listings.

# 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 = {
    "mode": "search",
    "searchQuery": "dog park",
    "listingIds": [],
    "sortBy": "relevance",
    "fetchFullDetails": true,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/dogtrekker-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 = {
    "mode": "search",
    "searchQuery": "dog park",
    "listingIds": [],
    "sortBy": "relevance",
    "fetchFullDetails": True,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/dogtrekker-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 '{
  "mode": "search",
  "searchQuery": "dog park",
  "listingIds": [],
  "sortBy": "relevance",
  "fetchFullDetails": true,
  "maxItems": 20
}' |
apify call crawlerbros/dogtrekker-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlerbros/dogtrekker-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/6UFJLvBhwOtfX2SJo/builds/IcJAzSBe99s7kD6vV/openapi.json
