View as Markdown
Outscraper icon

Outscraper ACTION

Search Places on Google Maps

Searches for places on Google Maps using queries. See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Outscraper account once, then configure and run Search Places on Google Maps from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "outscraper-search-places",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    outscraper: { authProvisionId: "apn_xxxxxxx" },
    query: "Query",
    limit: 10,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Search Places on Google Maps inputs
Property Type Description
query Query string
You can use anything that you would use on a regular Google Maps site. Additionally, you can use google_id (feature_id), place_id, or CID. Examples of valid queries: Real estate agency, Rome, Italy, The NoMad Restaurant, NY, USA, restaurants, Brooklyn 11203, 0x886916e8bc273979:0x5141fcb11460b226, ChIJrZhup4lZwokRUr_5sLoFlDw, etc.
Required
limit Limit integer
The limit of organizations to take from one query search.
Optional
coordinates Coordinates string
The latitude and longitude of the location where you want your query to be applied, e.g. 37.427074,-122.1439166
Optional
language Language string
The language to use.
Optional
region Language string
The country to use, recommended for a better search experience.
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
outscraper-search-places
Version
0.0.3
App
Outscraper
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes