title: Using Google Maps API to determine Longitude/Latitude for an address
body: <p>I have a script which uses Google Maps to determine Longitude/Latitude for a list of 3000+ addresses. It was written several years ago, and appears to no longer work. It sends requests to a URL similar to this one (using a Key I had registered):</p>
  
  <p><a href="http://maps.google.com/maps/geo?output=xml&amp;key=123456" rel="nofollow">http://maps.google.com/maps/geo?output=xml&amp;key=123456</a></p>
  
  <p>When I load the URL in my browser, I get a message "We're sorry but your computer or network may be sending automated queries. To protect our users, we can't process your request right now."</p>
  
  <p>I think maybe that API is outdated. Digging around, I found this API which I believe is more current:</p>
  
  <p><a href="https://maps.googleapis.com/maps/api/geocode/xml?sensor=true&amp;key=123456&amp;address=address+goes+here" rel="nofollow">https://maps.googleapis.com/maps/api/geocode/xml?sensor=true&amp;key=123456&amp;address=address+goes+here</a></p>
  
  <p>When I plug in my Key I get a message "Request Denied. The provided API key is invalid."</p>
  
  <p>So maybe I just need a new Key? I am not entirely sure that what I am trying to do requires a Key at all, but if it does, I don't know which API to register.</p>
  
  <p>I logged into Google, then created a new API Project. I need to add Services to my Project. There are a list of Services related to maps, here are a couple I was looking at:</p>
  
  <p>Google Maps Coordinate API
  Courtesy limit: 1,000 requests/day</p>
  
  <p>Google Maps Geolocation API
  Courtesy limit: 0 requests/day • Pricing</p>
  
  <p>Google Maps JavaScript API v3
  Courtesy limit: 25,000 requests/day • Pricing</p>
  
  <p>If all I want to do is retrieve Longitude/Latitude, what is my best option?</p>
  
  <p>Would appreciate any assistance navigating the Google maze of APIs. Thank you!</p>