Database Reference
In-Depth Information
Google Geocoding API
You can only use this geocoding API if you're going to display the results on a Google Map ,
which severely limits its usefulness. There's also a default limit of 2,500 requests per day, though
commercial customers get up to 100,000. It doesn't require any key or authentication, and it also
supports “reverse geocoding,” where you supply a latitude and longitude and get back nearby
addresses:
curl "http://maps.googleapis.com/maps/api/geocode/json?\
address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=false"
{ "status": "OK",
"results": [ {
"types": [ "street_address" ],
"formatted_address": "1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA",
"address_components": [ {
"long_name": "1600",
"short_name": "1600",
"types": [ "street_number" ]
}, {
"long_name": "Amphitheatre Pkwy",
"short_name": "Amphitheatre Pkwy",
"types": [ "route" ]
}, {
...
CityGrid
With listings for eighteen million US businesses, this local search engine ofers an API to ind
companies that are near a particular location. You can pass in a general type of business or a
particular name and either latitude/longitude coordinates or a place name. The service ofers a
REST/JSON interface that requires a sign up , and the terms of service and usage requirements
restrict the service to user-facing applications. CityGrid does ofer an unusual ad-driven revenue
sharing option , though, if you meet the criteria:
curl "http://api.citygridmedia.com/content/places/v2/search/where?\
where=94117&what=bakery&format=json&publisher=<publisher>&api_key=<key>"
{"results":{"query_id":null,
...
"locations":[{"id":904051,"featured":false,"name":"Blue Front Cafe",
"address":{"street":"1430 Haight St",
"city":"San Francisco","state":"CA","postal_code":"94117"},
...
Search WWH ::




Custom Search