Batch Geocoder API Developer's Guide

Geocoordinates for Multiple Addresses

To request the corresponding geocoordinates for a list of complete addresses, you need to follow three steps:
  • upload your data
  • wait until the geocoding process is done, alternatively check the job status
  • download the results

This quick start only shows the first step in this process. For examples of the other steps, see Get Job Status and Get Job Results.

To upload the data, send the following POST request.
https://batch.geocoder.api.here.com/6.2/jobs
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&mailto=<your_email_address>
&outdelim=|
&outcols=displayLatitude,displayLongitude,locationLabel,
  houseNumber,street,district,city,postalCode,county,
  state,country
&outputcombined=false
POST body
recId|searchText|country
0001|Invalidenstraße 116 10115 Berlin|DEU
0002|Am Kronberger Hang 8 65824 Schwalbach|DEU
0003|425 W Randolph St Chicago IL 60606|USA
0004|One Main Street Cambridge MA 02142|USA
0005|200 S Mathilda Ave Sunnyvale CA 94086|USA

The response to the above request includes the following high level elements:

  • RequestId that identifies the job created for the request which you can use to track the job progress and to request the results when the job is complete
  • metadata about the request
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:SearchBatch xmlns:ns2="http://www.navteq.com/lbsp/Search-Batch/1">
  <Response>
    <MetaInfo>
      <RequestId>qr9jVjuoFe1mULUvBlXr7UK4dM8BpAkO</RequestId>
    </MetaInfo>
    <Status>submitted</Status>
    <TotalCount>0</TotalCount>
    <ValidCount>0</ValidCount>
    <InvalidCount>0</InvalidCount>
    <ProcessedCount>0</ProcessedCount>
    <PendingCount>0</PendingCount>
    <SuccessCount>0</SuccessCount>
    <ErrorCount>0</ErrorCount>
    </Response>
</ns2:SearchBatch>