Tài liệu API hiện chỉ có bằng tiếng Anh.

Google Maps Menu

Get a restaurant's menu, prices, booking links, and opening hours.

GET/api/v1/google/maps/menu

Costs 1 credit per request; failed requests are refunded. Authentication, the search_metadata envelope and error codes are the same as for every endpoint (see the API reference). Try it in the playground.

Parameters

Restaurant menu

Resolve one Place ID and return its menu, menu photos, booking and ordering links, opening hours, popular times, price range, review summary, photos, and recent social posts.

ParameterTypeDescription
place_idrequiredstringGoogle business Place ID whose menu, booking links, and place details are returned.Up to 512 characters.Use a business Place ID (ChIJ…), such as the place_id of a /api/google/maps search result.Every response is fetched live. Places without a menu return HTTP 404 not_found and are not billed.

Localization

Control the Google language, country, and domain.

ParameterTypeDescription
hlstringLanguage used for Google labels and returned text.Default: en.Up to 32 characters.Examples: en, es, fr, deMenu text may stay in the language it was published in.Google's AI review summary is not available in every language.
glstringTwo-letter country code used for regional localization.Default: us.Examples: us, gb, de, jp
google_domainstringGoogle domain used for the returned Google Maps link.Default: google.com.Up to 253 characters.Examples: google.com, google.co.uk, google.de

Response

A JSON object with search_metadata (request id, credits used and remaining) and the result groups the page returns. Groups and fields depend on the content of each page, so treat every field as optional.

Examples

cURL
curl "https://serpfast.com/api/v1/google/maps/menu?place_id=ChIJPf0L06VZwokRD6L-7RV-7Yg" \
  -H "Authorization: Bearer $SERPFAST_KEY"
Node.js 18+
const params = new URLSearchParams({
  "place_id": "ChIJPf0L06VZwokRD6L-7RV-7Yg"
});
const res = await fetch(`https://serpfast.com/api/v1/google/maps/menu?${params}`, {
  headers: { Authorization: `Bearer ${process.env.SERPFAST_KEY}` },
});
const data = await res.json();
console.log(data);
Python
import os, requests

params = {
  "place_id": "ChIJPf0L06VZwokRD6L-7RV-7Yg"
}
res = requests.get(
    "https://serpfast.com/api/v1/google/maps/menu",
    params=params,
    headers={"Authorization": f"Bearer {os.environ['SERPFAST_KEY']}"},
    timeout=120,
)
print(res.json())