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

# SearchResponse

The result of a search, including the original search query, the bounding region, and a list of places that match the query.

```
interface SearchResponse
```

## Overview

The search callback function provides the search response in its data parameter. An object parsed from server-returned JSON, `data` contains a [`query`](/documentation/MapKitJS/SearchResponse/query) and a [`boundingRegion`](/documentation/MapKitJS/SearchResponse/boundingRegion).

## Topics

### Search response

[`places: Place[];`](/documentation/MapKitJS/SearchResponse/places)

A list of places that match the search query.

[`query: string | SearchAutocompleteResult | null;`](/documentation/MapKitJS/SearchResponse/query)

The query string for performing the search.

[`boundingRegion: CoordinateRegion | null;`](/documentation/MapKitJS/SearchResponse/boundingRegion)

The region that encloses the places from the search results.



---

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)