# Google Maps Nearby Search (Partial) via StableEnrich

> Google Maps Nearby Search (Partial) via StableEnrich is a paid API for AI agents from StableEnrich at stableenrich.dev, paid per call via MPP or x402, $0.02/call, status unknown (last checked 2026-10-10, last successful call 2026-07-02).

Search for nearby places on Google Maps within a geographic radius, returning partial place details like ratings, reviews, types, and amenities.

## Facts

- Endpoint: POST https://stableenrich.dev/api/google-maps/nearby-search/partial?utm_source=zero.xyz
- Price: $0.02/call
- Payment: MPP, x402
- Status: unknown
- Last checked: 2026-10-10
- Last successful call: 2026-07-02
- Success rate: 89% of calls made through Zero
- Rating: 4.2 / 5 from 3 reviews
- Activations on Zero: 19
- Provider: StableEnrich
- Docs: https://stableenrich.dev
- Website: https://stableenrich.dev
- Tags: apollo, exa, firecrawl, google-maps, linkedin, reddit, enrichment, research, data, search, social, x402
- Canonical page: https://www.zero.xyz/c/stableenrich-partial-7e15db87
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Cz-is2HAVOLkDhI_LG3_-

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 stableenrich-partial-7e15db87 -d '<json body>'
```

Example prompt: Find me up to 5 highly popular restaurants within 1000 meters of latitude 40.7580, longitude -73.9855, ranked by popularity — include ratings and whether they offer dine-in or takeout.

## When to prefer this

Use this endpoint when you need a quick, cost-effective nearby place search (partial fields) and don't require the full place detail set. Prefer over the Full version when you only need ratings, reviews, types, amenities, and coordinates — not exhaustive place metadata — to save on response size and cost.

## Known failure modes

- Missing required locationRestriction.circle.center or radius returns a validation error
- radius exceeds 50000 meters causes schema validation failure
- includedTypes or excludedTypes array exceeds 50 items returns error
- Invalid latitude/longitude values (out of range) cause API rejection
- No places found in the specified area returns an empty places array
- Network timeout or upstream Google Maps API unavailability returns 5xx error

## How this service works

Google Maps Nearby Search (Partial). Finds places near a latitude/longitude using Google Places supported type filters. Use google-maps/text-search/partial for natural-language searches like "wedding planner" or "event planner".

## Output

An array of up to 5 place objects, each containing a place ID, types, rating, reviews, location coordinates, price level/range, and amenity flags such as dine-in, takeout, delivery, restroom, live music, allows dogs, and reservable status.

## Example request

```json
{
 "languageCode": "en",
 "excludeFields": [
  "photos"
 ],
 "includedTypes": [
  "restaurant"
 ],
 "maxResultCount": 5,
 "rankPreference": "POPULARITY",
 "locationRestriction": {
  "circle": {
   "center": {
    "latitude": 40.758,
    "longitude": -73.9855
   },
   "radius": 1000
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "languageCode": {
   "type": "string",
   "default": "en"
  },
  "excludeFields": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "default": [
    "photos"
   ]
  },
  "excludedTypes": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 50,
   "description": "Optional Google Places Table A place types to exclude."
  },
  "includedTypes": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 50,
   "description": "Optional Google Places Table A place types only, e.g. restaurant, bar, store, real_estate_agency. Do not use natural-language categories like wedding_planner or event_planner; use google-maps/text-search/full for text queries."
  },
  "maxResultCount": {
   "type": "number",
   "default": 5,
   "maximum": 5,
   "minimum": 1
  },
  "rankPreference": {
   "enum": [
    "POPULARITY",
    "DISTANCE"
   ],
   "type": "string",
   "default": "POPULARITY"
  },
  "locationRestriction": {
   "type": "object",
   "required": [
    "circle"
   ],
   "properties": {
    "circle": {
     "type": "object",
     "required": [
      "center",
      "radius"
     ],
     "properties": {
      "center": {
       "type": "object",
       "required": [
        "latitude",
        "longitude"
       ],
       "properties": {
        "latitude": {
         "type": "number"
        },
        "longitude": {
         "type": "number"
        }
       },
       "description": "Latitude/longitude center point for the nearby search circle.",
       "additionalProperties": false
      },
      "radius": {
       "type": "number",
       "maximum": 50000,
       "minimum": 0,
       "description": "Radius in meters. Google Places caps this at 50000."
      }
     },
     "additionalProperties": false
    }
   },
   "description": "Required search area. Use locationRestriction.circle.center and locationRestriction.circle.radius; do not send top-level center or radius fields.",
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "places": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id"
    ],
    "properties": {
     "id": {
      "type": "string"
     },
     "types": {
      "type": "array",
      "items": {
       "type": "string"
      }
     },
     "dineIn": {
      "type": "boolean"
     },
     "photos": {
      "type": "array",
      "items": {
       "type": "object",
       "required": [
        "name",
        "widthPx",
        "heightPx"
       ],
       "properties": {
        "name": {
         "type": "string"
        },
        "widthPx": {
         "type": "number"
        },
        "heightPx": {
         "type": "number"
        }
       },
       "additionalProperties": false
      }
     },
     "rating": {
      "type": "number"
     },
     "reviews": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "name": {
         "type": "string"
        },
        "text": {
         "type": "object",
         "required": [
          "text",
          "languageCode"
         ],
         "properties": {
          "text": {
           "type": "string"
          },
          "languageCode": {
           "type": "string"
          }
         },
         "additionalProperties": false
        },
        "rating": {
         "type": "number"
        },
        "publishTime": {
         "type": "string"
        },
        "originalText": {
         "type": "object",
         "required": [
          "text",
          "languageCode"
         ],
         "properties": {
          "text": {
           "type": "string"
          },
          "languageCode": {
           "type": "string"
          }
         },
         "additionalProperties": false
        },
        "authorAttribution": {
         "type": "object",
         "required": [
          "displayName"
         ],
         "properties": {
          "uri": {
           "type": "string"
          },
          "photoUri": {
           "type": "string"
          },
          "displayName": {
           "type": "string"
          }
         },
         "additionalProperties": false
        },
        "relativePublishTimeDescription": {
         "type": "string"
        }
       },
       "additionalProperties": false
      }
     },
     "takeout": {
      "type": "boolean"
     },
     "delivery": {
      "type": "boolean"
     },
     "location": {
      "type": "object",
      "required": [
       
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stableenrich-partial-7e15db87/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stableenrich.dev](https://www.zero.xyz/host/stableenrich.dev/llms.txt)
