Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Fancy Fields … You can retrieve the details of a Place by providing a place_id.

ENDPOINT

Code Block
 GET 
Code Block
/rest/fancyfields/1.0/placedetails/{place_id}

RESPONSE

Code Block
{
    "html_attributions": [],
    "result": {
        "address_components": [
            {
                "long_name": "50501600",
                "short_name": "50501600",
                "types": [
                    "street_number"
                ]
            },
            {
                "long_name": "KingsleyPennsylvania Avenue DriveNorthwest",
                "short_name": "KingsleyPennsylvania Avenue DrNW",
                "types": [
                    "route"
                ]
            },
            {
                "long_name": "MadisonvilleNorthwest Washington",
                "short_name": "MadisonvilleNorthwest Washington",
                "types": [
                    "neighborhood",
                    "political"
                ]
            },
            {
                "long_name": "CincinnatiWashington",
                "short_name": "CincinnatiWashington",
                "types": [
                    "locality",
                    "political"
                ]
            },
            {
                "long_name": "HamiltonDistrict of CountyColumbia",
                "short_name": "Hamilton CountyDC",
                "types": [
                    "administrative_area_level_21",
                    "political"
                ]
            },
            {
                "long_name": "OhioUnited States",
                "short_name": "OHUS",
                "types": [
                    "administrative_area_level_1country",
                    "political"
                ]
            },
            {
                "long_name": "United States20500",
                "short_name": "US20500",
                "types": [
                    "countrypostal_code",
                ]
   "political"         }
        ]
            },
            {

               "long_name"adr_address": "45227",
       <span class=\"street-address\">1600 Pennsylvania Avenue NW</span>, <span class=\"locality\">Washington</span>, <span class=\"region\">DC</span> <span class=\"postal-code\">20500</span>, <span class=\"country-name\">USA</span>",
        "shortbusiness_namestatus": "45227OPERATIONAL",
        "editorial_summary": {
      "types": [     "language": "en",
            "overview":  "postal_code"
            "Landmark, historic home & office of the United States president, with tours for visitors."
   ]     },
       } "formatted_address": "1600 Pennsylvania Avenue NW, Washington, DC 20500, ]USA",
        "adrformatted_addressphone_number": "<span class=\"street-address\">5050 Kingsley Dr</span>, <span class=\"locality\">Cincinnati</span>, <span class=\"region\">OH</span> <span class=\"postal-code\">45227</span>, <span class=\"country-name\">USA</span>(202) 456-1111",
        "geometry": {
            "location": {
                "lat": 38.8976763,
                "lng": -77.0365298
            },
            "viewport": {
                "northeast": {
                    "lat": 38.90150685,
                    "lng": -77.03520251970849
                },
                "southwest": {
                    "lat": 38.89639945,
                    "lng": -77.0379004802915
                }
            }
        },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/civic_building-71.png",
        "icon_background_color": "#7B9EB0",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/civic-bldg_pinlet",
        "international_phone_number": "+1 202-456-1111",
        "name": "The White House",
        "photos": [
            {
                "height": 1365,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/103373060190538198750\">Olivier Herrmann</a>"
                ],
                "photo_reference": "AfLeUgNMx_etcbrTJcz0CHbFV1f7HjNw-vepx2Pzr8i5mrQTSL6pi7iFoCZTrEoWzkmSe0ulHXDCgoumSUs_yxMW-zIjVgCeqV1rU8dzXr2CBS4GKvPJRDCGVa3N2mHlRoUc45RC5wTu8eJDoBnc6F1FbngRQ35F248qB-FtYlMOz3zjJFLd",
                "width": 2048
            },
            {
                "height": 2249,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/105787856450685617563\">Amos Kairouz</a>"
                ],
                "photo_reference": "AfLeUgMHuKHYj9zjlNr2uG0JkyTwTxONwdGx5KmHBlXRLpOBQbjqoetMIE369ui48cQY40x2m2MYRbrTvurEziWuk7fZzf_0juTIfm80KJrB2l354q7miGFZd3cMd44D6lWijLOnEgaRyDERT6ehYnSXu1_YROQ5hnXftcKluz_KDD-nM8Bx",
                "width": 3410
            },
            {
                "height": 1052,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/107477701409667167888\">Jimoh Idris ola</a>"
                ],
                "photo_reference": "AfLeUgOpNDCC7_-QDzp2-wUMieygsSA3B9JTWzwHrXpg6CEYwKoymPM8rBVqt-jLcJUlYVtgYHNfCEHeMup3Zaotx-SGrcwCJDh6b5XURyph6GGVBGWwYDnw6JCOP1JN1PGC3sOqE8qr6QpGqihDv1hNDFqDaVbBX-z52kYlcWLIzv7bJGGz",
                "width": 828
            },
            {
                "height": 3846,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/111069803868704371412\">Wright Cox</a>"
                ],
                "photo_reference": "AfLeUgNYkbhsu11-CH2TLJdB2aGdbZr-QsQqm7Ulj9V9FW2HBZfOSbIFTVKVs8voHr_BTq_pFyOlJg39_YYCfjL1KcM2v8L3w6XxVTpdvBBvqZJp_jhoTtdQMgZAFLw1SONSCbcThQGr03wz_WrCTSVpLymVpamm64paZ1GLoHNi5e-Notk",
                "width": 7136
            },
            {
                "height": 440,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/118151177936578683019\">ابن المليك</a>"
                ],
                "photo_reference": "AfLeUgPOmnmEZjzjcDE_93JiydUjS-A74LDn1oOO4MJs8ZLcPOacGk0XbrFqmX4ZRCuRJrvMcwFiOFmCpkXUFjkC3AxLKCl5fpwE5o96740cLDEb3SD2vlYaZ8M3r41aDGu-0ONaYe6cDQXITRIDltoCOD27y7EtvpiGiqOvdvSiwL6dkcOe",
                "width": 592
            },
            {
                "height": 500,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/117209569388239079730\">Dennison Paul</a>"
                ],
                "photo_reference": "AfLeUgPtNchl8jsCKp40E0JOfBnHSr-7Qs__2UyMboRWBVWG2jWcq48AjN99OgAGhJot9FgCG4dLKSGqfV41zRfY0RpdR0KORJ7rKPtYBzFBQYaKQL7DC2-muqgpE-sbgrQ9QrZQjU5KThvjsu3-BHsAwNNn4G5aptlIWg9wHUFZhq08EjNA",
                "width": 750
            },
            {
                "height": 1000,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/109870051549555901371\">Abdoul Aziz Ndiaye</a>"
                ],
                "photo_reference": "AfLeUgPbnakKzhtLZMQ-ETQhQJtr2uOxOlfsUoAi3H0fu72ywrTkYeAc7jH8GlG9wgtzOKUZ9qZ19Tt-LDU8Uwfx4bndJ5jXq7_wF_uhxUnOeMKXWhXHU1QJ_lfplgqcIEJqUhQxDJuSGdQJOrVH-aYIyDD187TSvRCM0ZNEhdKoKLaSPdFd",
                "width": 1214
            },
            {
                "height": 3664,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/117939471876093935972\">Kent Li</a>"
                ],
                "photo_reference": "AfLeUgMRp0qC1nL6RSGuUytqpvp6LntMlDbzbw3H8n7dXjD1_CRcS7SdwxcOjjAFMAA59oD-4yYeYdjw2ZjiR-PtyMmRG_3Q3SUluZDbd54rGko-iTkt6xZxHJOD7WaLdBpsu0xNI0iVva32Z9qMdC8gYdNttbU-IA3HrZCAbo7bz4wqlPdF",
                "width": 5380
            },
            {
                "height": 421,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/111345135143151138711\">mehrdad masoumi</a>"
                ],
                "photo_reference": "AfLeUgPLttPgj6ZU9Mpu666ovRMFojS9YWpKEzCTSwquqSS_zCyOu7avjUwYxlvM2hsIrkhi8EEeCRuHi6_Jk8Jw8nat48q7Qz9OSzEpWDqup9dCgqpFz8FbTXW1lK8RWVpO3fiCfZ9Tqz-l0Cj3SK28-UAIA9vrRUHpowZGCVvAowbak9gX",
                "width": 747
            },
            {
                "height": 4032,
                "html_attributions": [
                    "<a href=\"https://maps.google.com/maps/contrib/112556948818051895762\">Maria Wilson</a>"
                ],
                "photo_reference": "AfLeUgPU7Dcuxx5rNKuMLtorzf_IVwH5rwkoZMTCcYbYAmHmaCqFug9gRxbe8AfAPXbRaP2MBxj6P4IDPJvNT31QAnANKwoDDAiejPqMGMNDHujh9-3CM3g1iHiXrDq-JiT11YWi2skP3eduYVGpgSDyV5lYS1vEwPsNR6KzfLkPvZNyoz-_",
                "width": 1960
            }
        ],
        "place_id": "ChIJ37HL3ry3t4kRv3YLbdhpWXE",
        "plus_code": {
            "compound_code": "VXX7+39 Washington, DC, USA",
            "global_code": "87C4VXX7+39"
        },
        "price_level": 0,
        "rating": 4.2,
        "reference": "ChIJ37HL3ry3t4kRv3YLbdhpWXE",
        "reviews": [
            {
                "author_name": "Brenda",
                "author_url": "https://www.google.com/maps/contrib/116992800507045820329/reviews",
                "language": "en",
                "original_language": "en",
                "profile_photo_url": "https://lh3.googleusercontent.com/a-/ACB-R5SZ2hxYOL-efS92BBUEVy3t1yMqtiwedB4sPOCN6Q=s128-c0x00000000-cc-rp-mo-ba6",
                "rating": 5,
                "relative_time_description": "a year ago",
                "text": "I was disappointed that our tour bus didn't take us closer.  We didn't know they changed those plans until we were on it.  So, unfortunately, we were only able to see it from afar.  Nevertheless, it is an impressive building.  I would love to go back one day for a full tour.",
                "time": 1635335561,
                "translated": false
            },
            {
                "author_name": "Prof Arun C. Mehta",
                "author_url": "https://www.google.com/maps/contrib/103096608337277105428/reviews",
                "language": "en",
                "original_language": "en",
                "profile_photo_url": "https://lh3.googleusercontent.com/a-/ACB-R5RaDIlc0RfY68-DvvMwBWlEaqRWSWrX04WpU2U3de4=s128-c0x00000000-cc-rp-mo-ba8",
                "rating": 3,
                "relative_time_description": "5 years ago",
                "text": "Frankly sharing with you there is not much to see and move around the white house. Visited this place in 2013 and a bit disappointed. One can see WH from a far distance. It is just ritual to visit this place while in DC/USA.",
                "time": 1492580520,
                "translated": false
            },
            {
                "author_name": "אבנר קלמר",
                "author_url": "https://www.google.com/maps/contrib/105047526601228998886/reviews",
                "language": "en",
                "original_language": "en",
                "profile_photo_url": "https://lh3.googleusercontent.com/a-/ACB-R5SO118puS5SdcCZkKeWIAESdCT5vNOmrYUVpMzgVJo=s128-c0x00000000-cc-rp-mo-ba6",
                "rating": 5,
                "relative_time_description": "10 months ago",
                "text": "Amazing",
                "time": 1651260717,
                "translated": false
            },
            {
                "author_name": "Simon Weppel",
        "formatted_address        "author_url": "5050 Kingsley Dr, Cincinnati, OH 45227, USA",https://www.google.com/maps/contrib/112259064758399960406/reviews",
                "geometrylanguage": {"en",
                "locationoriginal_language": "en",
{                 "latprofile_photo_url": 39.1693956"https://lh3.googleusercontent.com/a-/ACB-R5SXqwoIkFODDUwUn7YrpFQhL5AlgDiXh_nnqokgQg=s128-c0x00000000-cc-rp-mo-ba5",
                "lngrating": -84.40856685,
            },             "viewport": {"relative_time_description": "12 months ago",
                "text": "northeastToll!":,
{                "time": 1647133481,
   "lat": 39.1708697802915,            "translated": false
       "lng": -84.40360735    },
            },{
                "southwestauthor_name": {"Carbo    Kuo (BYVoid)",
                "latauthor_url": 39.1681718197085,
   "https://www.google.com/maps/contrib/112163558251413006250/reviews",
                "lngprofile_photo_url": -84.41021995
   "https://lh3.googleusercontent.com/a-/ACB-R5ROctdWloXhJRvBO43Cx_-BPzEncDPUpbq0GPADZj8=s128-c0x00000000-cc-rp-mo-ba8",
            }    "rating": 3,
       }         },
        "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/v1/png_71/geocode-71.png"relative_time_description": "6 years ago",
        "icon_background_color        "text": "#7B9EB0",
        "icon_mask_base_uri": "https://maps.gstatic.com/mapfiles/place_api/icons/v2/generic_pinlet",        "time": 1457940106,
                "nametranslated": "5050 Kingsley Dr",
false
            }
       "place_id": "ChIJw8Hb3DytQYgRb9XCjImoHr0" ],
        "plus_codetypes": {[
            "compoundtourist_code": "5H9R+QH Cincinnati, OH, USAattraction",
            "point_of_interest",
            "global_codeestablishment":
"86FQ5H9R+QH"         }],
        "referenceurl": "ChIJw8Hb3DytQYgRb9XCjImoHr0https://maps.google.com/?cid=8167675777476425407",
        "typesuser_ratings_total": [5,
        "utc_offset": -240,
    "street_address"    "vicinity": "1600 Pennsylvania Avenue Northwest, ]Washington",
        "urlwebsite": "https://mapswww.googlewhitehouse.com/?q=5050+Kingsley+Dr,+Cincinnati,+OH+45227,+USA&ftid=0x8841ad3cdcdbc1c3:0xbd1ea8898cc2d56fgov/",
        "utcwheelchair_accessible_offsetentrance": -300,
        "vicinity": "Cincinnati"true
    },
    "status": "OK"
}