---
title: Search
framework: mapkitjs
role: symbol
role_heading: Class
path: mapkitjs/search
---

# Search

An object that retrieves map-based search results for a user-entered query.

## Declaration

```data
class Search extends Service
```

## Mentioned in

MapKit JS 5

## Overview

Overview The search service lets you populate a map with results from a user-entered query, including information about businesses and other points of interest. MapKit JS handles this through a search object that makes network requests to the search service. Supplying search context creates the most relevant results for a query. Context can include the user’s location, or a coordinate or region that you provide. To use the search service, create an instance of a search object with the desired options. Use the search object to make search requests.

## Topics

### Creating a search

- [new Search(options)](mapkitjs/search/searchconstructor.md)
- [SearchConstructorOptions](mapkitjs/searchconstructoroptions.md)

### Performing a search

- [search(query, options)](mapkitjs/search/search.md)
- [SearchDelegate](mapkitjs/searchdelegate.md)
- [SearchOptions](mapkitjs/searchoptions.md)
- [SearchResponse](mapkitjs/searchresponse.md)

### Performing a search autocomplete

- [autocomplete(query, options)](mapkitjs/search/autocomplete.md)
- [SearchAutocompleteOptions](mapkitjs/searchautocompleteoptions.md)
- [SearchAutocompleteResponse](mapkitjs/searchautocompleteresponse.md)
- [SearchAutocompleteResult](mapkitjs/searchautocompleteresult.md)

### Filtering a search

- [AddressFilter](mapkitjs/addressfilter.md)

### Deprecated

- [autocomplete(query, callback, options)](mapkitjs/search/autocomplete1.md)
- [cancel(promise)](mapkitjs/service/cancel.md)
- [RegionPriority](mapkitjs/search/regionpriority-data.var.md)
- [search(query, callback, options)](mapkitjs/search/search1.md)

### Instance Properties

- [addressFilter](mapkitjs/search/addressfilter.md)
- [coordinate](mapkitjs/search/coordinate.md)
- [includeAddresses](mapkitjs/search/includeaddresses.md)
- [includePhysicalFeatures](mapkitjs/search/includephysicalfeatures.md)
- [includePointsOfInterest](mapkitjs/search/includepointsofinterest.md)
- [includeQueries](mapkitjs/search/includequeries.md)
- [limitToCountries](mapkitjs/search/limittocountries.md)
- [pointOfInterestFilter](mapkitjs/search/pointofinterestfilter.md)
- [region](mapkitjs/search/region.md)
- [regionPriority](mapkitjs/search/regionpriority-data.property.md)

## Relationships

### Inherits From

- [Service](mapkitjs/service.md)

## See Also

### Search

- [AddressFilter](mapkitjs/addressfilter.md)
