GET Lookup Results

The GET lookup endpoint returns the results of an executed look up request. It returns the POI data from Google Places API for the requested search criteria.

URL to call

https://api.bluedotinnovation.com/1/poi/lookup/{lookupId}/results/{pageNumber}

Parameters

Name Required Data Type Description Format
lookupId String The lookupId returned when the lookup request was made
pageNumber Number A specific page number for a paginated result set; each page has 500 results. 1 – N
customerApiKey String API key for the customer found in the Account Management tab of Point Access UI.
apiKey String API Key of the relevant app found in the Manage Apps section of the App and Beacon Management tab of Point Access UI.

GET lookup results

https://api.bluedotinnovation.com/1/poi/lookup/dbf9f6b0-3668-407e-87b5-ee5aba4e35a0?customerApiKey=8687becd-5fb4-4034-b51c-36bc9c4072d2&apiKey=67c62260-1d8a-11e7-ae25-06a56cd124c5

Example: JSON response for GET lookup results

{
    "lookupId": "dbf9f6b0-3668-407e-87b5-ee5aba4e35a0",
    "page": 1,
    "creationTime": "2017-04-19T07:59:37.605Z",
    "results": [
        {
            "vicinity": "401 13th Street, San Francisco",
            "types": [
                "cafe",
                "bar",
                "restaurant",
                "food",
                "store",
                "point_of_interest",
                "establishment"
            ],
            "scope": "GOOGLE",
            "reference": "CmRSAAAAD332vSxG3k7qBJHoWHp6TWgDIqRmJtI6ZFHbPNg1sGfalKZxj1mqZGpMrtNP7h51g2BcZUfDVKUn_F_WCBH0LHhNHhu_MUKAFpSG2Jp6vABisP7WS2_qm-9E8s-bTsfoEhD6nsMZkQEVRY2mp_6wd7IZGhTPBOuGxIFjjzvzarGYFWk4vrTcqQ",
            "rating": 4.4,
            "place_id": "ChIJj0s0A81_j4ARbMK9LbiEB9M",
            "photos": [
                {
                    "width": 2048,
                    "photo_reference": "CoQBdwAAAOphL4kL4_Lq4-T0PFDbDlxxVkMjXYG63f3AXMQE85Jyng1UZD2vNxkReHzwFOxwnnFNbwayIHKsacL8LkC0F-afSXFAZbtC--Nwxc1LXIh5LHXVOCBYWCuCM7yTzq6SHH-UNhe0oS3BytOBJVvDh8Q9Trn587n1iKghRw1jkYWrEhAxct78efsCXJnJKJSimF0cGhT8vvrXS_TjuMKYFU8gs8_qT85rSw",
                    "html_attributions": [
                        "Aracely Cafe and Event Center"
                    ],
                    "height": 1365
                }
            ],
            "opening_hours": {
                "weekday_text": [
                     
                ],
                "open_now": false
            },
            "name": "Aracely Cafe and Event Center",
            "id": "5e13708c0a0fe1b8f591f99205d3aff28f51be47",
            "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png",
            "geometry": {
                "viewport": {
                    "southwest": {
                        "lng": -122.3750276302915,
                        "lat": 37.8264930697085
                    },
                    "northeast": {
                        "lng": -122.3723296697085,
                        "lat": 37.8291910302915
                    }
                },
                "location": {
                    "lng": -122.37378,
                    "lat": 37.827988
                }
            }
        },
        .
        .
        .
        {
            "vicinity": "4150 18th Street, San Francisco",
            "types": [
                "restaurant",
                "food",
                "point_of_interest",
                "establishment"
            ],
            "scope": "GOOGLE",
            "reference": "CmRSAAAA2vPzyel9CUvRip11VgYk__xsejBFtkYNpR4WOqWDEX2bFPQ8R3pp9wDPe2OsuGESWBsY9Ht5bVryeQqAcg6eJUzm4VcWQGB89ar7aoj1PRCKtOltJnsGca2C3ZRhWnf9EhAHrlZPzkp783NKgEsAs2QEGhQAnkP7CKGKY2vVJSka11FwC_kipQ",
            "rating": 4,
            "price_level": 1,
            "place_id": "ChIJ7zxvyAR-j4AR_ueCaXrCefk",
            "photos": [
                {
                    "width": 2592,
                    "photo_reference": "CoQBdwAAAKhIh4TcZ7VX2Q1de_WWX6eDZ48nxXz6tdfEIqkadI8SStyLwG7hWUVmA2Tfa2WQs5uprKXQS-f_vqHIVIsnydavBDy9AzEVpDfUB8XtEwZWIAoMZh4EItJh0l6XPwnEu29K0tp7L7B7zns9vXvK0CCbZCwpZAd7ZFHpfnLpgHMNEhCQMu6S8RazUyr55ZV1xV23GhQK_fSOlR7hxsaNkVwtg2PQxG0peA",
                    "html_attributions": [
                        "Ray Coshow"
                    ],
                    "height": 1458
                }
            ],
            "opening_hours": {
                "weekday_text": [
                     
                ],
                "open_now": false
            },
            "name": "Zapata Mexican Grill",
            "id": "09690cb3838f7ef60c60e5fa8694d21dda600738",
            "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
            "geometry": {
                "viewport": {
                    "southwest": {
                        "lng": -122.4372262802915,
                        "lat": 37.7595720697085
                    },
                    "northeast": {
                        "lng": -122.4345283197085,
                        "lat": 37.7622700302915
                    }
                },
                "location": {
                    "lng": -122.4358836,
                    "lat": 37.760992
                }
            }
        },
        .
        .
        .
        {
            "vicinity": "2565 Mission Street, San Francisco",
            "types": [
                "night_club",
                "bar",
                "restaurant",
                "food",
                "point_of_interest",
                "establishment"
            ],
            "scope": "GOOGLE",
            "reference": "CmRRAAAAq-RsGw9e0bz9QuSHM2lCxGrflqOSFf3wfsdHofdW7jDau0wUIJzQjXOLmCJHXqu66BiCZ2Y_8Z65sKVrLj8vnW8wZZICKm996VSEYFAEmmcRXRb5bG3zXPefOmnCVliAEhBbuQAfafKaCqYqubEgUYlIGhTOkgnquehT-_q0iRrjCMI5VJFU-w",
            "rating": 4,
            "place_id": "ChIJP5-T0z5-j4AR4pd58WUB2V8",
            "photos": [
                {
                    "width": 4160,
                    "photo_reference": "CoQBdwAAAIBkNGsABAnNMV8HYgs7Ly50QLAjOnfPB36z1BEqzclszhlMD0GMVv1Apl5MOqWRdLpjLSVxh2ZCTi40mwMbExXf1xZZUiW5JOMxDoL6Qlugxb5MbJiDKHtp8JnLXMLZVn4RkNezxr48t7TdxdUDYA-A0d13KZVtsfamNCtQ_LyREhCbWaJBbDiCtjImt4Yi6IvgGhTaNB_jC0ByWTh7UfErF8DZFwgk_g",
                    "html_attributions": [
                        "Carl Cordell"
                    ],
                    "height": 2340
                }
            ],
            "opening_hours": {
                "weekday_text": [
                     
                ],
                "open_now": true
            },
            "name": "Balançoire",
            "id": "402fb69aaf191b1705e9921f744a8dc4150744a2",
            "icon": "https://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
            "geometry": {
                "viewport": {
                    "southwest": {
                        "lng": -122.4201200802915,
                        "lat": 37.75473686970849
                    },
                    "northeast": {
                        "lng": -122.4174221197085,
                        "lat": 37.75743483029149
                    }
                },
                "location": {
                    "lng": -122.4187062,
                    "lat": 37.7560897
                }
            }
        }
    ],
    "lastUpdateTime": "2017-04-19T08:00:14.151Z"
}

Next Step

Created by Bluedot DevOps on January 31, 2018

Start the discussion