# Search In Area (Local Business – Center + Zoom)

> Search In Area (Local Business – Center + Zoom) is a paid API for AI agents from agents.openwebninja.com, paid per call via MPP, price unknown, status unknown (last checked 2026-10-14).

Search Google Maps businesses in a geographic viewport defined by a center latitude/longitude coordinate and a zoom level.

## Facts

- Endpoint: GET https://agents.openwebninja.com/local-business-data/search-in-area?utm_source=zero.xyz
- Price: price unknown
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Provider: agents.openwebninja.com
- Website: https://agents.openwebninja.com
- Canonical page: https://www.zero.xyz/c/agents-openwebninja-com-search-in-area-local-business-center-zoom-2f1652f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eqIC2T64tH_0A64mPndhB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agents-openwebninja-com-search-in-area-local-business-center-zoom-2f1652f3
```

Example prompt: Find me up to 30 pizza restaurants visible on a map centered at latitude 37.359428, longitude -121.925337 at zoom level 13 — I want their names, addresses, ratings, and websites.

## When to prefer this

Use this endpoint when you need to replicate the Google Maps 'Search this area' behavior — i.e., you have a specific map viewport defined by a center point and zoom level and want to find businesses within that visible area. Prefer this over radius-based search when the search scope is naturally framed as a map view at a particular zoom rather than a fixed distance. Choose it over bounding-box search when you only have a center coordinate and zoom level rather than explicit corner coordinates.

## Known failure modes

- Missing required parameters (query, lat, lng, or zoom) returns a 400 validation error
- Invalid or out-of-range zoom level may return empty results or an error
- No businesses matching the query in the specified area returns an empty data array
- Invalid ISO region or language code may produce unexpected results or an error
- Rate limit exceeded returns a 429 or payment-required error
- Very high limit values (close to 500) may increase response latency significantly

## How this service works

Search businesses in a specific geographic area defined by a center coordinate point and zoom level.  
  To see it in action, make a query on Google Maps, wait for the results to show, move the map or change the zoom and click "Search this area" at the top.

## Output

Returns an array of business listings matching the search query within the viewport defined by the center coordinate and zoom level. Each business record includes fields such as business ID, name, address, city, state, country, ZIP code, latitude, longitude, phone number, website URL, primary category, subtypes, rating, review count, price tier, business hours, and optionally extracted emails and social contact information.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query",
  "lat",
  "lng",
  "zoom"
 ],
 "properties": {
  "lat": {
   "type": "string",
   "default": 37.359428,
   "example": "37.359428",
   "description": "Latitude of the center coordinate point of the area to search in."
  },
  "lng": {
   "type": "string",
   "default": -121.925337,
   "example": "-121.925337",
   "description": "Longitude of the center coordinate point of the area to search in."
  },
  "zoom": {
   "type": "string",
   "example": "13",
   "description": "Zoom level on which to make the search (the search area / viewport is determined by lat, lng and zoom on a 1000x1000 screen)"
  },
  "limit": {
   "type": "string",
   "default": 20,
   "description": "Maximum number of businesses to return.  \n\n  **Allowed values:** `1-500`"
  },
  "query": {
   "type": "string",
   "example": "pizza",
   "description": "Search query / keyword"
  },
  "fields": {
   "type": "string",
   "description": "A comma separated list of business fields to include in the response (field projection).  \n  By default all fields are returned."
  },
  "region": {
   "type": "string",
   "default": "us",
   "description": "Query Google Maps from a particular region or country.  \n  For a list of supported region/country codes see *https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes (Alpha-2 code)*."
  },
  "language": {
   "type": "string",
   "default": "en",
   "description": "Set the language of the results.  \n  For a list of supported language codes see *https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes*."
  },
  "subtypes": {
   "type": "string",
   "description": "Find businesses with specific subtypes, specified as a comma separated list of types (business categories).  \n  For the complete list of types, see *https://daltonluka.com/blog/google-my-business-categories*.  \n  \n  **Examples:**  \n  `Plumber,Carpenter,Electrician`  \n  `Night club,Dance club,Bar,Pub`  "
  },
  "extract_emails_and_contacts": {
   "type": "boolean",
   "default": false,
   "description": "Extract emails, contacts and social profiles for each business in the response.  \n  In case true, businesses will be enriched with a emails_and_contacts field with emails, phones, Facebook, LinkedIn, Instagram and other social profiles.\n  \n  **Note:** in case `true`, the endpoint will scrape emails and contacts from the business website (in case non-empty).  \n  For each such business, the API will charge an additional credit."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "status",
  "request_id",
  "parameters",
  "data"
 ],
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "business_id",
     "google_id",
     "name",
     "business_status"
    ],
    "properties": {
     "cid": {
      "type": "string",
      "nullable": true,
      "description": "Google CID (Customer ID) of the business."
     },
     "tld": {
      "type": "string",
      "nullable": true,
      "description": "Top-level domain of the business website."
     },
     "city": {
      "type": "string",
      "nullable": true,
      "description": "City of the business location."
     },
     "name": {
      "type": "string",
      "description": "Display name of the business."
     },
     "type": {
      "type": "string",
      "nullable": true,
      "description": "Primary business category as labelled by Google Maps."
     },
     "about": {
      "type": "object",
      "nullable": true,
      "properties": {
       "details": {
        "type": "object",
        "nullable": true,
        "description": "Map of attribute groups (e.g. Amenities, Crowd, Service options) to attribute name -> boolean.",
        "additionalProperties": {
         "type": "object",
         "additionalProperties": {
          "type": "boolean"
         }
        }
       },
       "summary": {
        "type": "string",
        "nullable": true,
        "description": "Free-text description of the business."
       }
      },
      "description": "Free-form summary and a structured details map of business attributes."
     },
     "state": {
      "type": "string",
      "nullable": true,
      "description": "State / region of the business location."
     },
     "rating": {
      "type": "number",
      "nullable": true,
      "description": "Average review rating (1-5) on Google Maps."
     },
     "address": {
      "type": "string",
      "nullable": true,
      "description": "Street address line of the business."
     },
     "country": {
      "type": "string",
      "nullable": true,
      "description": "ISO 3166-1 alpha-2 country code of the business location."
     },
     "website": {
      "type": "string",
      "nullable": true,
      "description": "Business website URL."
     },
     "zipcode": {
      "type": "string",
      "nullable": true,
      "description": "ZIP / postal code of the business location."
     },
     "district": {
      "type": "string",
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agents-openwebninja-com-search-in-area-local-business-center-zoom-2f1652f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.openwebninja.com](https://www.zero.xyz/host/agents.openwebninja.com/llms.txt)
