Results
My API + Public API
Start by entering a location or using your current location, then run a search to see nearby
places and location details here.
How to use my Nearby Places API
This documentation describes the public Nearby Places + Weather API and how to call it from any application.
Base URL
http://nearby-api-env.eba-z23r7ruf.us-east-1.elasticbeanstalk.com
Endpoint
GET /nearby
Query parameters
lat – required, latitude (e.g. 12.9716)
lon – required, longitude (e.g. 77.5946)
type – optional, place type (e.g. cafe, restaurant, atm)
radius – optional, search radius in meters (default 1000)
Example request URL
http://nearby-api-env.eba-z23r7ruf.us-east-1.elasticbeanstalk.com/nearby?lat=12.9716&lon=77.5946&type=cafe&radius=1500
Response (shape)
The API responds with JSON similar to:
{
"location": { "lat": 12.9716, "lon": 77.5946 },
"placeType": "cafe",
"radiusMeters": 1500,
"weather": {
"temperature": 28.5,
"description": "clear sky"
},
"places": [
{
"name": "Example Cafe",
"lat": 12.9720,
"lon": 77.5950,
"distanceMeters": 120.4,
"address": "MG Road, Bengaluru",
"source": "GooglePlaces"
}
]
}
Use the base URL and query parameters above to integrate this API into your own apps or scripts.