LiveAddress API jQuery Plugin

Verify and standardize addresses on website forms

Demo

Click to try samples:   Autocomplete   •   Valid / Ambiguous / Invalid addresses   •   Freeform

Instructions

  1. Add jQuery to your page if you don't already have it. This plugin requires jQuery 1.5.1 or higher. Copy & paste this line into your HTML to add jQuery:   Or download it <script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
  2. Copy & paste these lines into your HTML:   Or get code for testing / debugging <script src="//d79i1fxsrar4t.cloudfront.net/jquery.liveaddress/2.4/jquery.liveaddress.min.js"></script> <script>jQuery.LiveAddress("HtmlKey");</script> <script src="//d79i1fxsrar4t.cloudfront.net/jquery.liveaddress/2.4/jquery.liveaddress.js"></script> <script> jQuery.LiveAddress({ key: "HtmlKey", debug: true }); </script>
  3. Replace HtmlKey with an HTML key from your account. Then test to make sure it works.


Optional: Configure the plugin »         Troubleshooting tips »

You may have to configure the plugin if it doesn't work automatically for you.


Help & Disclaimer

Because this project is open-sourced on GitHub and we are not a team of contract programmers, SmartyStreets is unable to offer technical support with implementing this script into projects. Most of the time, this script works right away. We realize that sometimes it doesn't, so we do our best to maintain thorough documentation and have some common customizations to help you as much as possible. By using this script, you understand and agree to the terms on this site and those described in the official GitHub repository.