Table of Contents

Using Detailed Place Types With Outscraper Google Maps Places API

Are you looking for a more comprehensive categorization of places? Or perhaps you’re eager to find out whether a restaurant is Halal, Kosher, or Vegan? Maybe you’re searching for a specific place type like a “cell phone store” or an “Indian restaurant” and are frustrated because the Google Places API doesn’t provide these details. No worries, Outscraper has got you covered! Outscraper’s Google Places API allows you to access detailed place type information, including the business profile category seen on Google Maps. This means you can now extract extensive and specific data about a location, right down to the exact type of restaurant or shop. This is a feature Google Places API has yet to provide, making Outscraper an alternative for you. Dive into our API documentation to learn more about how Outscraper can assist you in getting the detailed place data you need and check the sample API responses to see how it works.

Sample API Responses

We will use the Outscraper Google Maps Places API to request information for two different queries. In the first query, we will search for Indian restaurants in Manhattan, NY, USA. The result limit in the query is only 3, as an example. In the second query, in order to see the place details of a steak house and to find its subtypes, we make a query only for that place.

Creating Query With Detailed Types

				
					query : "Indian restaurants, Manhattan, NY, USA"

name : "Patiala"
place_id : "ChIJSS7DarJZwokR5oNJnfORDUQ"
google_id : "0x89c259b26ac32e49:0x440d91f39d4983e6"
full_address : "371 W 34th St., New York, NY 10001"
borough : "Manhattan"
street : "371 W 34th St."
postal_code : "10001"
area_service : false
country_code : "US"
country : "United States of America"
city : "New York"
us_state : "New York"
state : "New York"
plus_code : null
latitude : 40.753465999999996
longitude : -73.99595
time_zone : "America/New_York"
popular_times : null
site : "http://www.patialany.com/"
phone : "+1 212-564-8255"
type : "Indian restaurant"
logo : "https://lh5.googleusercontent.com/-4lt6RTWIh2U/AAAAAAAAAAI/AAAAAAAAAAA/02YKxang3pI/s44-p-k-no-ns-nd/photo.jpg"
description : "Small, laid-back eatery doling out traditional & vegan Indian meals in contemporary quarters."
located_in : null
located_google_id : null
category : "restaurants"
subtypes : "Indian restaurant, Grill, Restaurant"
posts : null
reviews_tags : null
rating : 4.4
reviews : 2116
photos_count : 1007
cid : "4903736044778259430"
reviews_link : "https://search.google.com/local/reviews?placeid=ChIJSS7DarJZwokR5oNJnfORDUQ&q=indian%25restaurants,+Manhattan,+NY,+USA&authuser=0&hl=en&gl=US"
reviews_id : "4903736044778259430"
photo : "https://lh5.googleusercontent.com/p/AF1QipM-QKn92DNds2UDo_vHgY9tTU0apblidIJOLDVp=w800-h500-k-no"
street_view : "https://lh5.googleusercontent.com/p/AF1QipM-QKn92DNds2UDo_vHgY9tTU0apblidIJOLDVp=w1600-h1000-k-no"
working_hours_old_format : "Monday: 11 AM-4 PM,5-10:30 PM | Tuesday: 11 AM-4 PM,5-10:30 PM | Wednesday: 11 AM-4 PM,5-10:30 PM | Thursday: 11 AM-4 PM,5-10:30 PM | Friday: 11 AM-4 PM,5-10:30 PM | Saturday: 11 AM-10:30 PM | Sunday: 11 AM-10:30 PM"
working_hours: {...}
other_hours : null
business_status : "OPERATIONAL"
about
range : "$"
reviews_per_score
reservation_links : null
booking_appointment_link : null
menu_link : null
order_links : null
owner_id : "101264689085715412613"
verified : true
owner_title : "Patiala"
owner_link : "https://www.google.com/maps/contrib/101264689085715412613"
location_link : "https://www.google.com/maps/place/Patiala/@40.753465999999996,-73.99595,14z/data=!4m8!1m2!2m1!1sPatiala!3m4!1s0x89c259b26ac32e49:0x440d91f39d4983e6!8m2!3d40.753465999999996!4d-73.99595"

