New Search Box API powers all-in-one location search for any application

Add interactive location search to any application with the new Mapbox Search Box API and put millions of places and addresses at your users' fingertips.

Guest

No items found.

Guest

April 19, 2023

New Search Box API powers all-in-one location search for any application

Add interactive location search to any application with the new Mapbox Search Box API and put millions of places and addresses at your users' fingertips.

Guest

No items found.

Guest

April 19, 2023

The new Mapbox search service, Search Box API, is the easiest way to add interactive location search to connected cars, micro-mobility services, delivery apps, and more. The Search Box API puts hundreds of millions of global places and addresses at your users' fingertips.

Ensure a fast, intuitive location search experience for users

The Mapbox Search Box API improves one of the most common user interactions with any location-based feature: Finding a location on a map. Whether it’s looking for the nearest coffee shop, navigating to a pick-up address, or finding a gas station along a route, map users need a comprehensive, fast, and consistent search experience. And developers want location search technology that is straightforward to implement and easy to maintain, without the hassle of dealing with ever-changing and complex location data. The new Mapbox Search Box API improves the search experience for both developers and end-users. 

Already, Mapbox customers Toyota, General Motors, ANWB, and Straightaway are building with the Search Box API to enhance the navigation experience for connected vehicles and companion apps for drivers and deliveries.

"The Mapbox Search Box API helped us to improve the search feature in the ANWB Onderweg driver app. Now our members can search all of Mapbox data for place names, addresses, and points of interest to prepare their route, and at the same time we can add our own custom data to further enhance the driver experience."
- Franklin Snellink, Software Engineer, ANWB

Search Box adds top requested capabilities to Mapbox search

The Mapbox Geocoding API has long been used by developers to turn addresses to coordinates and coordinates to addresses. With the Search Box API, developers can easily create an autocomplete search experience that makes it easier for users to find not only addresses, but also points of interest (POIs), categories of POIs, street names, neighborhoods, localities, place names, districts, postcodes, regions, and countries. The Search Box API makes it possible to search for a specific restaurant down the street, an address in another country, or browse entire categories of results, like coffee shops, hotels, and bookstores.

Search suggestions allow the user to choose from specific businesses, or select a category result to display multiple options on the map.

The Search Box API accounts for the user’s intent and ranks results accordingly; for example, when it appears that a user is searching for the POI category of “café” and not a specific cafe, the API will return first the option to search for all cafés nearby and then list other relevant nearby results. Search Box API offers location biasing and fuzzy search that work together to create a more engaging and relevant search experience. The ranking and suggestion algorithms improve continuously as map users interact with the Mapbox search service every day.

Search Box also allows users to search for results in relation to a planned route with the Search Along Route feature, which recommends results based on proximity to a travel path. Developers can use Mapbox Directions API to retrieve the preview geometry for a route and pass this information to Search Box API to prioritize results closest to the planned route.

Mapbox data powers a reliable and easy-to-implement search experience

The Search Box API serves over 340 million addresses and 170 million POIs on a global scale. Mapbox data processing infrastructure supports reliable results powered by a continuously improving dataset that combines multiple sources, daily reviews and updates by Mapbox data quality experts, and enhancements based on user feedback. 

Any website or application can now integrate the Search Box API to create a custom location search. By design, the Search Box API simplifies the developer experience, integrating seamlessly with map and navigation features to return detailed and relevant location results directly from Mapbox.

To get started with the Search Box API, visit our new product page and documentation. Mapbox has also built SDKs, libraries, and drop-in UI components to simplify integrating Search Box API functionality into your application.  

Developers can test the various Search Box API parameters and inspect API requests and responses with our interactive playground here.

Heading 1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Heading 2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Heading 3

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Heading 4

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Heading 5

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

response = requests.get(

  "https://api.mapbox.com/v4/mapbox.temperature-raster-tileset/tilequery/40,-105.json",

    params={

        "layers": "temperature,wind_speed",

        "bands": "1708304400,1708311600",

    },

Optional caption
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque euismod maximus porta. Pellentesque vitae augue elit. Nam semper eros leo, nec hendrerit nunc aliquet quis. Morbi ac sapien tortor. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Curabitur porta imperdiet lorem, ut aliquet orci pellentesque quis. Donec magna augue, molestie aliquam enim eu, auctor feugiat metus."

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

No items found.
No items found.

Related articles