Forward Geocode
Request
Forward Geocoding takes a street address and returns the latitude and longitude for the specified location. Forward Geocoding is a special case of the more general Search API that is supported by Location Studio. Here we’ll give you an example of how to use the Search API to perform a Forward Geocoding function.
GET https://apis.location.studio/geo/v2/search/json
Required Parameters
api_key |
String |
Your Location Studio API Key |
search_center |
String |
search_center is used for a proximity based match to the address. The search will lookup addresses within 100 miles of the search center to find the specified address using a partial match. If the address is further than this distance, greater detail must be specified in the address in order for the search to find the location. |
query |
String |
Street address of the location to return the lat/long for. This can be a full or partial address. |
type |
String |
Must be set to 'address-only' to perform a forward gecode operation. |