Google Maps Posts API
Our Google Maps Posts API allows you to scrape Local Posts ("From the owner") from Google Maps. The API is accessed through the following endpoint: /search?engine=google_maps_posts
.
A user may query the following: https://serpapi.com/search?engine=google_maps_posts
utilizing a GET
request. Head to the playground for a live and interactive demo.
See also our Google Maps Place Results API, which can provide only the most recent posts.
API Parameters
Search Query
data_id
Required
Parameter defines the Google Maps data ID. Find the data ID of a place using our Google Maps API.
Serpapi Parameters
no_cache
Optional
Parameter will force SerpApi to fetch the Google Maps Posts results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to false
(default) to allow results from the cache, or true
to disallow results from the cache. no_cache and async parameters should not be used together.
async
Optional
Parameter defines the way you want to submit your search to SerpApi. It can be set to false
(default) to open an HTTP connection and keep it open until you got your search results, or true
to just submit your search to SerpApi and retrieve them later. In this case, you'll need to use our Searches Archive API to retrieve your results. async and no_cache parameters should not be used together. async should not be used on accounts with Ludicrous Speed enabled.
zero_trace
Optional
Enterprise only. Parameter enables ZeroTrace mode. It can be set to false
(default) or true
. Enable this mode to skip storing search parameters, search files, and search metadata on our servers. This may make debugging more difficult.
API Results
JSON Results
JSON output includes structured data for post information.
A search status is accessible through search_metadata.status
. It flows this way: Processing
-> Success
|| Error
. If a search has failed, the error
will contain an error message. search_metadata.id
is the search ID inside SerpApi.
HTML Results
This API scrapes a non-HTML endpoint. When necessary, search_metadata.prettify_html_file
links to a HTML version of the result generated by SerpApi. It is displayed in the playground.
API Examples
Results for: La Vera Pizzeria & Restaurant

