Method: getNeighborhoodsByAddress
This method first geocodes the input address, then returns the geocode and lists
neighborhoods containing the point in a single response. This is technically
executed in a single request, but for the purposes of account administration a
single invocation is counted as two calls.
Note this demo returns a maximum of 10 results per query.
Example
Free API query:
Premium API query:
Displaying 1 of 1.
| id |
name |
city |
state |
country |
| 14382992 |
South of Market |
San Francisco |
CA |
USA |
{"geocode": {"GEFID": "28470269", "SourceId": "navt", "LatLng": {"Lat": "37.777583", "Lng": "-122.397481"}, "AdminArea1": "US", "AdminArea3": "CA", "AdminArea4": "San Francisco County", "AdminArea5": "San Francisco", "PostalCode": "94107-5500", "ResultCode": "L1AAA", "Street": "542 Brannan St"}, "neighborhoods": [
{"city": "San Francisco", "state": "CA", "country": "USA", "id": 14382992, "name": "South of Market"}
]}
<?xml version="1.0" ?>
<result>
<geocode>
<GEFID>
28470269
</GEFID>
<SourceId>
navt
</SourceId>
<LatLng>
<Lat>
37.777583
</Lat>
<Lng>
-122.397481
</Lng>
</LatLng>
<AdminArea1>
US
</AdminArea1>
<AdminArea3>
CA
</AdminArea3>
<AdminArea4>
San Francisco County
</AdminArea4>
<AdminArea5>
San Francisco
</AdminArea5>
<PostalCode>
94107-5500
</PostalCode>
<ResultCode>
L1AAA
</ResultCode>
<Street>
542 Brannan St
</Street>
</geocode>
<neighborhoods>
<neighborhood>
<city>
San Francisco
</city>
<state>
CA
</state>
<country>
USA
</country>
<id>
14382992
</id>
<name>
South of Market
</name>
</neighborhood>
</neighborhoods>
</result>