<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/GeocoderResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Interface",
  "symbol" : {
    "kind" : "Interface",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "struct/mapkit.GeocoderResponse"
  },
  "title" : "GeocoderResponse"
}
-->

# GeocoderResponse

The response from a geocoder lookup or reverse lookup.

```
interface GeocoderResponse
```

## Overview

The `data` parameter of the [`lookup(place, options)`](/documentation/MapKitJS/Geocoder/lookup) or [`reverseLookup(coordinate, options)`](/documentation/MapKitJS/Geocoder/reverseLookup) callback function contains the geocoder response. MapKit JS parses the `data` object from the geocoder JSON response, which contains an array of [`Place`](/documentation/MapKitJS/Place) objects.

If there’s no response, [`results`](/documentation/MapKitJS/GeocoderResponse/results) is an empty array.

## Topics

### Response

[`results: Place[];`](/documentation/MapKitJS/GeocoderResponse/results)

An array of places that returns from a geocoder lookup or reverse lookup.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)