
OpenTable Review Scraper
Pricing
$20.00/month + usage

OpenTable Review Scraper
Extract customer reviews from OpenTable restaurant listings for sentiment analysis, CX insights, or competitive tracking.
0.0 (0)
Pricing
$20.00/month + usage
0
Total users
3
Monthly users
3
Runs succeeded
>99%
Last modified
9 days ago
You can access the OpenTable Review Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "runMode": "DEVELOPMENT",12 "startUrls": [13 {14 "url": "https://crawlee.dev/js"15 }16 ],17 "respectRobotsTxtFile": true,18 "linkSelector": "a[href]",19 "globs": [20 {21 "glob": "https://crawlee.dev/js/*/*"22 }23 ],24 "pseudoUrls": [],25 "excludes": [26 {27 "glob": "/**/*.{png,jpg,jpeg,pdf}"28 }29 ],30 "proxyConfiguration": {31 "useApifyProxy": true32 },33 "initialCookies": [],34 "waitUntil": [35 "networkidle2"36 ],37 "preNavigationHooks": `// We need to return array of (possibly async) functions here.38 // The functions accept two arguments: the "crawlingContext" object39 // and "gotoOptions".40 [41 async (crawlingContext, gotoOptions) => {42 // ...43 },44 ]`,45 "postNavigationHooks": `// We need to return array of (possibly async) functions here.46 // The functions accept a single argument: the "crawlingContext" object.47 [48 async (crawlingContext) => {49 // ...50 },51 ]`,52 "breakpointLocation": "NONE",53 "customData": {}54};55
56// Run the Actor and wait for it to finish57const run = await client.actor("vertivine/opentable-review-scraper").call(input);58
59// Fetch and print Actor results from the run's dataset (if any)60console.log('Results from dataset');61console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);62const { items } = await client.dataset(run.defaultDatasetId).listItems();63items.forEach((item) => {64 console.dir(item);65});66
67// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
OpenTable Review Scraper API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use OpenTable Review Scraper API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-client
Other API clients include: