How to validate the given address using USPS?

前端 未结 4 1056
囚心锁ツ
囚心锁ツ 2021-02-01 23:29

I want to validate the given address (address, city, state, zip) to the USPS and return back the result if the provided address is a valid address. and if it is not the valid ad

4条回答
  •  离开以前
    2021-02-02 00:06

    The United States Postal Service (USPS) does offer this service via their Address Information APIs:

    • USPS: Ecommerce APIs

    Here's a Code Project article/library how you could use this services in .NET:

    • United States Postal Service (USPS) Web Tools Wrapper

    Note

    • Before you can use this library, you will need to get a USPS Web Tools ID by filling out this form.

    • To request the Address Informational APIs (Verify etc.) you need additional permissions. Also fill out this form to apply for these permissions.

提交回复
热议问题