# The Knot Scraper (`apage/the-knot-scraper`) Actor

Scrape wedding venues and vendors from The Knot. Easily extract detailed profiles including business names, website links, phone numbers, ratings, reviews, starting prices, and high-quality images. Search by any category (Photographers, Venues, Florists, etc) and location

- **URL**: https://apify.com/apage/the-knot-scraper.md
- **Developed by:** [Andy Page](https://apify.com/apage) (community)
- **Categories:** Lead generation, Automation
- **Stats:** 12 total users, 2 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/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.md):

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

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

## The Knot Wedding Venues & Vendors Scraper

A robust and powerful Apify Actor to scrape wedding vendor and venue profiles from **The Knot** (theknot.com). Easily extract detailed profiles—including contact information, pricing, ratings, and beautiful gallery images—across any category and location.

Perfect for wedding startups, lead generation, cold outreach, directories, and market research.

### Features

- **Any Category**: Scrape venues, photographers, planners, caterers, florists, DJs, and 20+ other vendor types.
- **Location Based**: Search by any City/State combination (e.g. "Austin, TX") or State level.
- **Deep Data Extraction**: Extracts highly detailed information including:
  - Vendor/Venue Name
  - Contact Info (Website, Phone number, Address)
  - Ratings & Review counts
  - Starting Prices
  - Detailed Descriptions
  - Awards (e.g. "Best of Weddings", "Hall of Fame")
  - High-res primary and gallery images
- **Anti-Bot Resilience**: Uses advanced Playwright browser fingerprinting, configurable concurrency, and Apify Proxy rotation to ensure reliable extraction.

### Use Cases

1. **Lead Generation & Cold Outreach:** Get a complete list of local vendors (e.g. all photographers in Austin, TX) with their contact info and starting prices to personalize your outreach.
2. **Directory Building:** Aggregate wedding reception venues across a state or major metro to power an internal CRM or comparison site.
3. **Market Research:** Pull data on various vendor categories to analyze pricing trends, reviews, and competitive landscape.

### Input Parameters

The Actor can be driven either by providing explicit Start URLs or by using the built-in Search/Filter builder.

| Field | Type | Description | Default |
| ----- | ---- | ----------- | ------- |
| `startUrls` | Array | One or more The Knot marketplace URLs to start crawling. Overrides category/location. | `[]` |
| `category` | String | The type of entity to scrape (e.g., `wedding-reception-venues`, `wedding-photographers`, etc.). | `wedding-reception-venues` |
| `location` | String | Geographic filter: city and state (e.g., "Austin, TX") or state only. | *Empty* |
| `maxResults` | Integer | Maximum number of venue/vendor items to scrape and save. | `500` |
| `maxPages` | Integer | Maximum number of listing pages to scroll through/crawl. | `20` |
| `scrapeDetailPages` | Boolean | If true, visits each profile to get full data. If false, extracts basic listing data only. | `true` |
| `useApifyProxy` | Boolean | Highly recommended to remain `true` to avoid IP bans. | `true` |

#### Example Input

```json
{
  "category": "wedding-photographers",
  "location": "Austin, TX",
  "maxResults": 100,
  "maxPages": 5,
  "scrapeDetailPages": true,
  "useApifyProxy": true
}
````

### Output Data Structure

The dataset produced contains one item per venue or vendor. Example output:

```json
{
  "entityType": "vendor",
  "category": "wedding-photographers",
  "url": "https://www.theknot.com/marketplace/j-bell-photography-austin-tx-593283",
  "name": "J. Bell Photography",
  "description": "J. Bell Photography is a Wedding Photographer in Austin, TX...",
  "website": "https://jbellphotography.com",
  "phone": "(512) 555-0123",
  "address": "123 Main St",
  "city": "Austin",
  "state": "TX",
  "imageUrl": "https://media-api.xogrp.com/images/...",
  "imageUrls": [
    "https://media-api.xogrp.com/images/...",
    "https://media-api.xogrp.com/images/..."
  ],
  "priceRange": "Prices starting at $2,450",
  "rating": 4.9,
  "reviewCount": 98,
  "awards": "2023 Best of Weddings Winner, Hall of Fame",
  "sourceUrl": "https://www.theknot.com/marketplace/j-bell-photography-austin-tx-593283",
  "scrapedAt": "2026-02-20T12:00:00.000Z"
}
```

### Legals

The Actor collects publicly visible data only. Users are responsible for complying with The Knot’s Terms of Service and applicable laws (e.g., CAN-SPAM for email outreach).

# Actor input Schema

## `startUrls` (type: `array`):

One or more The Knot marketplace URLs to start crawling.

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

The type of entity to scrape.

## `location` (type: `string`):

Geographic filter: city and state (e.g. 'Austin, TX') or state only.

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

Maximum number of venue/vendor items to save to the dataset.

## `maxPages` (type: `integer`):

Maximum number of listing pages to crawl.

## `scrapeDetailPages` (type: `boolean`):

If true, the Actor enqueues and scrapes each venue/vendor detail (profile) page.

## `maxRequestRetries` (type: `integer`):

Number of retries for a failed request before skipping.

## `useApifyProxy` (type: `boolean`):

If true, requests are sent through Apify Proxy.

## `maxConcurrency` (type: `integer`):

Maximum number of concurrent requests.

## `delayBetweenRequestsMs` (type: `integer`):

Minimum delay in milliseconds between requests.

## `requestHandlerTimeoutSecs` (type: `integer`):

Timeout in seconds for handling each request.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.theknot.com/marketplace/wedding-reception-venues"
    }
  ],
  "category": "wedding-reception-venues",
  "location": "Austin, TX",
  "maxResults": 500,
  "maxPages": 20,
  "scrapeDetailPages": true,
  "maxRequestRetries": 3,
  "useApifyProxy": true,
  "maxConcurrency": 10,
  "delayBetweenRequestsMs": 1500,
  "requestHandlerTimeoutSecs": 60
}
```

# Actor output Schema

## `results` (type: `string`):

API URL to fetch dataset items (JSON array).

# 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 = {
    "startUrls": [
        {
            "url": "https://www.theknot.com/marketplace/wedding-reception-venues"
        }
    ],
    "location": "Austin, TX"
};

// Run the Actor and wait for it to finish
const run = await client.actor("apage/the-knot-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 = {
    "startUrls": [{ "url": "https://www.theknot.com/marketplace/wedding-reception-venues" }],
    "location": "Austin, TX",
}

# Run the Actor and wait for it to finish
run = client.actor("apage/the-knot-scraper").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 '{
  "startUrls": [
    {
      "url": "https://www.theknot.com/marketplace/wedding-reception-venues"
    }
  ],
  "location": "Austin, TX"
}' |
apify call apage/the-knot-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=apage/the-knot-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "The Knot Scraper",
        "description": "Scrape wedding venues and vendors from The Knot. Easily extract detailed profiles including business names, website links, phone numbers, ratings, reviews, starting prices, and high-quality images. Search by any category (Photographers, Venues, Florists, etc) and location",
        "version": "0.1",
        "x-build-id": "j8APUzl6i6pTDzaVu"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/apage~the-knot-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-apage-the-knot-scraper",
                "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/apage~the-knot-scraper/runs": {
            "post": {
                "operationId": "runs-sync-apage-the-knot-scraper",
                "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/apage~the-knot-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-apage-the-knot-scraper",
                "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": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "One or more The Knot marketplace URLs to start crawling.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "category": {
                        "title": "Category",
                        "enum": [
                            "wedding-reception-venues",
                            "wedding-photographers",
                            "wedding-videographers",
                            "wedding-planners",
                            "catering",
                            "florists",
                            "wedding-djs",
                            "live-wedding-bands",
                            "beauty-services",
                            "bridal-salons",
                            "wedding-cake-bakeries",
                            "bar-services",
                            "wedding-officiants",
                            "wedding-photo-booth-rentals",
                            "wedding-rentals",
                            "transportation-services",
                            "jewelers",
                            "wedding-soloists-ensembles",
                            "wedding-dance-lessons",
                            "wedding-decor-shops",
                            "invitations",
                            "favors",
                            "rehearsal-dinners-bridal-showers",
                            "wedding-travel-agents"
                        ],
                        "type": "string",
                        "description": "The type of entity to scrape.",
                        "default": "wedding-reception-venues"
                    },
                    "location": {
                        "title": "Location",
                        "type": "string",
                        "description": "Geographic filter: city and state (e.g. 'Austin, TX') or state only."
                    },
                    "maxResults": {
                        "title": "Max results",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum number of venue/vendor items to save to the dataset.",
                        "default": 500
                    },
                    "maxPages": {
                        "title": "Max listing pages",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Maximum number of listing pages to crawl.",
                        "default": 20
                    },
                    "scrapeDetailPages": {
                        "title": "Scrape detail pages",
                        "type": "boolean",
                        "description": "If true, the Actor enqueues and scrapes each venue/vendor detail (profile) page.",
                        "default": true
                    },
                    "maxRequestRetries": {
                        "title": "Max request retries",
                        "minimum": 0,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Number of retries for a failed request before skipping.",
                        "default": 3
                    },
                    "useApifyProxy": {
                        "title": "Use Apify Proxy",
                        "type": "boolean",
                        "description": "If true, requests are sent through Apify Proxy.",
                        "default": true
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency",
                        "minimum": 1,
                        "maximum": 30,
                        "type": "integer",
                        "description": "Maximum number of concurrent requests.",
                        "default": 10
                    },
                    "delayBetweenRequestsMs": {
                        "title": "Delay between requests (ms)",
                        "minimum": 0,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Minimum delay in milliseconds between requests.",
                        "default": 1500
                    },
                    "requestHandlerTimeoutSecs": {
                        "title": "Request handler timeout (seconds)",
                        "minimum": 10,
                        "maximum": 300,
                        "type": "integer",
                        "description": "Timeout in seconds for handling each request.",
                        "default": 60
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
