Lookup

The Lookup query allows you to submit the Placekey of a location and get more detailed responses back in a Full Place Response. Use this to show more details for a selected place, after an initial search.

Placekey is a unique and persistent identifier for any physical place in the world. Learn more at Placekey.io.

ArgumentDescriptionExample
placekeyRequired. String22m-222@5vg-7gv-6kz

In this example, we're requesting more details about a specific POI.

query {
  lookup(placekey: "22m-222@5vg-7gv-6kz") {
    locationName
    address {
      streetAddress
      city
      region
      postalCode
    }
    topCategory
    detailedInfo {
      subcategory
      categoryTags
    }
  }
}
{
  "data": {
    "lookup": {
      "locationName": "Gentle Star Medspa",
      "address": {
        "streetAddress": "14 Mint Plz Ste 110",
        "city": "San Francisco",
        "region": "CA",
        "postalCode": "94103"
      },
      "topCategory": "Personal Care Services",
      "detailedInfo": {
        "subcategory": "Other Personal Care Services",
        "categoryTags": [
          "Hair Removal",
          "Laser Hair Removal",
          "Medical Spa",
          "Skin Care"
        ]
      }
    }
  },
  "extensions": {
    "row_count": 0
  }
}