Addresses

Validate a single US address (Deprecated)

Changed on

⚠️ Address Validation is moving to a single endpoint. We've combined Domestic and International Address Validation into one Address Validation endpoint. If your connection uses the Domestic scope, switch before October 31, 2026 — after that, calls to this endpoint will return an error. See the migration guide for details.

Deprecated. Use POST /2024-09/addresses/validations with country_alpha2: "US" instead.

Required authorization scope: public.address_validation_domestic:write

Note: This endpoint requires an advanced scope. You can enable advanced scopes when creating or editing your API connection.

Note: Calls to this endpoint count towards your API usage allowance. You can monitor your current usage in the Subscription section of your account.

post/2024-09/addresses/validations_domestic

Request

  • Base URL
    https://public-api.easyship.com
  • URL
    https://public-api.easyship.com/2024-09/addresses/validations_domestic
  • Auth
    HTTP bearer

Request body

company_nameCompanyName (unresolved $ref)
line_1Line1 required(unresolved $ref)
line_2Line2 (unresolved $ref)
stateState (unresolved $ref)
cityCity required(unresolved $ref)
postal_codePostalCode (unresolved $ref)
replace_with_validation_resultReplaceWithValidationResult (unresolved $ref)

Response

success with validated address

Changes

    • breaking

      the request property type changed from no type to string

    • breaking

      the response property / became nullable for the status

    • breaking

      the / response's property type changed from no type to string for status

    • warning

      the request property's max was set to 27.00

    • info

      the request property became nullable