Restaurant Menu Scraper - Dishes & Prices avatar

Restaurant Menu Scraper - Dishes & Prices

Pricing

from $10.00 / 1,000 menu extracteds

Go to Apify Store
Restaurant Menu Scraper - Dishes & Prices

Restaurant Menu Scraper - Dishes & Prices

Scrape restaurant menus from restaurant websites: every priced dish with its price, currency, menu section and description, as a table. Give homepages or menu pages; it finds the menu link itself. HTML and schema.org menus, $ £ € prices. Sites without a readable menu are free.

Pricing

from $10.00 / 1,000 menu extracteds

Rating

0.0

(0)

Developer

Bardach Technologies

Bardach Technologies

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Restaurant Menu Scraper turns restaurant websites into a clean, structured menu: every priced dish with its price, currency, menu section and description. Give it restaurant homepages or menu pages; when the homepage has no menu, it follows the site's own "Menu" link. It reads the restaurant's own website, not delivery apps.

Works with menus written in the page HTML (WordPress, Squarespace menu blocks, Webflow, plain sites) and with menus published as schema.org MenuItem structured data. Prices in $ (USD, CAD, AUD), £ and €.

What data does the restaurant menu scraper extract?

  • Dish name, price and currency
  • Menu section (Starters, Entrees, Burgers, Pizzas ...) and a section note
  • Dish description
  • Whether the dish is a main course (mainCourse)
  • The menu page URL and whether the dish came from the HTML or from schema.org data
  • One free status row per site without a readable menu, with the reason (PDF menu, image, ordering widget, blocked, closed by robots.txt)

How to scrape restaurant menus and prices

  1. Paste restaurant homepages or menu pages into Restaurant or menu URLs, one per restaurant.
  2. Keep Include all menu sections on for the whole menu, or switch it off for main courses only.
  3. Click Start. Download the dishes as CSV, Excel or JSON, or read them through the Apify API.
  4. To follow price changes, run it on an Apify schedule.

Use cases

  • Menu price benchmarking: what do burgers, pizzas or entrées cost across 200 restaurants in a city?
  • Food-cost and menu-engineering tools: import a restaurant's menu instead of typing it.
  • Delivery, booking and POS onboarding: pre-fill a new client's menu.
  • Market research: cuisines, price points and section structure by area.

Tip: get restaurant websites for any city with a maps or business-listing extractor, then paste them here.

Input

