Back to Find local businesses

Find places on Google Maps by query and location

SerpApi

Returns Google Maps place names, categories, positions and place identifiers for a keyword and location.

Use this tool with your AI agent

  1. Copy the prompt
  2. Paste it into your agent
  3. Tell it what you need

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Find places on Google Maps by query and location (tool ID: serpapi.google-maps). Ask me for the details you need, then show me the result.

Already connected
Your agent can use that connection.
New user
Your agent will guide you through setup, sign-in and authorisation.

Provider access is included.

Connect your first agent to receive $1 trial credit.

Current price
$0.0210/request
Availability
Ready to run

Tool details

About this tool

Returns Google Maps place names, categories, positions and place identifiers for a keyword and location. Retrieve one bounded result or page using the documented fields. Pagination is explicit: follow-up pages require another run. The catalog price is the maximum per request; the upfront quote reflects the selected limits. Completed requests cost that quote, including valid empty pages and no-match answers. Supplier waivers do not change the customer price. Failed requests are uncharged. Results contain reviewed business data and available pagination. The worked example shows selected fields from a recorded response, with at most the first item of each list.

Inputs and outputs

Input

llstring · optional

@latitude,longitude,zoom — alternative to location+z or lat/lon+z

minLength: 1 · maxLength: 500

qstring · required

search keyword

minLength: 1 · maxLength: 500

startinteger · optional

Value supplied for start.

minimum: 0 · maximum: 1000

Output

dataobject

Returned data value.

Example request and output

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

Request

{
  "tool_id": "serpapi.google-maps",
  "input": {
    "q": "pizza",
    "ll": "@40.7455096,-74.0083012,14z",
    "start": 0
  }
}

Output

{
  "data": {
    "local_results": [
      {
        "type": "Pizza restaurant",
        "title": "Joe's Pizza Broadway",
        "position": 1
      }
    ]
  }
}
Errors and limitations
  • invalid_input: The lookup fields or limits are invalid.example: {"q":"pizza","ll":"@40.7455096,-74.0083012,14z","start":0}
  • upstream_error: The provider could not complete a verified result; the wallet was not charged.Check the documented fields and contact Scrollport support with the run ID if needed.