Request

location: -33.8670,151.1957 radius: 500 types: food name: cruise key: API_KEY

Url

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670,151.1957&radius=500&types=food&name=cruise&key=YOUR_API_KEY
XML

Response

<PlaceSearchResponse> <status>OK</status> <result> <name>Rhythmboat Cruises</name> <vicinity>Pyrmont Bay Wharf (Near Australia Maritime Museum), Pyrmont, NSW 2009</vicinity> <type>restaurant</type> <type>food</type> <type>point_of_interest</type> <type>establishment</type> <geometry> <location> <lat>-33.8687900</lat> <lng>151.1942170</lng> </location> </geometry> <icon>http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png</icon> <reference>CnRmAAAAPwMv ...reference truncated in this example</reference> <id>21a0b251c9b8392186142c798263e289fe45b4aa</id> <opening_hours> <open_now>false</open_now> </opening_hours> <photo> <photo_reference>CmRdAAAAVqk ...photo_reference truncated in this example</photo_reference> <width>640</width> <height>426</height> <html_attribution> <a href="https://www.google.com/maps/views/profile/104066891898402903288">Rhythmboat Cruises</a> </html_attribution> </photo> <place_id>ChIJyWEHuEmuEmsRm9hTkapTCrk</place_id> </result> <result> <name>Australian Cruise Group</name> <vicinity>32 The Promenade, King Street Wharf 5, Sydney</vicinity> <type>restaurant</type> <type>travel_agency</type> <type>food</type> <type>point_of_interest</type> <type>establishment</type> <geometry> <location> <lat>-33.8675910</lat> <lng>151.2011960</lng> </location> </geometry> <icon>http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png</icon> <reference>CnRqAAAAZv-GL ...reference truncated in this example</reference> <id>a97f9fb468bcd26b68a23072a55af82d4b325e0d</id> <opening_hours> <open_now>false</open_now> </opening_hours> <photo> <photo_reference>CmRdAAAAxybq ...photo_reference truncated in this example</photo_reference> <width>2000</width> <height>1331</height> <html_attribution> <a href="https://www.google.com/maps/views/profile/110751364053842618118">Australian Cruise Group</a> </html_attribution> </photo> <place_id>ChIJrTLr-GyuEmsRBfy61i59si0</place_id> </result> <result> <name>Lunch Cruise with Jazz on Sydney Harbour</name> <vicinity>37 Bank St, Pyrmont</vicinity> <type>bar</type> <type>restaurant</type> <type>food</type> <type>point_of_interest</type> <type>establishment</type> <geometry> <location> <lat>-33.8709430</lat> <lng>151.1903110</lng> </location> </geometry> <icon>http://maps.gstatic.com/mapfiles/place_api/icons/bar-71.png</icon> <reference>CoQBewAAAPO ...reference truncated in this example</reference> <id>e644f7f34cf875b9919c6548f1b721947362850a</id> <opening_hours> <open_now>false</open_now> </opening_hours> <photo> <photo_reference>CmRdAAAAf3g ...photo_reference truncated in this example</photo_reference> <width>438</width> <height>292</height> <html_attribution> <a href="https://www.google.com/maps/views/profile/105423912060796272053">Lunch Cruise with Jazz on Sydney Harbour</a> </html_attribution> </photo> <place_id>ChIJLfySpTOuEmsRPCRKrzl8ZEY</place_id> </result> <logging_info> <query_geographic_location>AU</query_geographic_location> </logging_info> <debug_log/> </PlaceSearchResponse>
JSON

Response

{ "debug_log" : { "line" : [] }, "html_attributions" : [], "logging_info" : { "experiment_id" : [], "query_geographic_location" : "AU" }, "results" : [ { "geometry" : { "location" : { "lat" : -33.86879, "lng" : 151.194217 } }, "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png", "id" : "21a0b251c9b8392186142c798263e289fe45b4aa", "name" : "Rhythmboat Cruises", "opening_hours" : { "open_now" : false, "weekday_text" : [] }, "photos" : [ { "height" : 426, "html_attributions" : [ "\u003ca href=\"https://www.google.com/maps/views/profile/104066891898402903288\"\u003eRhythmboat Cruises\u003c/a\u003e" ], "photo_reference" : "CmRdAAAA-YL_I ...photo_reference truncated in this example", "width" : 640 } ], "place_id" : "ChIJyWEHuEmuEmsRm9hTkapTCrk", "reference" : "CnRmAAAAvQl ...reference truncated in this example", "types" : [ "restaurant", "food", "point_of_interest", "establishment" ], "vicinity" : "Pyrmont Bay Wharf (Near Australia Maritime Museum), Pyrmont, NSW 2009" }, { "geometry" : { "location" : { "lat" : -33.867591, "lng" : 151.201196 } }, "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png", "id" : "a97f9fb468bcd26b68a23072a55af82d4b325e0d", "name" : "Australian Cruise Group", "opening_hours" : { "open_now" : false, "weekday_text" : [] }, "photos" : [ { "height" : 1331, "html_attributions" : [ "\u003ca href=\"https://www.google.com/maps/views/profile/110751364053842618118\"\u003eAustralian Cruise Group\u003c/a\u003e" ], "photo_reference" : "CmRdAAAAtEo ...photo_reference truncated in this example", "width" : 2000 } ], "place_id" : "ChIJrTLr-GyuEmsRBfy61i59si0", "reference" : "CnRqAAAAFbuk ...reference truncated in this example", "types" : [ "restaurant", "travel_agency", "food", "point_of_interest", "establishment" ], "vicinity" : "32 The Promenade, King Street Wharf 5, Sydney" }, { "geometry" : { "location" : { "lat" : -33.870943, "lng" : 151.190311 } }, "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/bar-71.png", "id" : "e644f7f34cf875b9919c6548f1b721947362850a", "name" : "Lunch Cruise with Jazz on Sydney Harbour", "opening_hours" : { "open_now" : false, "weekday_text" : [] }, "photos" : [ { "height" : 292, "html_attributions" : [ "\u003ca href=\"https://www.google.com/maps/views/profile/105423912060796272053\"\u003eFrom a Google User\u003c/a\u003e" ], "photo_reference" : "CmRdAAAAR4bq ...photo_reference truncated in this example", "width" : 438 } ], "place_id" : "ChIJLfySpTOuEmsRPCRKrzl8ZEY", "reference" : "CoQBewAAAFd2 ...reference truncated in this example", "types" : [ "bar", "restaurant", "food", "point_of_interest", "establishment" ], "vicinity" : "37 Bank St, Pyrmont" } ], "status" : "OK" }