US address validation APIs normalize addresses ![]() (API) that verifies postal information automatically. To data on over 160 million US postal delivery points as well as ZIP Code and city information.Īn Address Validation API or verification API is an application programming interface The USPS address validation API gives software developers access Provided by the United States Postal Service. UspsContainer: USPSContainer.flatRateEnvelope,įor(USPSSpecialService uspsSpecialService in response.The USPS API is actually a collection of public address validation API and address lookup APIs UspsServiceType: USPSServiceType.priority, The RateV4 API lets customers calculate the rate for domestic packages and envelopes given the weight andĭomesticRates response = await uspsSdk.domesticRates( USPSAddress response = await uspsSdk.cityStateLookup( USPSAddress response = await uspsSdk.zipCodeLookupAPI(Ĭity/State Lookup API returns the city and state corresponding to the given ZIP Code. The ZipCodeLookup API, which returns the ZIP Code and ZIP Code 4 corresponding to the givenĪddress, city, and state (use USPS state abbreviations). USPSAddress response = await uspsSdk.validate( By eliminating address errors, you will improve overall package delivery service. The Address/Standardization “Verify” API, which corrects errors in street addresses, includingĪbbreviations and missing information, and supplies ZIP Codes and ZIP Codes 4. Getting Started # USPSSdk uspsSdk = USPSSdk(userID: userID) Import library/package: # import 'package:usps_sdk/usps_sdk.dart' \- Complete description of exact issue you are experiencing \- Copy of a sample XML request resulting in the issue or error, pasted into the body of the email If still experiencing problems, our Internet Customer Care Center (()) will investigate only if provided with the following: Contact your third-party software provider.ģ\. Reference our FAQ document for common questions and concerns: Ģ\. If that will not work for you, then you can follow up with (or your local Postmaster or USPS Sales Manager) for additional solutions outside of the Web Tools APIs.ġ\. \- Will do domestic/international/APO/FPO/DPO/US Territoriesįor registration please visit. \- Requires enrollment and new Mailer IDs (MIDs) and permits \- Handles origin entered mail (no destination entry or presort) \- Requires payment via ACH debit daily (no other forms of payment) \- Requires 50 pieces or 50 pounds per mailing Shipping label API access requires eVS setup/enrollment. ![]() ![]() Any additional information from the customer:.API access requested: Package Tracking (API=TrackV2).Provide user name (Web Tools User ID), select “Tracking APIs”, select “Track API” and submit the request with the following information below in the “Additional Information” text box: Users should follow these steps to submit a request for Tracking APIs access: \- Note: This applies to both TrackV2 API simplified track requests (i.e., “TrackRequest”) and TrackV2 API detailed track requests (i.e., “TrackFieldRequest”).Ģ\. To obtain Package Tracking API (API=TrackV2) access, users will need to contact the USPS Web Tools Program Office to request access and supply additional information for customer verification. To obtain these permissions, contact our Internet Customer Care Center (()) and include "Web Tools API Access" in the subject line. USPS Web Tools website: (contains all these resources and more):Īdditional API access and permissions are added separately. Step-by-Step Instructions for All USPS Web Tools (important information when getting started):ĪPI User’s Guides (API specific technical/integration information): The following URL is the production URL you will use to access the Web Tools Servers: ![]() If your software prompts you for URLs to access the USPS APIs, please use the production URL below.ĭevelopers integrating Web Tools into a custom application: Shippers using a third-party shipping software or shopping cart provider: Refer to your software provider for instructions to begin using USPS Web Tools.
0 Comments
Leave a Reply. |