Skip to content

GET Async Batch Job Results enterprise only ​

Note

This is a synchronous call that streams CSV result data with chunked transfer-encoding.

The batch job results service allows you to retrieve the geocoded results for a completed batch job. Results are returned as CSV data with detailed location information for each processed record.

Resource URL ​

https://www.mapquestapi.com/geocoding/v1/batch/jobs/{jobId}/results

Resource Information ​

Response FormatsCSV
AuthenticationYes (Requires Key)
Rate LimitedYes

Request Parameters ​

Request ParameterDescriptionRequired
keyThe API Key, which is needed to make requests to MapQuest services.Yes

Note: The jobId is specified in the URL path, not as a query parameter.

Response Format ​

The response is returned as:

  • Content-Type: text/plain
  • Transfer-Encoding: chunked
  • Format: CSV with pipe (|) delimited fields

CSV Field Descriptions ​

FieldTypeDescription
recIdstringRecord identifier (matches input recId or auto-generated)
seqNumbernumberSequence number of the result
seqLengthnumberTotal length of the sequence
positionstringLatitude and longitude coordinates in format (lat,lng)
addressstringFormatted address string
titlestringDisplay title for the location
timezonestringIANA time zone identifier for the location, e.g. America/Denver, if available. Only present when the job was created with includeTimezone=true; empty when time zone data is unavailable for the record
timezoneOffsetstringThe location's current offset from UTC in ±HH:MM format, accounting for daylight saving time at the time the job ran, if available. Only present when the job was created with includeTimezone=true; empty when time zone data is unavailable for the record

Example Request ​

bash
curl -X GET "https://www.mapquestapi.com/geocoding/v1/batch/jobs/abc123-def456-ghi789/results?key=YOUR_API_KEY"

Example Response ​

The response is a CSV stream with the following format:

csv
recId|seqNumber|seqLength|position|address|title
1|1|1|(39.74001,-104.99202)|Denver, CO, United States|Denver, CO, United States
2|1|1|(40.01574,-105.27924)|Boulder, CO, United States|Boulder, CO, United States
3|1|1|(39.19002,-106.81818)|Aspen, CO, United States|Aspen, CO, United States

When the job was created with includeTimezone=true, two additional columns are appended. The columns are present on every row, and are empty for any record where time zone data is unavailable:

csv
recId|seqNumber|seqLength|position|address|title|timezone|timezoneOffset
1|1|1|(39.74001,-104.99202)|Denver, CO, United States|Denver, CO, United States|America/Denver|-06:00
2|1|1|(40.01574,-105.27924)|Boulder, CO, United States|Boulder, CO, United States|America/Denver|-06:00
3|1|1|(39.19002,-106.81818)|Aspen, CO, United States|Aspen, CO, United States|America/Denver|-06:00

Important Notes ​

  • Blocking Call: This is a synchronous request that returns immediately with results
  • Authentication: Same API key as other endpoints, passed as query parameter
  • Job ID: The job ID is passed in the URL path, not as a query parameter
  • Job Status: Results are only available when the job status is completed
  • Streaming Response: Results are streamed with chunked transfer-encoding for large datasets
  • CSV Format: Results are returned as pipe-delimited CSV data
  • Time Zone Columns: The timezone and timezoneOffset columns are only present when the job was created with includeTimezone=true. If unavailable for a record, these columns are left empty
  • Content-Type: Response uses text/plain content type
  • Error Handling: If the job failed or is still processing, this endpoint will return an error