Places

Places corresponds to the SafeGraph Places dataset. It represents the base information such as location name, address, category, and brand association for points of interest (POIs). Available for over 8MM POI including permanently closed POIs.

Sample Query containing all fields:

query {
  lookup(placekey: "225-222@5vg-7gs-t9z") {
    safegraph_core {
      placekey
      latitude
      longitude
      street_address
      city
      region
      postal_code
      iso_country_code
      parent_placekey
      location_name
      brands {
        brand_id
        brand_name
      }
      top_category
      sub_category
      naics_code
      phone_number
      open_hours
      category_tags
      opened_on
      closed_on
      tracking_closed_since
      geometry_type
    }
  }
}
{
  "data": {
    "lookup": {
      "safegraph_core": {
        "placekey": "225-222@5vg-7gs-t9z",
        "latitude": 37.77987,
        "longitude": -122.431733,
        "street_address": "1100 Fillmore St",
        "city": "San Francisco",
        "region": "CA",
        "postal_code": "94115",
        "iso_country_code": "US",
        "parent_placekey": null,
        "location_name": "McDonald's",
        "brands": [
          {
            "brand_id": "SG_BRAND_5179b21fc1d50950b99b4eecaa48c614",
            "brand_name": "mcdonalds restaurants"
          }
        ],
        "top_category": "Restaurants and Other Eating Places",
        "sub_category": "Limited-Service Restaurants",
        "naics_code": 722513,
        "phone_number": "+14159231138",
        "open_hours": "{ \"Mon\": [[\"6:00\", \"22:00\"]], \"Tue\": [[\"6:00\", \"22:00\"]], \"Wed\": [[\"6:00\", \"22:00\"]], \"Thu\": [[\"6:00\", \"22:00\"]], \"Fri\": [[\"6:00\", \"22:00\"]], \"Sat\": [[\"6:00\", \"22:00\"]], \"Sun\": [[\"6:00\", \"22:00\"]] }",
        "category_tags": [
          "Counter Service",
          "Lunch",
          "Fast Food",
          "Drive Through",
          "Breakfast",
          "Dinner",
          "Burgers"
        ],
        "opened_on": null,
        "closed_on": null,
        "tracking_closed_since": "2019-07-01",
        "geometry_type": "POLYGON"
      }
    }
  },
  "extensions": {
    "row_count": 1,
    "version_date": "1635494405__2021_10"
  }
}