# The Knot Vendor Scraper - Wedding Leads, Emails & Reviews (`scrapersdelight/theknot-vendor-scraper`) Actor

Scrape The Knot wedding vendors by category and city: phone, email, website, socials, address, rating, reviews count, starting price, guest capacity, awards, deals, team and FAQ pricing, plus optional reviews with 5 category scores. Filters, monitor mode. No login.

- **URL**: https://apify.com/scrapersdelight/theknot-vendor-scraper.md
- **Developed by:** [Scrapers Delight](https://apify.com/scrapersdelight) (community)
- **Categories:** Lead generation, Business, Marketing
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 vendors

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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does The Knot Vendor Scraper do?

**The Knot Vendor Scraper** extracts wedding vendors from [The Knot](https://www.theknot.com/marketplace) marketplace: pick a category (venues, photographers, DJs, florists, planners, caterers and 18 more) and a US city, or paste The Knot search and vendor URLs, and get one row per vendor with name, category, city, rating, review count, starting price, guest capacity, awards, deals and, from the vendor's profile, phone, email, website, social links, address, seasonal pricing and team. Reviews come as separate rows with five category scores. Built for wedding-industry sales teams, agencies, SaaS and insurance sellers, directories and market researchers.

The Knot scraper · theknot.com vendor scraper · wedding vendor leads · The Knot API alternative

- **Wedding vendor leads with contact details:** phone on 97-100% and email on 99-100% of vendors in our test runs, plus website, Instagram, Facebook, X and Pinterest for paid listings.
- **Every category on The Knot:** 24 vendor categories x any US city The Knot searches, or your own search URLs with any filter or sort.
- **The Knot's own filters:** guest capacity, price tier, starting price, Best of Weddings / Hall of Fame, woman-, Black-, veteran-owned and other business attributes, deals, distance, plus any option slug (barn, drone, vegan...).
- **Reviews with category scores:** rating, response time, quality, value, flexibility and professionalism scores, wedding date, guest count, vendor reply; keyword and star filters run on The Knot's side.
- **Complete walks:** each search reports The Knot's own vendor total next to what was delivered (New York photographers: 317 of 317; Los Angeles venues: 468 of 468).
- **Monitoring:** only vendors new since your last run.
- **No login, cookies or API key.** Export to JSON, CSV or Excel; schedules, webhooks, Make, Zapier, n8n, Google Sheets; API and MCP.

### What data can you get from The Knot?

<table>
<tr><td>🏷️ Vendor name, category, The Knot ids</td><td>📍 City, state, service area</td><td>🏠 Street address + ZIP + lat/lng (public venues)</td></tr>
<tr><td>⭐ Rating and review count</td><td>💲 Starting price, price max, price tier</td><td>📅 Peak / off-peak prices and average spend</td></tr>
<tr><td>📞 Phone</td><td>✉️ Email</td><td>🌐 Website</td></tr>
<tr><td>📸 Instagram, Facebook, X, Pinterest</td><td>👤 Contact person + role, team members</td><td>🏆 Best of Weddings years, Hall of Fame</td></tr>
<tr><td>👥 Guest capacity band + max capacity</td><td>🏛️ Amenities, settings, ceremony types</td><td>🎵 Instruments, music genres, styles</td></tr>
<tr><td>🎁 Current deals</td><td>🧾 FAQ answers (site fees, bar price, seasons)</td><td>🗓️ Years in business, team size, languages</td></tr>
<tr><td>🤖 The Knot's AI review summary</td><td>🖼️ Photo + video counts, gallery, logo</td><td>💬 Reviews with 5 category scores and replies</td></tr>
</table>

### How to scrape The Knot with The Knot Vendor Scraper

1. [Create a free Apify account](https://console.apify.com/sign-up) - the free plan includes monthly credit.
2. Open [The Knot Vendor Scraper](https://apify.com/scrapersdelight/theknot-vendor-scraper) and click **Try for free**.
3. Pick **Vendor categories** and type **Locations** as "City, ST" (e.g. "Austin, TX"), or paste The Knot URLs.
4. Add filters, switch **Include reviews** on if you need them, and set **Max vendors**.
5. Click **Start**. Vendors appear in the dataset page by page.
6. Open the **Storage** tab and **Export** as JSON, CSV or Excel - or schedule the run.

### ⬇️ Input

| Parameter | Type | Description |
|---|---|---|
| **🔍 What to scrape** | | |
| `categories` | array | The Knot categories (24, dropdown). Combined with every location. |
| `locations` | array | US cities as "City, ST", "City State" or a slug ("st-louis-mo"). |
| `startUrls` | array | The Knot search URLs (any filter/sort) or vendor profile URLs. |
| **🎯 Filters** (applied by The Knot) | | |
| `sort` | string | `recommended`, `featured` or `distance`. Empty = the site's default for the city. |
| `distance` | string | Within 5 / 10 / 25 / 50 / 100 miles of the city. |
| `guestCapacity` | array | Venue capacity bands: 0-50 ... 251-300, 300+. |
| `priceRange` | array | $ Inexpensive, $$ Affordable, $$$ Moderate, $$$$ Luxury. |
| `startingPriceRange` | string | Photographers' starting-price band. |
| `bestOfWeddings` | array | This year's Best of Weddings winners, Hall of Fame. |
| `businessAttributes` | array | Woman-, Black-, Asian-, Hispanic or Latinx-, LGBTQ+-, Native American-, Pacific Islander-, Veteran-owned. |
| `deals` | string | Any deal, exclusive discount, custom discount, gifts, offers. |
| `extraFilters` | array | Any other option slug, e.g. `barn`, `drone`, `vegan`, `settings=vineyard`. |
| **✂️ Refine results** (checked before a row is delivered) | | |
| `minRating`, `minReviews` | number | Skip vendors below a rating / review count. |
| `withEmailOnly`, `withPhoneOnly`, `withWebsiteOnly` | boolean | Only vendors whose profile lists it (turns on contact details). |
| **➕ Extra data** | | |
| `includeDetails` | boolean | Read each profile: phone, email, website, socials, address, pricing, FAQ, team. Default **on**. |
| `includeReviews` | boolean | Add review rows. Default off. |
| `maxReviewsPerVendor` | integer | Default 20. |
| `reviewsSort` | string | `newest` (default), `oldest`, `highest`, `lowest`. |
| `reviewStars`, `reviewKeyword`, `reviewsWithPhotosOnly` | | Review filters The Knot applies itself. |
| **🔁 Monitoring** | | |
| `monitorMode`, `monitorStoreName` | | Deliver only vendors not delivered by earlier runs of the same search. A vendor delivered without contact details comes back once, with `monitorStatus: "details"`, when a later run has `includeDetails` on; one delivered while reviews were off gets its review rows (only) when a later run has `includeReviews` on. |
| **📦 Output** | | |
| `maxResults` | integer | Total vendor rows (reviews not counted). Default 100; 0 = no limit. |
| `maxResultsPerSearch` | integer | Cap per category x location or per URL. 0 = none. |
| `compact` | boolean | Core fields only (contact, rating, price, URL). |
| **⚙️ Advanced** | | |
| `proxyConfiguration` | object | Used only when The Knot refuses the direct connection. Default RESIDENTIAL US. |
| `maxConcurrency` | integer | Profile pages in parallel. Default 6. |

#### Input JSON

```json
{
    "categories": ["wedding-reception-venues"],
    "locations": ["Dallas, TX", "Austin, TX"],
    "guestCapacity": ["151-200", "201-250"],
    "includeDetails": true,
    "includeReviews": false,
    "maxResults": 200
}
```

#### Write locations as "City, ST"

The Knot searches by city slug (`austin-tx`). "Austin, TX", "Austin TX", "St. Louis, Missouri" and "austin-tx" all work. A city The Knot does not know sends you to a state page; the actor reports it in `RUN_SUMMARY` and bills nothing.

#### Filters only apply where The Knot has them

Each category has its own filters (venues: guest capacity, settings, amenities; photographers: starting price, styles; bands: instruments, genres). A filter a category lacks is left out of that search and named in the log and `RUN_SUMMARY`; the rest of the search runs. For anything else, set it on theknot.com and paste the URL into `startUrls`.

#### Contact details are on the profile page

Phone, email, website and socials are not on The Knot's search pages. With `includeDetails` on (the default) the actor opens each vendor's profile. The Knot shows website and social links only on **paid listings**; unpaid listings still show phone and email.

### ⬆️ Output

One row per vendor (`recordType: "vendor"`) and, with reviews on, one per review (`recordType: "review"`). Views: **Vendor leads**, **Vendor overview**, **Reviews**. A real vendor row (Dallas reception venues, shortened):

```json
{
  "recordType": "vendor",
  "name": "Museum Of Biblical Arts",
  "category": "Reception Venues",
  "profileUrl": "https://www.theknot.com/marketplace/museum-of-biblical-arts-dallas-tx-247819",
  "city": "Dallas", "state": "TX", "address": "7500 Park Lane", "postalCode": "75225",
  "rating": 4.74, "reviewCount": 58,
  "startingPrice": 3530, "priceTier": "$$ - Affordable",
  "guestCapacity": "201-250", "maxCapacity": 220,
  "phone": "(214) 368-4622 ext. 109",
  "email": "eventscoordinator@biblicalarts.org",
  "website": "http://www.biblicalarts.org",
  "instagram": "https://www.instagram.com/mba.dallas",
  "yearsInBusiness": 60, "peakSeasonMinPrice": 3530,
  "detailsFetched": true, "searchTotal": 680, "page": 1, "position": 3
}
```

A real review row (shortened):

```json
{
  "recordType": "review",
  "vendorName": "Lucky Devils Band",
  "rating": 5,
  "createdAt": "2019-10-05T04:05:16.258Z",
  "weddingDate": "2019-09-14",
  "ratingResponseTime": 5, "ratingQuality": 5, "ratingValue": 5,
  "ratingFlexibility": 5, "ratingProfessionalism": 5,
  "verified": true, "reviewerFirstName": "F", "reviewerRole": "parent",
  "vendorReply": "You are so welcome! This is such a lovely review! ...",
  "vendorReplyDate": "2019-11-19T18:43:23.673Z"
}
```

#### Fields and how often they are filled

Measured on our test runs (2026-10-14): **first page of 8 Chicago categories** (240 vendors, mostly paid listings), **a deep walk** (1,000 Los Angeles venues + photographers, 82% unpaid listings) and **100 Dallas venues**.

| Field | 8 categories, page 1 | Deep walk | Dallas venues |
|---|---|---|---|
| `phone` | 100% | 97% | 100% |
| `email` | 100% | 100% | 100% |
| `website` | 76% | 18% | 100% |
| `instagram` / `facebook` | 70% / 64% | 17% / 13% | 95% / 93% |
| `rating`, `reviewCount` | 95% | 79% | 86% |
| `startingPrice` | 81% | 40% | 85% |
| `address` + `postalCode` + lat/lng | 50% | 63% | 100% |
| `guestCapacity` / `maxCapacity` (venues) | 12% / 12% | 42% / 34% | 100% / 91% |
| `awards` | 74% | 25% | 52% |
| `contactName` / `teamMembers` | 59% / 78% | 10% / 38% | 42% / 42% |
| `yearsInBusiness`, `languages` | 72%, 70% | 32%, 31% | 93%, 94% |
| `faq` answers | 13% | 42% | 99% |
| `aiReviewSummary` | 79% | 14% | 50% |
| `deals` | 18% | 19% | 16% |

Reviews (279 rows, 3 vendors): text, rating and the five category scores 100%, wedding date 76%, reviewer role 88%, vendor reply 29%, guest count 24%, photos 5%, title 12%.

Fields The Knot leaves empty are `null`, never a guessed value. YouTube and TikTok links are not output: none of the 240 profiles checked carried a social link other than Facebook, Instagram, X or Pinterest.

### Use cases

- 💼 **Sales prospecting:** wedding photographers, planners and venues with phone and email for CRM, booking, album and insurance products.
- 📈 **Market sizing:** vendor counts and price tiers per category and city from The Knot's own totals.
- 🏛️ **Venue research:** capacity, seasonal site fees, bar prices and amenities across a metro.
- 🏆 **Partner lists:** Best of Weddings and Hall of Fame vendors for referral programs.
- 🔁 **New-vendor alerts:** weekly monitor runs catch vendors new to a market.
- ⭐ **Reputation analysis:** review scores by category, reply rates, keyword mentions.

### How much does it cost to scrape The Knot?

Pay per row, no start fee: **$0.90 per 1,000 vendors**, **+$0.90 per 1,000 vendors with contact details** (profile read), **$0.45 per 1,000 reviews**.

| Run | Rows | Price |
|---|---|---|
| The form as it opens (20 photographers with details) | 20 | $0.036 |
| 100 venues, listing only | 100 | $0.09 |
| 100 venues with contact details | 100 | $0.18 |
| 1,000 vendors with contact details | 1,000 | $1.80 |
| 10 vendors with details + 50 reviews each | 510 | $0.243 |

Filtered-out vendors, duplicates and vendors already delivered by monitor runs are not delivered. Set **Max vendors** or Apify's maximum total charge to cap a run; the actor stops there.

### Integrations, API, scheduling & MCP

- **Schedule** weekly runs with monitor mode for new vendors only.
- **Webhooks** on run finish; connect **Make, Zapier, n8n, Google Sheets, Slack** through Apify integrations.
- **API:** start runs and read the dataset with [Python](https://apify.com/scrapersdelight/theknot-vendor-scraper/api/python) or [JavaScript](https://apify.com/scrapersdelight/theknot-vendor-scraper/api/javascript).
- **MCP:** let an AI agent call it through the [Apify MCP server](https://apify.com/scrapersdelight/theknot-vendor-scraper/api/mcp).

### More wedding and event vendor scrapers

- 🎉 [Event Vendor Leads Scraper](https://apify.com/scrapersdelight/event-vendor-leads-scraper) - The Bash, Eventective, BounceGuide and Roaming Hunger in one list.
- 🎧 [The Bash Vendor Scraper](https://apify.com/scrapersdelight/thebash-scraper) - DJs, bands, photographers and entertainers.
- 🏛️ [Eventective Scraper](https://apify.com/scrapersdelight/eventective-scraper) - event venues and vendors with emails.
- 💍 [Wedding Venue & Vendor Email Extractor](https://apify.com/scrapersdelight/eventective-email-extractor) - Eventective wedding vendors with emails.
- 🥂 [PartySlate Scraper](https://apify.com/scrapersdelight/partyslate-venue-scraper) - event venues and vendors from PartySlate.

All our actors: [apify.com/scrapersdelight](https://apify.com/scrapersdelight).

### Limits & empty runs

- The Knot shows 30 vendors per search page (the first "featured" page can show up to 73). A big-city category lists 100-700 vendors; deep walks finish when the actor has every vendor The Knot counts.
- Website and social links exist only on paid listings; unpaid listings carry phone, email, address and ratings.
- Street addresses are public mostly for venues; other vendors show city, state and service area.
- A city The Knot does not recognise, a filter combination with no vendors, and a vendor URL that no longer exists finish the run successfully with nothing billed; `RUN_SUMMARY` names each one.
- If The Knot refuses the direct connection, the actor switches to a proxy within a per-run budget, and stops the run (nothing more billed) rather than answer a CAPTCHA.

### FAQ

#### How much does The Knot Vendor Scraper cost?

$0.90 per 1,000 vendors, plus $0.90 per 1,000 vendors when contact details are read, and $0.45 per 1,000 reviews. No start fee. A typical 100-vendor run with contact details costs $0.18.

#### How many vendors can The Knot Vendor Scraper get per city?

Every vendor The Knot lists for the category and city: 317 wedding photographers in New York, 468 reception venues in Los Angeles, 680 in Dallas at the time of testing. Each search reports The Knot's own total next to the rows delivered.

#### Does The Knot Vendor Scraper get emails and phone numbers?

Yes, with **Include contact details** on (the default). In our runs 97-100% of vendors had a phone and 99-100% an email. Websites and social links come with paid listings.

#### Can The Knot Vendor Scraper scrape reviews?

Yes. Switch on **Include reviews**: each review is a row with the overall rating, five category scores, text, wedding date, guest count and the vendor's reply. Filter by stars or keyword.

#### Can I scrape WeddingWire with The Knot Vendor Scraper?

No. WeddingWire belongs to the same company but runs separate listings with different ids, review counts and ratings; this actor reads theknot.com only.

#### Can I monitor new vendors with The Knot Vendor Scraper?

Yes. Turn on **Monitor mode** and schedule the run weekly: each run delivers only vendors that earlier runs of the same search did not.

#### Do I need a The Knot account, cookies or an API key?

No. The Knot Vendor Scraper reads the public marketplace pages and the public reviews feed.

#### Can I use The Knot Vendor Scraper with the Apify API or MCP?

Yes - every input in the table above works over the API, and AI agents can call the actor through the Apify MCP server.

#### Why did my The Knot Vendor Scraper run return no vendors?

Open `RUN_SUMMARY` in the key-value store: it lists each search with The Knot's total, the filters left out for a category, locations not recognised and any unreachable pages. Narrow filter combinations (e.g. 0-50 guests + an exclusive deal + one business attribute) often match nothing.

#### Is it legal to scrape The Knot?

The Knot Vendor Scraper reads publicly available data from theknot.com. Review the site's terms and the laws that apply to your use case before using the data.

#### Your feedback

Found a bug or need a field? Open an issue on the [Issues tab](https://apify.com/scrapersdelight/theknot-vendor-scraper/issues/open) - we read every one.

This actor is not affiliated with The Knot or The Knot Worldwide.

# Actor input Schema

## `categories` (type: `array`):

The Knot vendor categories to search, combined with every location below. Leave empty when you only use Start URLs.

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

US cities as "City, ST", e.g. "Austin, TX", "New York, NY", "st-louis-mo". The Knot searches around the city. A city it does not know is reported, never billed.

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

The Knot search URLs (with any filters/sort you set on the site, e.g. https://www.theknot.com/marketplace/wedding-reception-venues-austin-tx?guest_capacity=151-200) or vendor profile URLs (…/marketplace/dreamlife-wedding-photo-and-video-new-york-ny-841255).

## `sort` (type: `string`):

The Knot's own result order. Empty = the site's default for that city (usually Recommended).

## `distance` (type: `string`):

Only vendors within this distance of the city.

## `guestCapacity` (type: `array`):

Venue capacity bands (Reception Venues; Rehearsal Dinners & Showers). Several bands = any of them.

## `priceRange` (type: `array`):

The Knot's price tiers (venues, videographers, DJs, bands, florists, planners, caterers, cakes and more).

## `startingPriceRange` (type: `string`):

Starting-price band, Wedding Photographers only.

## `bestOfWeddings` (type: `array`):

Only The Knot Best of Weddings award winners (this year) and/or Hall of Fame vendors.

## `businessAttributes` (type: `array`):

Vendor-declared ownership attributes. Several = any of them.

## `deals` (type: `string`):

Only vendors with a current deal on The Knot.

## `extraFilters` (type: `array`):

Any other The Knot filter option by its slug, e.g. "barn", "drone", "vegan", "settings=vineyard". Applied to the categories that have it; the README lists every option.

## `minRating` (type: `number`):

Skip vendors rated below this (0-5). Vendors with no reviews are skipped when set.

## `minReviews` (type: `integer`):

Skip vendors with fewer reviews than this. 0 = no limit.

## `withEmailOnly` (type: `boolean`):

Deliver only vendors whose profile lists an email (turns on contact details).

## `withPhoneOnly` (type: `boolean`):

Deliver only vendors whose profile lists a phone number (turns on contact details).

## `withWebsiteOnly` (type: `boolean`):

Deliver only vendors whose profile lists a website (turns on contact details).

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

Read each vendor's profile page: phone, email, website, social links, address, pricing by season, FAQ answers, team, years in business. One extra page per vendor, billed as the vendor-details add-on.

## `includeReviews` (type: `boolean`):

Add each vendor's reviews as separate rows (recordType "review"): rating, 5 category scores, text, wedding date, guest count, vendor reply. Billed per review.

## `maxReviewsPerVendor` (type: `integer`):

Reviews read per vendor when reviews are on (50 per request).

## `reviewsSort` (type: `string`):

Which reviews come first.

## `reviewStars` (type: `array`):

Only reviews with these star ratings. Empty = all.

## `reviewKeyword` (type: `string`):

Only reviews that mention this word or phrase (The Knot's own review search), e.g. "drone", "late".

## `reviewsWithPhotosOnly` (type: `boolean`):

Only reviews where the couple added photos.

## `monitorMode` (type: `boolean`):

Deliver only vendors not delivered by earlier monitor runs of the same search. Pairs with a weekly schedule to catch vendors new to a market.

## `monitorStoreName` (type: `string`):

Named key-value store that remembers delivered vendors. Use one name per monitored search set.

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

Total vendor rows for the run (reviews not counted). The Knot pages 30 vendors at a time; a big-city category lists 100-500. 0 = no limit.

## `maxResultsPerSearch` (type: `integer`):

Cap per category x location (or per URL). 0 = no per-search cap.

## `compact` (type: `boolean`):

Core fields only (name, category, city, rating, price, phone, email, website, socials, URL) - trimmed for spreadsheets and AI pipelines.

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

Fallback route when The Knot refuses the direct connection. Default: Apify RESIDENTIAL (US), used only after a refusal and within a per-run budget. Your own proxy URLs are used from the first request.

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

Profile pages fetched in parallel.

## Actor input object example

```json
{
  "categories": [
    "wedding-photographers"
  ],
  "locations": [
    "New York, NY"
  ],
  "includeDetails": true,
  "includeReviews": false,
  "maxReviewsPerVendor": 20,
  "reviewsSort": "newest",
  "monitorMode": false,
  "monitorStoreName": "theknot-vendor-monitor",
  "maxResults": 20,
  "maxResultsPerSearch": 0,
  "compact": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  },
  "maxConcurrency": 6
}
```

# Actor output Schema

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

One item per vendor (recordType vendor) and, when reviews are on, one per review (recordType review).

## `summary` (type: `string`):

Per-search totals on The Knot vs vendors delivered, filters left out, locations not recognised, unreachable pages, routes used and why the run stopped.

# 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 = {
    "categories": [
        "wedding-photographers"
    ],
    "locations": [
        "New York, NY"
    ],
    "includeDetails": true,
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapersdelight/theknot-vendor-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 = {
    "categories": ["wedding-photographers"],
    "locations": ["New York, NY"],
    "includeDetails": True,
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapersdelight/theknot-vendor-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 '{
  "categories": [
    "wedding-photographers"
  ],
  "locations": [
    "New York, NY"
  ],
  "includeDetails": true,
  "maxResults": 20
}' |
apify call scrapersdelight/theknot-vendor-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapersdelight/theknot-vendor-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/vPl4OFZG6awtFeHjU/builds/e0Dg6SYav2VWaNhZQ/openapi.json
