Kolbasz Google Places icon

Kolbasz Google Places

Search places using Google Places API Text Search

Kolbasz Google Places

AI-generated

Summary

Search for places using a text query with the Google Places API Text Search and return place details filtered by a field mask.

Inputs

  • Text Query (required) — The text query to search for places, e.g., 'coffee shops in London'.
  • Field Mask (required) — Comma-separated list of fields to include in the API response, such as place ID, display name, address, location, rating, and Google Maps URI.
  • Language Code — Optional BCP-47 language code to localize results, e.g., 'en' for English.
  • Region Code — Optional CLDR region code to bias search results, e.g., 'GB' for Great Britain.
  • Max Result Count — Maximum number of places to return, between 1 and 20 (default 20).
  • Included Type — Optional filter for place type, such as 'cafe'.
  • Rank Preference — Optional ranking preference for results: unspecified, relevance, or distance.

Output shape

a list of place objects, each with id, displayName, formattedAddress, latitude, longitude, rating, googleMapsUri, and a raw place data object

The maximum number of returned places respects the Max Result Count input. If optional inputs like Language Code, Region Code, Included Type, or Rank Preference are not specified, they are omitted from the search parameters. Each output item represents a matched place with selected fields as specified by the Field Mask.

Examples

Example 1: Search for coffee shops in London, returning up to 10 results including basic place details.

Text Query: 'coffee shops in London'; Max Result Count: 10; default Field Mask and other optional parameters omitted.

Links

Discussion