name : "Manhattan Indian Flavor"
place_id : "ChIJbSpxI-5ZwokRwvN8uZU0kQo"
google_id : "0x89c259ee23712a6d:0xa913495b97cf3c2"
full_address : "311 2nd Ave, New York, NY 10003"
borough : "Manhattan"
street : "311 2nd Ave"
postal_code : "10003"
area_service : false
country_code : "US"
country : "United States of America"
city : "New York"
us_state : "New York"
state : "New York"
plus_code : null
latitude : 40.735062299999996
longitude : -73.98335329999999
time_zone : "America/New_York"
popular_times : null
site : "http://manhattanindianflavor.com/"
phone : "+1 917-472-7667"
type : "Indian restaurant"
logo : "https://lh6.googleusercontent.com/-qp91Kh6L0LQ/AAAAAAAAAAI/AAAAAAAAAAA/LGqCKyEMuAQ/s44-p-k-no-ns-nd/photo.jpg"
description : "Typical Indian dishes like samosas, Malabar chicken & pakora are offered at this low-key locale."
located_in : null
located_google_id : null
category : "restaurants"
subtypes : "Indian restaurant, Bar"
posts : null
reviews_tags : null
rating : 4.5
reviews : 110
photos_count : 77
cid : "761447629669069762"
reviews_link : "https://search.google.com/local/reviews?placeid=ChIJbSpxI-5ZwokRwvN8uZU0kQo&q=indian%25restaurants,+Manhattan,+NY,+USA&authuser=0&hl=en&gl=US"
reviews_id : "761447629669069762"
photo : "https://lh5.googleusercontent.com/p/AF1QipOBiHG2E4cKfOL8l9j3B3GoamYw2MsoHuexCkMR=w800-h500-k-no"
street_view : "https://lh5.googleusercontent.com/p/AF1QipOBiHG2E4cKfOL8l9j3B3GoamYw2MsoHuexCkMR=w1600-h1000-k-no"
working_hours_old_format : "Monday: 11 AM-3 PM,4:30-10 PM | Tuesday: 11 AM-3 PM,4:30-10 PM | Wednesday: 11 AM-3 PM,4:30-10 PM | Thursday: 11 AM-3 PM,4:30-10 PM | Friday: 11 AM-3 PM,4:30-10:30 PM | Saturday: 11 AM-3 PM,4:30-10:30 PM | Sunday: 11 AM-3 PM,4:30-10 PM"
working_hours: {...}
other_hours : null
business_status : "OPERATIONAL"
about
range : "$$"
reviews_per_score
reservation_links
booking_appointment_link : "https://getseat.net/?channel=google#/public/online/reservation/7559G247"
menu_link : null
order_links
owner_id : "104312221764019490314"
verified : true
owner_title : "Manhattan Indian Flavor"
owner_link : "https://www.google.com/maps/contrib/104312221764019490314"
location_link : "https://www.google.com/maps/place/Manhattan+Indian+Flavor/@40.735062299999996,-73.98335329999999,14z/data=!4m8!1m2!2m1!1sManhattan+Indian+Flavor!3m4!1s0x89c259ee23712a6d:0xa913495b97cf3c2!8m2!3d40.735062299999996!4d-73.98335329999999"

