Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP / Google Maps API - Easiest method to verify a street address and standardize / prevent duplicates?

What is the easiest way to do this? I've read Google Map API can't legally be used as an address verification service. What are some practical alternatives and/or respected premium/pay-per-request services?

Address Validation API from '09 - Address validation using Google Maps API

like image 564
John Himmelman Avatar asked Oct 03 '11 04:10

John Himmelman


People also ask

How do I verify a street address?

Use www.usps.com to check the ZIP Codes in your list. Process your address list through CASS-certified software. Address List Correction Service. You can submit a printout of your list to the Postal Service and we will mark any changes.

Is UPS address Validation API free?

The UPS address validation API is free to use and enables developers to add UPS address validation to their internal and customer shipping address forms.

How do I create an autocomplete address field in Google Maps API?

First, enable Google Places API Web Service. Get the API key. You will have to use it in the script tag in html file. Use script file to load the autocomplete class.


1 Answers

I'm glad you asked this question.

UPS and USPS both offer free APIs for address verification.

However, USPS requires that you can only use their APIs if you intend on using their shipping service. UPS doesn't appear to have this restriction. The TOS looks fairly boilerplate and you aren't required to use them for shipping (although I'm not a lawyer so idk).

USPS Developer Kit - https://www.usps.com/business/webtools.htm?

UPS eCommerce APIs - https://www.ups.com/upsdeveloperkit?loc=en_US

List of 7 Address Verification Services - http://www.programmableweb.com/news/7-package-tracking-apis-rock/review/2014/08/26

like image 196
John Himmelman Avatar answered Nov 13 '22 20:11

John Himmelman