Catalog
MapsPOSTlive

Nearby places search

Search places near a geographic location with basic fields.

$0.02
per call
Success
100%
p50 latency
1.24s
p95 latency
1.24s
Calls (30d)
1

Provider contract

Call path
/routes/stableenrich-googlemaps/maps/nearby-search
Method
POST
Selected provider
stableenrich-googlemapsdefault
Provider price
$0.02
Settlement
Base USDC · x402 · 5% h402 fee

Quickstart

Both commands call the selected provider directly.

cURL
curl -X POST '/routes/stableenrich-googlemaps/maps/nearby-search' \
  -H 'content-type: application/json' \
  -d '{"locationRestriction":{"circle":{"center":{"latitude":37.7955,"longitude":-122.3937},"radius":800}}}'
CLI
h402 call 'maps/nearby-search' --provider 'stableenrich-googlemaps' --method POST --json '{"locationRestriction":{"circle":{"center":{"latitude":37.7955,"longitude":-122.3937},"radius":800}}}'

Parameters & live test

pays real USDC

Fill the request fields, quote the exact per-call total, then choose x402 or eligible bonus credit explicitly before sending. Only the selected provider's listed parameters are accepted.

locationRestrictionobjectrequired

Google Places nearby search location restriction. Use a circle with center coordinates and radius in meters.

locationRestriction.circleobjectrequired

Circular area to search within.

Nested fields

centerobjectrequired

Circle center coordinates.

latitudenumberrequired-90–90

Latitude in decimal degrees.

longitudenumberrequired-180–180

Longitude in decimal degrees.

radiusnumberrequired1–50000

Radius in meters.

maxResultCountintegeroptional1–20

Maximum number of places to return.

POST/routes/stableenrich-googlemaps/maps/nearby-search
Request body
{
  "locationRestriction": {
    "circle": {
      "center": {
        "latitude": 37.7955,
        "longitude": -122.3937
      },
      "radius": 800
    }
  }
}

ResponseExample response
{
  "data": {
    "places": [
      {
        "id": "ChIJWTGPjmaAhYARxz6l1hOj92w",
        "types": [
          "historical_landmark",
          "ferry_service",
          "market"
        ],
        "formattedAddress": "1 Ferry Building, San Francisco, CA 94105, USA",
        "location": {
          "latitude": 37.7954425,
          "longitude": -122.3936136
        },
        "displayName": {
          "text": "Ferry Building",
          "languageCode": "en"
        },
        "primaryType": "historical_landmark"
      },
      {
        "id": "ChIJ1dIqa2OAhYAREimtEtfBLyc",
        "types": [
          "corporate_office",
          "business_center",
          "point_of_interest"
        ],
        "formattedAddress": "415 Mission St, San Francisco, CA 94105, USA",
        "location": {
          "latitude": 37.7897442,
          "longitude": -122.3972337
        },
        "displayName": {
          "text": "Salesforce Tower",
          "languageCode": "en"
        },
        "primaryType": "corporate_office"
      },
      {
        "id": "ChIJkYfFXQCBhYARAB4LRfLH1q4",
        "types": [
          "transportation_service",
          "point_of_interest",
          "establishment"
        ],
        "formattedAddress": "San Francisco, CA 94111, USA",
        "location": {
          "latitude": 37.7930763,
          "longitude": -122.3967957
        },
        "displayName": {
          "text": "Embarcadero BART Station Elevator",
          "languageCode": "en"
        },
        "primaryType": "transportation_service"
      }
    ]
  },
  "h402": {
    "routeId": "maps/nearby-search",
    "provider": "stableenrich-googlemaps",
    "selectedCandidateId": "maps/nearby-search/stableenrich-googlemaps",
    "routing": "manual",
    "paidBy": "x402-exact"
  }
}

Providers

Choose a provider for this task. The catalog recommends the current default from quality, reliability, and price; your selected provider stays pinned. Listed prices are provider prices; settlement adds a 5% h402 fee.

stableenrich-googlemaps
x402mpp
100
Success
100%
p50
1.24s
Calls
1
100%
$0.02$0.020/call
Last successful call: 27d ago· Aggregated by h402 — not the source provider