Skip to content
onelayer.
All tools

Tool detail

StableEnrich

Finds places near a given latitude/longitude using Google Places type filters, such as restaurants, bars or stores.

Categories: Maps places

Use when

  • find restaurants or stores near a coordinate
  • search nearby places by Google Places type within a radius

Not for

  • not natural-language category searches like 'wedding planner' — use the text-search endpoint
  • not geocoding an address into coordinates

Inputs

POST JSON body, required: locationRestriction.circle.center{latitude,longitude}+radius(meters,<=50000), maxResultCount(1-5), languageCode, rankPreference, excludeFields; optional includedTypes/excludedTypes

Admitted input schema

{
  "type": "object",
  "properties": {
    "excludeFields": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 0,
        "maxLength": 4096
      },
      "minItems": 0,
      "maxItems": 100,
      "default": [
        "photos"
      ]
    },
    "excludedTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 0,
        "maxLength": 4096
      },
      "minItems": 0,
      "maxItems": 50,
      "description": "Optional Google Places Table A place types to exclude."
    },
    "includedTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 0,
        "maxLength": 4096
      },
      "minItems": 0,
      "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."
    },
    "languageCode": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "default": "en"
    },
    "locationRestriction": {
      "type": "object",
      "properties": {
        "circle": {
          "type": "object",
          "properties": {
            "center": {
              "type": "object",
              "properties": {
                "latitude": {
                  "type": "number",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "longitude": {
                  "type": "number",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "latitude",
                "longitude"
              ],
              "additionalProperties": false,
              "description": "Latitude/longitude center point for the nearby search circle."
            },
            "radius": {
              "type": "number",
              "minimum": 0,
              "maximum": 50000,
              "description": "Radius in meters. Google Places caps this at 50000."
            }
          },
          "required": [
            "center",
            "radius"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "circle"
      ],
      "additionalProperties": false,
      "description": "Required search area. Use locationRestriction.circle.center and locationRestriction.circle.radius; do not send top-level center or radius fields."
    },
    "maxResultCount": {
      "type": "number",
      "minimum": 1,
      "maximum": 5,
      "default": 5
    },
    "rankPreference": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "enum": [
        "POPULARITY",
        "DISTANCE"
      ],
      "default": "POPULARITY"
    }
  },
  "required": [
    "excludeFields",
    "locationRestriction",
    "maxResultCount",
    "languageCode",
    "rankPreference"
  ],
  "additionalProperties": false
}

Endpoint

Method
POST
URL
https://stableenrich.dev/api/google-maps/nearby-search/full

Payment

Protocol
x402
Listed price
0.08 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://stableenrich.dev/api/google-maps/nearby-search/full
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z