New 42-day free trial
Smarty

When to use strict vs enhanced matching in your address API

Andrew Townsend
Andrew Townsend
 | 
May 20, 2024
Tags
When to use strict vs enhanced matching in your address API

In our recent webinar, we invited Easton Gibson, one of our US Street API software engineers, to discuss key features of address validation and give insights into the functionalities of both strict and enhanced modes.

In this blog, we'll cover:

Understanding strict mode

Strict mode is precisely what it sounds like—it rigorously validates addresses against the official USPS database, ensuring that only fully accurate, postal-verified addresses are accepted. This mode is typically used for operations requiring high precision, such as legal or financial document dispatch.

For example, if you enter a known address into Smarty's address tools with strict mode, you'll see that it processes and standardizes address data, rejecting any entry that doesn't perfectly match USPS records.

However, while most people use strict mode for its reliability in confirming that an address is recognized by the USPS, its rigidity creates problems.

Introduction to enhanced mode

Enhanced mode is better than strict mode because it uses fuzzy logic, machine learning, and generally more information to provide a holistic story for each address. This mode is designed to capture and validate addresses that might not be part of the USPS database. These are known as non-postal addresses and include things such as newer developments or rural locations.

Enhanced mode’s ability to handle non-postal addresses is a significant benefit. For instance, it can identify and validate non-postal addresses and correct common address mistakes, giving you workable information instead of just an unknown result.

Enhanced mode provides everything strict mode will, but with more information about why an address does or doesn’t match. Instead of giving a “yes/no” response, it may give a “yes, if” response or “no, because.”

You can play with the enhanced mode results on the US Street API demo page.

FAQ for enhanced mode

What are the main sources for non-postal addresses in Smarty’s database?
The sources for non-postal addresses include several proprietary datasets that Smarty™ has access to, which are part of our "secret sauce." For detailed information, you can reach out to an account executive.

If I want results only from USPS addresses, should I use enhanced mode and filter out non-postal matches, or stick with strict mode?
Using enhanced mode is recommended even if you require only USPS addresses. Enhanced mode's aggressive matching strategy means it can handle typographical errors and other common discrepancies better than strict mode. Results that are non-postal will be clearly indicated, allowing easy filtering while still benefiting from enhanced mode's robust matching capabilities.

How does enhanced mode handle inputs with significant errors or typos, especially in critical components like the street name or number?
Enhanced mode is designed to be more forgiving of errors, including significant misspellings. It uses sophisticated algorithms to interpret and correct errors where possible, differentiating it from strict mode, which requires exact matches. However, there are limits; if an input is too far off from any real address data, even enhanced mode may not be able to make a correct match.

Webinar about "enhanced mode"

If you'd like to view the full webinar recording and the demos given, you can view that here:

Subscribe to our blog!
Learn more about RSS feeds here.
rss feed icon
Subscribe Now
Read our recent posts
Improving user/customer experience in every industry with clean address data
Arrow Icon
You finally track down an essential addition to your collector’s set of [insert item of your choice], and you're hyped to buy it until the chaos begins. The cart is hidden in a fly-out on the side, cluttered with blocky, overwhelming text. You spend way too long just trying to find the "Proceed to Checkout" button. 👎 That’s bad UI (user interface): messy, confusing design that makes navigation a chore. You make it to the checkout and start entering your info, but the site keeps rejecting your address.
Dashboard essentials for Smarty users
Arrow Icon
The Smarty dashboard is your central hub for managing address verification, geocoding, and property data services. Whether you're just starting or looking to optimize your current setup, understanding the dashboard's full capabilities can significantly streamline your address data operations. We recently held a webinar in which we reviewed all of the Smarty dashboard's items and features. Missed it? That's OK; we've got all the information right here. You can expect to read about:Accessing your dashboardSetting up your account for successUnderstanding your active subscriptionsManaging API keys effectivelyStreamlining billing and financial managementStaying informed with smart notificationsTeam management and access controlsWeb toolsMaking the most of free trialsKey takeawaysLet’s get going!Accessing your dashboardGetting to your dashboard is straightforward.
Take charge of your API usage with Smarty’s key management features
Arrow Icon
Ever wondered, “Where did all my lookups go?!” Without proper API management, you may burn through your lookups quicker, experience runaway code, and encounter unexpected usage. That’s why Smarty created usage by key (included in all annual plans) and limit by key (included in some plans; you can add them by contacting sales) for its APIs. Why key management mattersCommon API usage challenges (problems to solve):Unexpected spikes in lookupsDifficulty tracking specific key usageWhich keys are calling which Smarty licenseNeed for better control over API consumptionDifficulty allocating Smarty lookups across an organizationWith Smarty's key management features, you gain more control by having better visibility of your usage, eliminating the element of surprise (you know, the bad kind, like when you’re suddenly out of lookups).

Ready to get started?