Google Places API Radar Search

Google Places API Radar Search

by danielmilevski9

Get all places (more than 60 results) inside the search radius at latitude-longitude from the Google Places API.

534 runs
129 users
Try This Actor

Opens on Apify.com

About Google Places API Radar Search

Get all places (more than 60 results) inside the search radius at latitude-longitude from the Google Places API.

What does this actor do?

Google Places API Radar Search is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

Features Official Google Places API Nearby search can return as many as 60 results, split across three pages. Actor overrides this limit and gets all places in a few kilometers radius around specified geopoint by doing distance search. Idea behind is to avoid anti-pattern as displayed below, since it leads to twice more API calls in order to get each additional 10% of results:

Instead (all further math references for 1Km search radius with 50 meters grid radius) we can:
  • Create a grid from 2 x 2 km area with 100 x 100 m cells (from radius of 1000 and 50 meters)
  • Based on inner margin we have 380 cells in bounding box or 312 cells inside the search circle
  • Still, for high populated areas we can hit 60 places limit for a few cells
  • If so, we add new 8 search points at half of cell radius around such cells
From a higher perspective even for Central Europe or USA we can find the best possible cell radius for given search distance and coordinates which will give us 99% of accuracy with minimal amount of API calls. Density of places will not be changed rapidly in days or months, so the right combination for each search will allow a rescan area to find new places and keep lowest running costs. ## External requirements You need to obtain your own Google API key ## Proxy Google API might block proxy access (not expected, rare issue), if-when happens actor will show error [BAD-REQUEST] ## Cost of usage - Google rates applied as usual: 32.00 USD per 1000 calls, 1km radius covered by approx 400 API calls, therefore each run for 1km radius in populated area should save approx $10-20 on Google API charges. ### Input example Search radius set to 1000 meters and grid radius set to 50 meters by default. jsonc { "apiKey": "YOUR OWN GOOGLE API KEY", "latitude": "47.41168232410833", "longitude": "8.54417797274538", "radiusMeters": 1000 } ### Output example Output saved exactly as it comes from Google API data feed with calculated distanceMeters (from search center) added to it. jsonc { "distanceMeters": 920, "business_status": "OPERATIONAL", "geometry": { "location": { "lat": 47.4036189, "lng": 8.5419602 }, "viewport": { "northeast": { "lat": 47.4049176302915, "lng": 8.543189430291502 }, "southwest": { "lat": 47.4022196697085, "lng": 8.540491469708497 } } }, "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/generic_business-71.png", "icon_background_color": "#7B9EB0", "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/generic_pinlet", "name": "Dr. phil. Würth Josy", "place_id": "ChIJ2z-n_44LkEcRWdpWOIwcZ1Q", "plus_code": { "compound_code": "CG3R+CQ Zürich, Switzerland", "global_code": "8FVCCG3R+CQ" }, "reference": "ChIJ2z-n_44LkEcRWdpWOIwcZ1Q", "scope": "GOOGLE", "types": [ "doctor", "health", "point_of_interest", "establishment" ], "vicinity": "Ringstrasse 50, Zürich" } ### Dev notes You can clone actor and create your own build in Apify cloud with ENV.apiKey or ENV.APIKEY to exclude your Google API key from input (for example to provide support for doing secure runs from mobile or desktop apps).

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Google Places API Radar Search now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
danielmilevski9
Pricing
Paid
Total Runs
534
Active Users
129
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support