Maps: Search Businesses
Input
query requiredNatural-language search query, include the geographic area in the query. E.g. 'plumber Paris 2nd arrondissement', 'Italian restaurant Lyon', 'real estate agency Bordeaux'
count optionalMax number of results to collect (auto-scrolls the results panel; Google caps out around ~120)
Default: 20locale optionalOptional: force the Google Maps UI to a specific language (Google's own hl= override). Omit to use whatever language the calling browser/account already renders. Only these 5 languages are supported for parsing - the script detects the language actually rendered and throws explicitly if it's not one of these 5, rather than silently returning wrong data.
Output
endOfList requiredtrue if Google stopped producing new results before reaching count, either because it showed an explicit end-of-list marker or because the feed's card count and height both stayed unchanged across a retry window (Google sometimes stops loading more results without ever rendering the end-of-list text, e.g. after silently widening the search radius)
businesses requiredresultType required'single' = the query was precise enough that Google redirected straight to the business's own page
