For AI agents: a documentation index is available at /llms.txt
Skip to main content

Scrape OpenTable restaurants

Search OpenTable for restaurants and extract names, ratings, cuisines, and price ranges from the results.

Prerequisites

Steps

OpenTable renders its search results with JavaScript and uses bot-detection measures, so a plain HTTP request won't return listing data. The examples below search for Italian restaurants and route through stealth mode with a residential proxy.

Selector stability

OpenTable updates its markup periodically. If selectors stop returning results, inspect the live page with browser DevTools to find the current element and attribute names.

Use the Browserless MCP server to scrape restaurant listings from OpenTable from any MCP-compatible AI agent (Claude Desktop, Cursor, Windsurf, ChatGPT, etc.).

1. Connect the MCP server

Send this prompt to your AI agent to install the Browserless MCP server:

Go to https://github.com/browserless/browserless-mcp/blob/main/install.md
and follow the instructions to install the Browserless MCP server
for my client.

2. Scrape OpenTable

Use browserless_smartscraper. It handles OpenTable's dynamic content and bot protection automatically.

Use the browserless_smartscraper tool to scrape restaurant listings
from https://www.opentable.com/s?term=italian&covers=2
and return the results as markdown

Next steps