FieldWhat it does
startUrlsRestaurant homepages or menu pages, one per restaurant. The same address typed twice (with or without the scheme, upper or lower case, with a # part) counts once.
includeAllSectionsOn (default): every section. Off: main courses only (starters, sides, kids, desserts, drinks and soups skipped).
followMenuLinkIf the page has no priced dishes, follow the site's own menu link (one extra page). Default on.
maxConcurrencyRestaurants read in parallel (default 5, at most 10). Pages of one host are always read one at a time.
{
"startUrls": [{ "url": "https://www.bistro.example/" }],
"includeAllSections": true,
"followMenuLink": true
}

Output

One dataset item per dish:

{
"inputUrl": "https://www.bistro.example/",
"inputPosition": 1,
"menuUrl": "https://www.bistro.example/menu/",
"section": "Entrees",
"dish": "Grilled Chicken Plate",
"price": 18.5,
"currency": "$",
"description": "Rice, salad, garlic sauce",
"sectionNote": "",
"mainCourse": true,
"source": "html"
}

source says whether the dish came from the page HTML or from schema.org JSON-LD. mainCourse is true when the section heading clearly holds main plates (mains, entrées, burgers, pasta, pizzas, steaks...). inputPosition is the position (from 1) of the address among your distinct input addresses: two inputs can look the same once long ids and tracking values are hidden, and this tells their rows apart. inputUrl and menuUrl show the address as it may be shown (see "Contact data is removed"): a query part can lose pairs, so a shown address may not open exactly the same page.

Every different address you enter gets rows: dishes, or one free status item (dish: null, noMenuReason) when no menu was read, the site refused, the page was not requested, or your maximum charge was reached before the site was delivered. Addresses that are the same page typed in different ways count once: upper or lower case host, the standard port, a # part, and advertising click ids (fbclid, gclid, msclkid, dclid, yclid, twclid, ttclid, li_fat_id, igshid, gbraid, wbraid, mc_cid, mc_eid, _hsenc, _ga and the like) and every utm_ pair, which never change the page. Those pairs are never shown in inputUrl, menuUrl, the output or the saved run state, whatever their value; other pairs such as ?lang=de or ?menu=dinner stay. The first spelling is requested, and the menu is delivered and charged once. Any other difference (another path, ?lang=de instead of ?lang=en, another menu id) is another address: it is requested, written and charged on its own, even when its dishes look the same.

The run's OUTPUT record holds pages (one entry per input: status (menu, none, free, blocked or skipped), the number of dishes found, or the reason none were), menusRead, stoppedAtMaxCharge and hostsRefused (see "Refusals stop a site"). Reasons are fixed sentences, for example: menu is a PDF (not read), no priced dishes in the page HTML (image, PDF or JavaScript menu?), HTTP 404, robots.txt disallows this page, robots.txt could not be read, so the site was not requested, the page redirects to another address (https://other.example); it was not requested.

Pricing

Pay per event, no subscription. Apify platform usage is not billed on top:

  • Menu extracted: USD 0.01 per restaurant whose menu gave 3 or more distinct priced dishes. All of that restaurant's dishes are included in that one price.
  • Restaurants without a readable menu are free, and so is every free status item.
  • Actor start: USD 0.00005 per run.

How much does it cost? 100 restaurants with readable menus cost USD 1.00, however many dishes each menu has. Set a maximum charge per run: the Actor never charges beyond it, and a restaurant that your maximum charge cannot pay for gets a free status item instead of dishes. Restaurants that were already being read when the limit was reached can have been requested although they are not delivered.

Restarts and charging

Each restaurant is written and charged as one unit, in this order: the rows are saved in the run's key-value store (RUN_STATE), the rows are written to the dataset, the event is charged once, then the restaurant is marked done. A run that is killed or crashes and is started again by Apify (resurrection) finishes from the saved state: a restaurant that is not in the saved state yet is always written; only the one restaurant that was being written when the run stopped is compared with the end of the dataset (its whole rows, which carry inputPosition), so its rows are not written twice. A charge that was made is not made again, and a charge is never made before its rows are written. A kill in the middle of a very large push can leave part of the rows written; that case is not repaired. If a restart happens right after the rows were written and before the charge, the charge is made on restart. A run started again with a different input does not reuse the saved state and stops with a message.

Contact data is removed

This Actor follows menu links itself, so every text of every row (paid or free) and of the OUTPUT record goes through the same masking, and each row is checked again before it is written:

  • Masked, shown as [removed]: e-mail addresses (also written as name [at] domain [dot] com), phone numbers, a name written right next to a masked number or address, numbers written with + (8 to 15 digits), tel:, callto:, sms:, fax: and whatsapp: addresses and wa.me / api.whatsapp.com links, in the dish name, section, description, section note, reasons and addresses. A dish whose name is only a contact form is dropped.
  • A phone word: a dish name or section written as one token with 6 or more digits and a phone word (tel, phone, mobil, fax, cell, contact, handy, and short words such as ext, ph, wa, sms, call) is masked whole, for example support-nr-0664-1234567 or Tel-0664-1234567.
  • Kept on purpose, although it can look like a phone number: a code token of other letters and digits (T-0664-1234567), plain digits as a whole name, UUIDs, hex hashes, an ISBN or EAN with a valid check digit, an amount (18.50, 1,299.00), a date or time, a coordinate pair. A decimal written as text with 3 or more places and 6 or more digits (41.7151377) is masked. A whole name or section made only of digits and separators (6 to 15 digits, for example 0170 1234567 or 1 299 000) is masked.
  • Addresses of rows and OUTPUT: contact targets (mailto:, tel:, wa.me ...) are not shown; user name, password and the # part are dropped; a query pair stays only when its name holds no contact or secret word (mail, phone, token, key, sig, code, user, name, session, hash ...) and its value is 1 to 5 digits or 1 to 32 letters; a path with a contact form shows as https://<host>/[removed]. Requests use the real address.
  • Code blocks and tables are not spared. Masking is pattern-based: an unusual format can slip through, and a masked value can hide a real change. Menus are public pages; if you find a contact form that is still readable in a row, tell us through the Actor's issues tab.

Refusals stop a site

If a restaurant's server answers 401, 403, 407, 429 or 451, shows a bot check (a cf-mitigated header or a challenge script on a failed page), or refuses in its robots.txt, the Actor stops asking that site (its host, www and bare name as one) for the rest of the run and after a restart: no retry, no waiting for Retry-After, no further request, robots.txt included. The refused address gets a free status item; other addresses of the same site you entered get a free item "this address was not requested". OUTPUT.hostsRefused lists {host, status, kind, pagesNotRequested}. A refusal is saved before the next request; a kill in the moment of saving can cost one more request after the restart. The Actor does not log in, accept cookies, solve checks or use other routes around a block.

robots.txt, redirects and what is requested

  • robots.txt of a host is read first (once per run). No file (404 or 410) means no rules; a refusal (401, 403, 407, 429, 451) stops the site; a robots.txt that cannot be read (server error, a web page or JSON in its place, any other answer) means the site is not requested and gets a free item. The rules for OpenSiteAuditBot or * apply; an owner who wants his pages read allows OpenSiteAuditBot. There is no switch to turn robots.txt off.
  • Every page request carries an identifying User-Agent. A redirect is followed only to the same host or its www twin on the same port (or http to https on the standard ports), at most 5 hops, and every hop is checked against robots.txt first. A redirect to another host is not followed and nothing is requested there; the free item names the host. Private and internal network addresses are refused.
  • Requests per restaurant: robots.txt (once per host), the page, up to 5 redirect hops, and one menu link page. Pages over 3 MB, PDFs and images are not read. A page that needs more than 10 seconds of processing (reading it, removing contact data from its texts and from the rows, all counted together) is skipped with a free item and not charged. Characters that cannot be stored (a lone UTF-16 surrogate such as \ud800 in the page's structured data) are dropped from the text. No request is retried.

What it reads well, and what not (please read)

Read: menus printed as text in the HTML, where each dish is a heading or a short "Dish ... $12" line with its price. Also schema.org Menu / MenuItem data.

Not read: menus that are PDFs, images or ordering widgets drawn by JavaScript (Toast, Square Online, ChowNow and similar). Many small restaurants publish their menu that way. In a test on 25 independent restaurant websites in one US city, 2 had an HTML menu this Actor could read; the others used PDFs, images, ordering widgets or blocked crawlers. You are not charged for those sites.

To keep the data clean, the Actor is strict on purpose:

  • a page needs at least 3 distinct priced dishes to count as a menu;
  • a price is a plain amount above zero (no NaN, negative, zero or absurd values); a currency is $, £, € or a three-letter code;
  • descriptions, option lists ("choice of...", "add..."), menu numbers and navigation links are never taken as dish names;
  • a dish printed twice with different prices (sizes, half/full) is dropped rather than guessed;
  • pages that print each price above its dish name are skipped, because the prices would pair with the wrong dishes.

FAQ

Does it read PDF menus?

Not yet. The OUTPUT record names the PDF so you can see where the menu is.

Does it scrape DoorDash, Uber Eats or Google Maps menus?

No. It reads the restaurant's own website only.

Does it handle sizes (small/large)?

Dishes with two printed prices are left out rather than guessed.

Which currencies?

$, £ and €. The currency field is the price's own three-letter code from structured data, or the currency symbol printed most on the page.

Can I call it from my own code or an AI agent?

Yes: through the Apify API, a client library (Python, JavaScript), an integration (Make, Zapier, n8n) or the Apify MCP server.

Food Cost Calculator - Restaurant Plate Cost takes this Actor's dishes as they are and estimates each dish's plate cost and food-cost percentage from public average food prices.