Google Maps Business Scraper avatar

Google Maps Business Scraper

Try for free

Pay $4.00 for 1,000 places

Go to Store
Google Maps Business Scraper

Google Maps Business Scraper

compass/google-places-api
Try for free

Pay $4.00 for 1,000 places

Extract place data from Google Maps fast. Just paste Google place URL or Google place id and get business data including contact details, prices, categories, opening hours, menus & more. Export scraped data, run the scraper via API, schedule and monitor runs, or integrate with other tools.

Do you want to learn more about this Actor?

Get a demo
PC

JSON output is not valid JSON - unnecessary brackets added

Closed

pchlada opened this issue
a month ago

I run the actor (also tested using API) Google Maps Business Scraper and got correct results. I want the JSON output because I will use the JSON with further systems. But the output is not valid JSON. Can you stop adding the brackets?

ondrejklinovsky avatar

Hey,

the brackets are valid JSON, they represent a list of something. In this case, they represent list of results - scraped places. Even though you're getting only a single place, it still needs to be stored in an array. You can get the item from the array by extracting the first element from it (e.g. results[0]. Let me know if you have any more questions.

Developer
Maintained by Apify

Actor Metrics

  • 229 monthly users

  • 54 stars

  • 98% runs succeeded

  • 4.9 days response time

  • Created in Dec 2023

  • Modified 2 days ago