name : "Indian Summer Harlem"
place_id : "ChIJy_OuDa73wokRJYCMG8GWan8"
google_id : "0x89c2f7ae0daef3cb:0x7f6a96c11b8c8025"
full_address : "239 Malcolm X Blvd, New York, NY 10027"
borough : "Manhattan"
street : "239 Malcolm X Blvd"
postal_code : "10027"
area_service : false
country_code : "US"
country : "United States of America"
city : "New York"
us_state : "New York"
state : "New York"
plus_code : null
latitude : 40.8058943
longitude : -73.9472914
time_zone : "America/New_York"
popular_times : null
site : "https://indiansummerharlem.site/"
phone : "+1 646-952-0300"
type : "Indian restaurant"
logo : "https://lh6.googleusercontent.com/-9GyHtOeQ2kY/AAAAAAAAAAI/AAAAAAAAAAA/8eaKwaH-k00/s44-p-k-no-ns-nd/photo.jpg"
description : "Relaxed Indian restaurant featuring traditional dishes such as biryani & tandoori, plus a patio."
located_in : null
located_google_id : null
category : "restaurants"
subtypes : "Indian restaurant, Gluten-free restaurant, Halal restaurant, Indian takeaway, Seafood restaurant, Vegan restaurant"
posts : null
reviews_tags : null
rating : 4.7
reviews : 461
photos_count : 821
cid : "9181316546483224613"
reviews_link : "https://search.google.com/local/reviews?placeid=ChIJy_OuDa73wokRJYCMG8GWan8&q=indian%25restaurants,+Manhattan,+NY,+USA&authuser=0&hl=en&gl=US"
reviews_id : "9181316546483224613"
photo : "https://lh5.googleusercontent.com/p/AF1QipO1PcZFuSl8mVkozh4f9ya4iwx_fHImNdDfONTr=w800-h500-k-no"
street_view : "https://lh5.googleusercontent.com/p/AF1QipO1PcZFuSl8mVkozh4f9ya4iwx_fHImNdDfONTr=w1600-h1000-k-no"
working_hours_old_format : "Monday: 5-10 PM | Tuesday: 12-10 PM | Wednesday: 12-10 PM | Thursday: 12-10 PM | Friday: 12-10 PM | Saturday: 12-10 PM | Sunday: 12-10 PM"
working_hours
other_hours
business_status : "OPERATIONAL"
about
range : "$$"
reviews_per_score
reservation_links
booking_appointment_link : null
menu_link : null
order_links
owner_id : "107467690803502417050"
verified : true
owner_title : "Indian Summer Harlem"
owner_link : "https://www.google.com/maps/contrib/107467690803502417050"
location_link : "https://www.google.com/maps/place/Indian+Summer+Harlem/@40.8058943,-73.9472914,14z/data=!4m8!1m2!2m1!1sIndian+Summer+Harlem!3m4!1s0x89c2f7ae0daef3cb:0x7f6a96c11b8c8025!8m2!3d40.8058943!4d-73.9472914"
				
			

Searching for Detailed Types of a Place

				
					query : "0x80c2b91aa92dfaa7:0x2366fbba20d1db03"
name : "ABSteak by Chef Akira Back"
type : "Steak house"
subtypes : "Steak house, Barbecue restaurant, Korean barbecue restaurant, Korean beef restaurant, Korean restaurant, Korean rib restaurant"
place_id : "ChIJp_otqRq5woARA9vRILr7ZiM"
google_id : "0x80c2b91aa92dfaa7:0x2366fbba20d1db03"
full_address : "8500 Beverly Blvd #111, Los Angeles, CA 90048"
borough : "Beverly Grove"
street : "8500 Beverly Blvd #111"
postal_code : "90048"
area_service : false
country_code : "US"
country : "United States of America"
city : "Los Angeles"
us_state : "California"
state : "California"
plus_code : "85633JFF+F5"
latitude : 34.073695799999996
longitude : -118.37706379999999
time_zone : "America/Los_Angeles"
popular_times
site : "https://www.absteakla.com/"
phone : "+1 424-286-9900"
logo : "https://lh3.googleusercontent.com/-zog_-co-I04/AAAAAAAAAAI/AAAAAAAAAAA/_vi5ADcyHTU/s44-p-k-no-ns-nd/photo.jpg"
description : "Sleek destination for top cuts of beef & traditional Korean seafood or vegetable dishes."
located_in : "Beverly Center"
located_google_id : "0x80c2beb346dfc26d:0x5fbc7f956975fad"
category : "restaurants"
posts : null
reviews_tags : {...}
rating : 4.6
reviews : 60
photos_count : 324
cid : "2551003015785077507"
reviews_link : "https://search.google.com/local/reviews?placeid=ChIJp_otqRq5woARA9vRILr7ZiM&q=*&authuser=0&hl=en&gl=US"
reviews_id : "2551003015785077507"
photo : "https://lh5.googleusercontent.com/p/AF1QipNAgXhJI9fz81T8g-ggli1mLzLTeYIKreNykRA0=w800-h500-k-no"
street_view : "https://streetviewpixels-pa.googleapis.com/v1/thumbnail?panoid=FCTfEU0QRuoHoTEYyXBB6w&cb_client=search.gws-prod.gps&w=1600&h=1000&yaw=198.8865&pitch=0&thumbfov=100"
working_hours_old_format : "Monday: Closed | Tuesday: 5:30-10 PM | Wednesday: 5:30-10 PM | Thursday: 5:30-10 PM | Friday: 5:30-11 PM | Saturday: 5:30-11 PM | Sunday: 5-9 PM"
working_hours
Monday : "Closed"
Tuesday : "5:30-10 PM"
Wednesday : "5:30-10 PM"
Thursday : "5:30-10 PM"
Friday : "5:30-11 PM"
Saturday : "5:30-11 PM"
Sunday : "5-9 PM"
other_hours : null
business_status : "OPERATIONAL"
about
range : null
reviews_per_score : {...}
reservation_links : "https://www.opentable.com/restaurant/profile/1052590?ref=1068"
booking_appointment_link : "https://www.opentable.com/restaurant/profile/1052590?ref=1068"
menu_link : "https://absteakla.com/menu-2/"
order_links : "https://www.opentable.com/restaurant/profile/1052590?ref=1068"
owner_id : "113858773311334383836"
verified : true
owner_title : "ABSteak by Chef Akira Back"
owner_link : "https://www.google.com/maps/contrib/113858773311334383836"
location_link : "https://www.google.com/maps/place/ABSteak+by+Chef+Akira+Back/@34.073695799999996,-118.37706379999999,14z/data=!4m8!1m2!2m1!1sABSteak+by+Chef+Akira+Back!3m4!1s0x80c2b91aa92dfaa7:0x2366fbba20d1db03!8m2!3d34.073695799999996!4d-118.37706379999999"
				
			

