google-local-api

Search the Google local pack and return businesses with ratings, addresses, and coordinates. Apify-backed n8n community node, pay-per-result, and usable as an AI agent tool.

Package Information

Released: 4 mo ago
Downloads: 10 weekly / 278 monthly
Latest Version: 0.1.1
Author: John Cole

Documentation

n8n-nodes-google-local-api

An n8n community node that searches the Google local pack and returns structured businesses: title, type, rating, reviews, address, and coordinates. It is backed by the Google Local API on Apify and bills per result, so there are no subscriptions and no minimums.

Installation · Credentials · Operations · Output · Example workflows · Pricing · Resources

What it does

Give the node a query and a location, and it returns one item per business in the local pack with the title, type, rating, review count, price level, address, and GPS coordinates. It also works as an AI Agent tool, so an agent can find local businesses on demand. This is useful for local SEO and lead lists.

  • Search the Google local pack for any business category
  • Localize with a location, country code, and language code
  • Emulate desktop, mobile, or tablet
  • Choose how much data to return per business: Simplified, Raw, or Selected Fields

Installation

Follow the n8n community nodes installation guide:

  1. In n8n, open Settings > Community Nodes.
  2. Select Install.
  3. Enter n8n-nodes-google-local-api as the npm package name.
  4. Agree to the risks of using community nodes, then select Install.

After it installs, the Google Local node appears in the nodes panel.

n8n Cloud only allows verified community nodes. Until this node is verified, install it on a self-hosted n8n instance.

Credentials

You need a free Apify account and an API token.

  1. Sign in to the Apify Console.
  2. Open Settings > Integrations and copy your Personal API token.
  3. In n8n, create a new Apify API credential and paste the token.
  4. Use the credential's Test button to confirm it works.

The node also supports Apify OAuth2 if you prefer to connect that way.

Operations

Place > Search returns businesses from the local pack.

Parameter Description
Search Query What to search for in the local pack. Required.
Location Location to center the search on. Optional.
Country Code / Language Code Localization, for example us and en.
Device Desktop, Mobile, or Tablet.
Maximum Pages How many result pages to fetch.
Output How much data to return: Simplified, Raw, or Selected Fields.

Output

Each business is returned as its own n8n item. The API returns more than ten fields per business, so the Output parameter lets you choose how much to return:

  • Simplified (default): a compact object with position, title, type, rating, reviews, price, address, latitude, longitude, and placeId. This mode is also used automatically when the node runs as an AI Agent tool, to keep responses small.
  • Raw: every field the API returns for each business, using the original field names below.
  • Selected Fields: pick exactly which fields to include.

Fields (Raw and Selected Fields)

Field Type Description
position integer Rank in the local pack
title string Business name
type string Business category
rating number Average rating
reviews integer Number of reviews
price string Price level, for example $$
description string Short description
address string Business address
hours string Hours summary, for example Open / Closes 9 PM
gps_coordinates object Latitude and longitude
place_id string Google place identifier
provider_id string Provider identifier
thumbnail string Thumbnail image URL

Example workflows

1. Build a local lead list

  1. Manual Trigger.
  2. Google Local: Search Query a category, Location a city, Output Simplified.
  3. Google Sheets: append each business's title, address, rating, and reviews.

2. Monitor your local-pack rank

  1. Schedule Trigger: run daily.
  2. Google Local: your category and location.
  3. Filter: find your business by title and log its position over time.

3. Let an AI Agent find places

  1. AI Agent node.
  2. Attach Google Local as a tool.
  3. Ask "Find highly rated coffee shops in Austin." The agent calls the node (in Simplified mode) and answers with live local results.

Pricing

This node calls the Google Local API on Apify, which is billed pay-per-result, with no subscription and no minimums. Apify also includes a free monthly usage tier that covers typical volumes. See the Actor page for current rates.

Resources

License

MIT

Discussion