{
"search_metadata": {
"id": "6799eb494653b47621d67aa0",
"status": "Success",
"json_endpoint": "https://serpapi.com/searches/23c683942038d8ab/6799eb494653b47621d67aa0.json",
"created_at": "2025-01-29 08:48:09 UTC",
"processed_at": "2025-01-29 08:48:09 UTC",
"google_maps_posts_url": "https://www.google.com/maps/preview/localposts?pb=!1e2!7m2!1s!7e81!8s0x89c258e28c304997:0xfcafe4e7ce35ee8c",
"raw_html_file": "https://serpapi.com/searches/23c683942038d8ab/6799eb494653b47621d67aa0.html",
"prettify_html_file": "https://serpapi.com/searches/23c683942038d8ab/6799eb494653b47621d67aa0.prettify",
"total_time_taken": 1.73
},
"search_parameters": {
"engine": "google_maps_posts",
"data_id": "0x89c258e28c304997:0xfcafe4e7ce35ee8c"
},
"posts": [
{
"position": 1,
"title": "In need of catering? 🍕",
"description": "We’ve got you covered! Our catering options are perfect for any event, big or small. Let us help make your occasion memorable. 🍾",
"link": "https://slicelife.com/restaurants/ny/new-york/10017/la-vera-pizzeria-restaurant/menu?utm_source=gmb_event&utm_campaign=gmb_event_9704_v498_14_01_2025",
"post_link": "https://www.google.com/search?sca_esv=6980e0185f303b9d&output=search&q=La+Vera+Pizzeria+%26+Restaurant&ludocid=18208023502730423948&lpsid=CIHM0ogKEICAgIC_8palYQ&ibp=gwp;0,10#lpstate=pid:CIHM0ogKEICAgIC_8palYQ,ar",
"thumbnails": [
"https://lh3.googleusercontent.com/geougc/AF1QipMgVEIERuF51zyOgEW7O21TtvgVWoyyt88SnIkB=h400-no"
],
"source": "La Vera Pizzeria & Restaurant",
"source_logo": "https://lh6.googleusercontent.com/-y1Il1SgdcBM/AAAAAAAAAAI/AAAAAAAAAAA/Izdi5Zl0uow/s40-c-k-mo/photo.jpg",
"time": "Jan 14 - Feb 5",
"from": "2025-01-14T13:00:00Z",
"to": "2025-02-06T04:59:00Z",
"online_link": "https://slicelife.com/restaurants/ny/new-york/10017/la-vera-pizzeria-restaurant/menu?utm_source=gmb_event&utm_campaign=gmb_event_9704_v498_14_01_2025",
"online_link_text": "Order online",
"posted_at": "2025-01-14T19:45:18Z",
"posted_at_text": "Jan 14, 2025"
},
{
"position": 2,
"title": "Organizing an event? 🍕",
"description": "Sounds great, we offer amazing catering services fitting for any special occasion. 🥂",
"link": "https://slicelife.com/restaurants/ny/new-york/10017/la-vera-pizzeria-restaurant/menu?utm_source=gmb_event&utm_campaign=gmb_event_9704_v490_04_12_2024",
"post_link": "https://www.google.com/search?sca_esv=6980e0185f303b9d&output=search&q=La+Vera+Pizzeria+%26+Restaurant&ludocid=18208023502730423948&lpsid=CIHM0ogKEICAgIDPzZ303wE&ibp=gwp;0,10#lpstate=pid:CIHM0ogKEICAgIDPzZ303wE,ar",
"thumbnails": [
"https://lh3.googleusercontent.com/geougc/AF1QipN8E_gOpgLY4m5iupu45Dli2Jl6E_KbDiIc4KKj=h400-no"
],
"source": "La Vera Pizzeria & Restaurant",
"source_logo": "https://lh6.googleusercontent.com/-y1Il1SgdcBM/AAAAAAAAAAI/AAAAAAAAAAA/Izdi5Zl0uow/s40-c-k-mo/photo.jpg",
"time": "Dec 4 - Jan 6",
"from": "2024-12-04T13:00:00Z",
"to": "2025-01-07T04:59:00Z",
"online_link": "https://slicelife.com/restaurants/ny/new-york/10017/la-vera-pizzeria-restaurant/menu?utm_source=gmb_event&utm_campaign=gmb_event_9704_v490_04_12_2024",
"online_link_text": "Order online",
"posted_at": "2024-12-04T17:00:31Z",
"posted_at_text": "Dec 4, 2024"
},
{
"position": 3,
"title": "Have an upcoming event? 🍕🥳",
"description": "Fantastic! We're here to provide all the catering services you need for your occasion. 🍾",
"link": "https://slicelife.com/restaurants/ny/new-york/10017/la-vera-pizzeria-restaurant/menu?utm_source=gmb_event&utm_campaign=gmb_event_9704_v481_06_11_2024",
"post_link": "https://www.google.com/search?sca_esv=6980e0185f303b9d&output=search&q=La+Vera+Pizzeria+%26+Restaurant&ludocid=18208023502730423948&lpsid=CIHM0ogKEICAgIC3icXccQ&ibp=gwp;0,10#lpstate=pid:CIHM0ogKEICAgIC3icXccQ,ar",
"thumbnails": [
"https://lh3.googleusercontent.com/geougc/AF1QipNfV0ebjWGjUPKAXeQXBkiU0lgwTTFfMDQbrhDP=h400-no"
],
"source": "La Vera Pizzeria & Restaurant",
"source_logo": "https://lh6.googleusercontent.com/-y1Il1SgdcBM/AAAAAAAAAAI/AAAAAAAAAAA/Izdi5Zl0uow/s40-c-k-mo/photo.jpg",
"time": "Nov 6 - Dec 9",
"from": "2024-11-06T13:00:00Z",
"to": "2024-12-10T04:59:00Z",
"online_link": "https://slicelife.com/restaurants/ny/new-york/10017/la-vera-pizzeria-restaurant/menu?utm_source=gmb_event&utm_campaign=gmb_event_9704_v481_06_11_2024",
"online_link_text": "Order online",
"posted_at": "2024-11-06T17:59:14Z",
"posted_at_text": "Nov 6, 2024"
},
...
],
"serpapi_pagination": {
"next_page_token": "CgwI6Z30sQYQuJjO0gEqBkVnSUlDZw=="
"next": "https://serpapi.com/search.json?data_id=0x89c258e28c304997%3A0xfcafe4e7ce35ee8c&engine=google_maps_posts&next_page_token=CgwI6Z30sQYQuJjO0gEqBkVnSUlDZw%3D%3D"
}
}
JSON structure overview
{
...
"posts": [
{
"title": "String - Title of the post",
"description": "String - Description of the post",
"link": "String - Link to the post",
"post_link": "String - Link to the post",
"thumbnails": "Array - Thumbnails of the post",
"source": "String - Source of the post",
"source_logo": "String - Link to the source",
"online_link": "String - Link to the online post",
"online_link_text": "String - Text of the online link",
"posted_at_text": "String - Date of the post",
"posted_at": "String - Date of the post, in ISO 8601 format",
"time": "String - Time of the post",
"from": "String - Start date of the post, in ISO 8601 format",
"to": "String - End date of the post, in ISO 8601 format"
},
],
"serpapi_pagination": {
"next_page_token": "String - page token",
"next": "String - link to the next page"
}
...
}