Search results can now be filtered by the confidence threshold for the resulting POIs. This parameter enables you to define how strict you want the matched results to be.

This field accepts either HIGH, MEDIUM, LOW, or FUZZY. This field defaults to HIGH if no param is set.

If you are looking for a single response, HIGH is the best option.

FUZZY search offers the most flexibility in the response and will return the best effort results based on the information given.

query search {
  search(filter: { 
    address: { 
      location_name: "Blue Bottle Coffee"
      street_address: "Mint" 
      city: "San Francisco"
      region: "CA"
    }
  }) {
    places { 
      results (confidence: MEDIUM) { 
        edges { node { 
          placekey 
          safegraph_core {
            location_name
            street_address
            city
            region
            naics_code
          }
             } 
        } 
      } 
    }
  }
}
{
  "data": {
    "search": {
      "places": {
        "results": {
          "edges": [
            {
              "node": {
                "placekey": "[email protected]",
                "safegraph_core": {
                  "location_name": "Blue Bottle Coffee",
                  "street_address": "66 Mint Plz",
                  "city": "San Francisco",
                  "region": "CA",
                  "naics_code": 722513
                }
              }
            }
          ]
        }
      }
    }
  },
  "extensions": {
    "row_count": 1,
    "version_date": [
      "safegraph_core: 1640723734__2021_12",
      "safegraph_geometry: 1640723734__2021_12",
      "safegraph_weekly_patterns2: 2022_01_11",
      "safegraph_monthly_patterns: 2022_01_11"
    ]
  }
}