# Opentable Urls Script (`hello.datawizards/opentable-urls-script`) Actor

"Opentable-Urls Script extracts rich restaurant data from OpenTable pages, including menus, images, ratings, location, cuisine, and pricing. Ideal for food apps, analytics, travel platforms, and AI datasets, delivering clean, structured JSON output with proxy support."

- **URL**: https://apify.com/hello.datawizards/opentable-urls-script.md
- **Developed by:** [datawizards](https://apify.com/hello.datawizards) (community)
- **Categories:** Lead generation, Automation, Other
- **Features:** Limited permissions
- **Stats:** 16 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.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?

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

Below is your complete **SEO-friendly, advanced, professionally written README** for the **Opentable Urls Script · Apify Actor** — fully aligned with your writing style, sample structure, and requirements.
Let me know if you want a short description (300 chars), a second version, or a JSON schema added as well.

***

## 🍽️ Opentable-Urls Script · Apify Actor

Extract **high-quality restaurant data** from OpenTable URLs — including menus, images, ratings, location details, cuisines, opening hours, and more — all delivered in clean, structured JSON.
Built and maintained by **[DataWizards](https://linkedin.com/in/data-wizards-aa8080342)**.

***

### 📌 What Is `Opentable-Urls Script`?

The **Opentable-Urls Script** Apify Actor is designed to scrape **rich restaurant profiles** from OpenTable listings.
Just provide one or multiple restaurant URLs, and the actor automatically extracts:

✔ Restaurant name
✔ Description
✔ Location & geo-coordinates
✔ Opening hours
✔ Menu categories + menu items
✔ Images
✔ Cuisine
✔ Rating & reviews count
✔ Price range
✔ Contact details
…all without needing to manually open each page.

Perfect for **food analytics**, **restaurant databases**, **travel platforms**, **business directories**, and **AI/LLM training datasets**.

***

### ⭐ Key Features

#### 🔍 Deep Restaurant Data Extraction

Extracts **complete structured data**, including menus, food items, sections, and metadata.

#### 🖼️ High-Resolution Images

Scrapes all available restaurant photos in clean URLs.

#### 🍽️ Full Menu Coverage

Covers **Lunch, Dinner, Brunch**, and all other available menu sections with items and descriptions.

#### 🧭 Accurate Location Details

Extracts address, ZIP code, locality, region, and **GeoCoordinates**.

#### ⭐ Ratings & Reviews

Pulls **ratings**, **reviewCount**, and other credibility metrics.

#### 🛡️ Proxy Support

Uses Apify’s **RESIDENTIAL proxy pool** to avoid blocking.

#### ⚡ Fast, Lightweight, Scalable

Great for scraping thousands of restaurants with minimal overhead.

***

### 🛠️ Input Schema

```json
{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

#### 🔐 Proxy Configuration Notes

- `useApifyProxy` must be **true**.
- Recommended proxy group: **RESIDENTIAL** for best success and lowest block rates.

***

### 📤 Output Example

(Shortened for readability — your real output contains full menus and details.)

```json
[
  {
    "Id": "https://www.opentable.com/r/schultzys-restaurant-bayville",
    "Name": "Schultzy's Restaurant",
    "Description": "Whether a holiday party with family and friends...",
    "Website": "https://www.longislandrawbar.com/restaurant",
    "Images": [
      "https://resizer.otstatic.com/v4/photos/69708241-2?width=752&height=752&format=avif"
    ],
    "Address": {
      "streetAddress": "265 Bayville Ave",
      "addressLocality": "Bayville",
      "addressRegion": "NY",
      "postalCode": "11709",
      "addressCountry": "United States"
    },
    "Opening_hours": "Mon–Sat 11:30 am–3:30 pm ...",
    "Geo": {
      "latitude": 40.907371,
      "longitude": -73.549475
    },
    "Telephone": "(516) 588-6240",
    "Cuisine": "American, Seafood",
    "Price_range": "$31 to $50",
    "Rating": {
      "ratingValue": 4.8,
      "reviewCount": 95
    },
    "Menus": [
      {
        "name": "Lunch Menu",
        "hasMenuSection": [
          { "name": "Starters", "hasMenuItem": [ ... ] }
        ]
      }
    ]
  }
]
```

***

### 🚀 Use Cases

#### 🍽️ Restaurant Aggregators

Build large-scale datasets for restaurant discovery apps (similar to Yelp, TripAdvisor, Zomato, etc.).

#### 📈 Competitor Intelligence

Analyze competitors by comparing cuisine types, menus, and pricing.

#### 🔍 Food Delivery & Reservation Platforms

Enrich your platform with high-quality restaurant data.

#### 🤖 AI Training Datasets

Feed **LLMs and ML models** with structured culinary/restaurant data.

#### 🗺️ Travel Guides & Tourism Apps

Provide tourists with fresh, detailed dining recommendations.

***

### ✅ Best Practices

✔ Always use **RESIDENTIAL proxies** for high-volume scraping.
✔ Use valid OpenTable restaurant URLs (not search pages).
✔ Avoid sending too many requests in a very short time.
✔ If scraping multiple URLs, chunk them for optimal performance.
✔ Keep your Apify account proxy budget sufficient for large runs.

***

### 🧩 Additional Improvements & Customization

Want extra fields like:

- 🔹 dietary options
- 🔹 reservation availability
- 🔹 deeper review extraction
- 🔹 schema.org structured version
- 🔹 data deduplication
- 🔹 cron job automation
- 🔹 simplified clean output

**DataWizards can build it for you.**

***

### 🤝 Support

Whether you need custom output, bug fixes, or a highly specialized version —
**DataWizards is always ready for you.**

📧 Email: **<hello.datawizard@gmail.com>**
✉️ **Subject**: `Opentable-Urls Script Actor – Support Request`
🔗 Connect on LinkedIn: **<https://linkedin.com/in/data-wizards-aa8080342>**

***

### 🐞 Bug Reports

If you encounter errors, unexpected outputs, or want new features:

📩 Email: **<hello.datawizard@gmail.com>**
✉️ **Subject**: `Bug Report – Opentable-Urls Script Actor`
OR open an issue on Apify.

***

### 🏁 Start Extracting Rich OpenTable Restaurant Data Like a Pro

Power your apps, dashboards, analytics, or AI models with clean, structured, high-quality restaurant data using the **Opentable-Urls Script** Apify Actor.

***

If you want, I can also generate:
✅ 300-character short description
✅ Tags/keywords for SEO
✅ JSON Schema for the output
✅ A shorter or more marketing-focused README

Just tell me!

# Actor input Schema

## `Urls` (type: `array`):

The urls for the spider.

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

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "Urls": [
    "https://www.opentable.com/r/schultzys-restaurant-bayville"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("hello.datawizards/opentable-urls-script").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 = { "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    } }

# Run the Actor and wait for it to finish
run = client.actor("hello.datawizards/opentable-urls-script").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 '{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call hello.datawizards/opentable-urls-script --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hello.datawizards/opentable-urls-script"
        }
    }
}
```

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/IoyTPSWIfNnYPHgQn/builds/nqCneB6TYvS5R5XdW/openapi.json
