data_idstringwymagane
Parameter defines the Google Maps data ID. Find the data ID of a place using our Google Maps API.
https://api.sandbase.ai/v1/api/google-maps/postsGet the owner posts and updates published on a Google Maps place by data ID, with text, images, date and links.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Get the owner posts and updates published on a Google Maps place by data ID, with text, images, date and links.
curl -X POST "https://api.sandbase.ai/v1/api/google-maps/posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"data_id": "0x89c259a61c75684f:0x79d31adb123348d2"}'
The result is returned in outputs[0].data as structured JSON.
| Name | Type | Required | Description |
|---|---|---|---|
data_id | string | Yes | Parameter defines the Google Maps data ID. Find the data ID of a place using our Google Maps API. |
next_page_token | string | No | Parameter defines the next page token. It is used for retrieving the next page results. 10 results are returned per page. |
json_restrictor | string | No | Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details. |
$0.010 per successful call. Failed calls are not charged.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/google-maps/posts" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data_id": "0x89c259a61c75684f:0x79d31adb123348d2"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
data_idstringwymaganeParameter defines the Google Maps data ID. Find the data ID of a place using our Google Maps API.
next_page_tokenstringParameter defines the next page token. It is used for retrieving the next page results. `10` results are returned per page.
json_restrictorstringParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Google Maps PostsTo API Google Maps | $0.01 za wywołanie | JSON |
Google Maps | $0.01 za wywołanie | JSON |
Google Maps | $0.00015 za wywołanie | Asynchroniczny JSON |
Google Maps | $0.01 za wywołanie | JSON |
Google Maps | $0.00015 za wywołanie | JSON |
Google Maps | $0.01 za wywołanie | JSON |
Przewodniki:Best Google Maps API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/google-maps/posts z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: data_id (string). Opcjonalne: next_page_token (string) i json_restrictor (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie).
Nie. Google Maps Posts działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Google Maps.