Sourcier Geo Utils icon

Sourcier Geo Utils

Address utilities: validate, normalize, format, convert, compare addresses

Address Utils → Compare

AI-generated

Summary

Compare two addresses by their components to determine if they represent the same location.

Inputs

  • authentication (required) — Choose between User Credentials (Email & Password) or Enterprise Credentials (API Key) for API access.
  • addressA_address1 (required) — The first line of Address A, e.g., street address.
  • addressA_city (required) — City of Address A.
  • addressA_state (required) — State or region of Address A.
  • addressA_zip (required) — ZIP or postal code of Address A.
  • addressA_countryCode (required) — Country code (ISO 3166-1 alpha-2) for Address A, e.g., US.
  • addressB_address1 (required) — The first line of Address B, e.g., street address.
  • addressB_city (required) — City of Address B.
  • addressB_state (required) — State or region of Address B.
  • addressB_zip (required) — ZIP or postal code of Address B.
  • addressB_countryCode (required) — Country code (ISO 3166-1 alpha-2) for Address B, e.g., US.

Output shape

a single JSON object indicating equality of the two addresses (e.g., { equal: boolean })

The comparison accounts for normalized address components such as state and country codes; addresses with equivalent normalized components are considered equal. Errors during comparison depend on the configured error handling mode.

Examples

Example 1: Compare two street addresses to check if they represent the same location despite differences in formatting or abbreviations

Provide all address components for both Address A and Address B, select authentication mode, then run the compare operation to receive a boolean equality result.

Links

Discussion