Queries the SmartyStreets US Street Address API to provide real-time, validated address suggestions as users type. Returns a list of standardized addresses in USPS format for frontend autocomplete/typeahead integration.
address (string, required) — Partial or full address text to search. Minimum 3 characters recommended. URL-encoded.
AddressLookupQueryResponse containing:
success (bool) — Always true for successful API callscode (int) — Result code (always 200)errorMessage (string) — Null on successentries (array) — List of validated address suggestions, or empty array if no matches
street_line — Primary street addresssecondary — Apartment/suite number (empty if single-unit)city — Standardized city namestate — Two-letter state abbreviationzipcode — Five-digit ZIP codeentries — Number of units at this address (1=single unit, >1=multi-unit building)success property in the response body.entries array can occur when:
entries > 1, prompt user to specify apartment/suite number.entries > 1, show “Multiple units available” and prompt for apt/suite number.CompanyController.CreateEntry or UpdateEntry to save address to company record.ProjectPaymentProcessorController.The access token received from the authorization server in the OAuth 2.0 flow.
The partial or full address text to search for autocomplete suggestions (minimum 3 characters recommended, URL-encoded).
Always returned; check the success property in the response body to determine if the operation succeeded.
Standard response structure containing operation status and error information. Standard query response containing a collection of matching entities. Collection of validated address suggestions matching the search query.
True if the operation completed successfully; false if an error occurred.
true
Result code indicating the outcome of the operation.
Unknown, Success, BadRequest, Unauthorized, NotFound, Error 200
Human-readable error message when an error occurs.
null
Collection of entities matching the query criteria.
[]