Read Google Maps business posts
litescrape.google.maps.postsReturns the posts a business published on Google Maps
- Price
- $0.00015/successAt provider cost
- Success rate
- 99.7%Last 30 days · 1,859 calls
- Latency p50
- 1.6 sp95 5.6 s
- Last verified
- Sep 29, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.maps.posts?data_id=0x8644b741914e0c8d%3A0xcb6fba98ff70f342Preview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
gl | string | Optional | Two-letter country code used to localize results. | us |
hl | string | Optional | Language code such as en, en-GB, or de. | en |
data_id | string | Required | Required hexadecimal Maps feature ID. Follow posts_link from a Google Maps place response or copy its data_id. | 0x89c258e28c304997:0xfcafe4e7ce35ee8c |
timeout | number | Optional | Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline. | |
google_domain | string | Optional | Google domain used for the request. | google.com |
next_page_token | string | Optional | Opaque continuation token returned by a previous Maps Posts response. | |
- Query parameters
glstringOptionalTwo-letter country code used to localize results.
Example:
ushlstringOptionalLanguage code such as en, en-GB, or de.
Example:
endata_idstringRequiredRequired hexadecimal Maps feature ID. Follow posts_link from a Google Maps place response or copy its data_id.
Example:
0x89c258e28c304997:0xfcafe4e7ce35ee8ctimeoutnumberOptionalOptional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
google_domainstringOptionalGoogle domain used for the request.
Example:
google.comnext_page_tokenstringOptionalOpaque continuation token returned by a previous Maps Posts response.
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.google.maps.posts?data_id=0x8644b741914e0c8d%3A0xcb6fba98ff70f342' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.google.maps.posts?data_id=0x8644b741914e0c8d%3A0xcb6fba98ff70f342",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/litescrape.google.maps.posts?data_id=0x8644b741914e0c8d%3A0xcb6fba98ff70f342", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00015/success, including the service fee.