Outscraper Google Maps Places API returns places from Google Maps based on a given search query and also it shows the detailed types of a place in the query response. The results from searches are the same as you would see by visiting a regular Google Maps site. Please check the Tài liệu API for information about query parameters and request samples.

Query Result With Detailed Types
Details of the Type, Category, and Subtypes of a Place

It is also possible to use Outscraper’s No-code Google Maps Data Scraper service for searching places with detailed types. And apart from that, if you want to learn the type, subtype, and category details of a place, a scraping task can be created for this place only. Creating a task and downloading the results from the dashboard is quite easy. It is a simple process to create a task and download the results from the dashboard. The output file is available in multiple formats, including CSV, XLSX, JSON, and Parquet. For further information, please refer to the tutorial: Getting Started With Google Maps Scraping

Try Outscraper Services Now

Outscraper is an alternative solution for developers who need to find detailed place types and place type data in details. With a free tier, you can easily create an account and test the Outscraper Google Maps Places API and Google Maps Data Scraper service to see how they can benefit your projects.

Câu hỏi thường gặp

Các câu hỏi và câu trả lời thường gặp nhất

To get a list of places on Google Maps API, traditionally, you would use the Google Places API. However, if you’re looking for a more detailed and comprehensive list, you should consider using the Outscraper Google Maps Places API. It provides an extended range of place data, allowing you to not only get a list of places but also additional details such as specific business categories.

The Places API typically enables users to search for places such as establishments, geographic locations, or prominent points of interest using requests. It can return information about a place, including its name, address, and geographical coordinates. However, Outscraper’s Google Maps Places API goes a step further. In addition to providing the functionality of a typical Places API, it offers more specific and detailed place data, such as particular categories of businesses. This makes it a more comprehensive tool for fetching location-related data.

Seeing all places on Google Maps can be a challenge due to the vast amount of data involved. Usually, you can use the Google Maps interface to search for and view places. But if you need a more systematic and detailed method to see all places, Outscraper Google Maps Places API can be an effective solution. With its enhanced data fetching capability, it can provide you with an extensive list of places along with their specific details, which may not be possible using the standard Google Maps interface alone. You just need to use the API to request the desired data, and it will return a comprehensive list of places based on your requirements.

Categories: API

Yunus

Marketer, Content Writer, Customer Experience Developer - Facebook | Linkedin | Twitter

0 Comments

Trả lời

Trình giữ chỗ hình đại diện