Loading capability…
Search places near a geographic location with basic fields.
Both commands call the selected provider directly.
curl -X POST '/routes/stableenrich-googlemaps/maps/nearby-search' \
-H 'content-type: application/json' \
-d '{"excludeFields":["photos"],"locationRestriction":{"circle":{"center":{"latitude":37.7955,"longitude":-122.3937},"radius":800}},"languageCode":"en","rankPreference":"POPULARITY"}'h402 call 'maps/nearby-search' --provider 'stableenrich-googlemaps' --method POST --json '{"excludeFields":["photos"],"locationRestriction":{"circle":{"center":{"latitude":37.7955,"longitude":-122.3937},"radius":800}},"languageCode":"en","rankPreference":"POPULARITY"}'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.
excludeFieldsarrayoptionaldefault ["photos"]Field paths to omit from each place. Nested paths use a colon separator. StableEnrich excludes "photos" by default; pass an empty array to include them.
locationRestrictionobjectrequiredRequired circular search area.
locationRestriction.circleobjectrequiredNested fields
centerobjectrequiredlatitudenumberrequired-90–90Latitude in decimal degrees.
longitudenumberrequired-180–180Longitude in decimal degrees.
radiusnumberrequired0–50000Radius in meters.
includedTypesarrayoptionalGoogle Places Table A types to include. A type cannot also appear in excludedTypes.
excludedTypesarrayoptionalGoogle Places Table A types to exclude. A type cannot also appear in includedTypes.
maxResultCountintegeroptional1–5Maximum results to return. StableEnrich defaults to 5 when omitted.
languageCodestringoptionaldefault enPreferred response language.
rankPreferencestringoptionaldefault POPULARITYResult ranking strategy.
{
"excludeFields": [
"photos"
],
"locationRestriction": {
"circle": {
"center": {
"latitude": 37.7955,
"longitude": -122.3937
},
"radius": 800
}
},
"languageCode": "en",
"rankPreference": "POPULARITY"
}{ "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" } }
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.