title: Partial Address Search / Typeahead
body: <p>We have an address field we want to provide typeahead for. It sits behind a login, although if we needed to we could get crafty and make that one page public for licensing compliance.</p>
  
  <p>The Google Maps API is getting locked down. We used to use the "reverse geocode" portion of it to perform partial address search / typeahead for addresses - so for example if the user typed:</p>
  
  <p>1600 Penn</p>
  
  <p>I could hit the service and get back several suggestions, like:</p>
  
  <p>1600 Pennsylvania Avenue, Washington, DC</p>
  
  <p>There are several other partial address searches out there I've come across but they each have problems.</p>
  
  <p>Google: $10000/yr minimum for just 7500 requests/day - ridiculous</p>
  
  <p>Yahoo: Shutdown this year</p>
  
  <p>Bing: Requires the page to be public / not behind login. This isn't a hard stop for us, but it would be a challenging redesign of how the page works.</p>
  
  <p>Mapquest OpenStreetMap API: Searches for the exact string rather than a leading string - so it returns Penn Station instead of 1600 Pennsylvania Ave.</p>
  
  <p>Mapquest OpenStreetMap data: We could download all of this and implement our own, but the CPU and data requirements would likely be too much to bite off for the time being.</p>
  
  <p>We're fine with paying for usage, we'd just seek a solution closer to Amazon's $0.01/10000 requests than Google's.</p>