Google Local
Google's Places list for a query: twenty places a page with rating, address and, in the order layout (food chains), ids, phone and website.
Google's Places list for a query: twenty places a page with rating, address and, in the order layout (food chains), ids, phone and website. Answers the document: search_metadata, search_parameters, search_information, local_results and pagination. The default layout carries the kgmid only: data_id, place_id and ludocid are in the order layout's markup alone. The hotels layout (Google's travel cards) answers no local_results. Desktop only.
X-API-Key<token>Your API key.
cancel_token?stringA name you make up for this request (a UUID is fine), so you can later GET /v1/cancel
with it. Only you know it, so only you can cancel. Use a new one for every request, retries included: a cancelled token stays cancelled for a few minutes.
1 <= length <= 128q*stringWhat to search for.
1 <= lengthlocation?stringA canonical place name, e.g. "Austin,Texas,United States" (becomes Google's uule). Not with uule.
uule?stringGoogle's own location value (w+CAIQ...). Not with location.
latitude?numberWith longitude; places the search by Google's UULE cookie.
-90 <= value <= 90longitude?numberWith latitude.
-180 <= value <= 180gl?stringCountry of the search, two letters.
"us"hl?stringInterface language, e.g. en, pt-br.
"en"device?"desktop"Only desktop: mobile and tablet are a 400.
"desktop""desktop"page?integerResults page; Google's start is (page - 1) * 20.
1 <= value <= 1001link?stringraw keeps each result link as Google's redirect (https://www.google.com/goto?url=...); resolved follows it to the site's own address (adds time).
"raw""raw""resolved"The results page, as the document. When the page could not be parsed, the usual envelope.
application/json- response
The Local document. A block is present only when the page has it.
search_metadata?search_parameters?The request as sent, with the defaults that were used.
search_information?local_results?array<>pagination?[key: string]?anycurl -X GET 'https://api.justserp.com/v1/google/local?q=coffee+shops&location=Austin%2CTexas%2CUnited+States'{ "search_metadata": { "id": "string", "status": "string", "created_at": "string", "request_url": "string", "html_url": "string" }, "search_parameters": {}, "search_information": { "query_displayed": "string" }, "local_results": [ { "position": 0, "title": "string", "kgmid": "string", "rating": 0, "reviews": 0, "price": "string", "extracted_price": { "min": 0, "max": 0 }, "type": "string", "address": "string", "comment": "string", "image": "string", "is_closed": true, "data_id": "string", "place_id": "string", "ludocid": "string", "phone": "string", "website": "string", "direction": "string", "order": {}, "extensions": [ "string" ] } ], "pagination": { "current": 0, "previous": "string", "next": "string" }}