Skip to main content

The MQ Blog

Discover easy ways to improve your business needs using MapQuest’s tools and gain insights into MapQuest use cases for various industries

Now Available: The MapQuest Place Search API

Replacing the legacy Search API, we are excited to announce a new and improved version, titled Place Search API!

The newly available Place Search API, like our Search Ahead API, offers access to our next generation backend spatial search engines and boasts many of the features that users of our Search Ahead API have come to love, like the simplified request parameters, the lightweight response and geographic features expressed using the geoJSON specification.

Here are the most exciting features of the new Place Search API: 

  1. It complements our Search Ahead API: 

    Search Ahead is our predictive search engine, designed for use cases that involve autocomplete or type ahead functionality. Place Search is our traditional spatial search engine, used to answer questions like “find all restaurants within a mile of my current location.” The APIs can be used hand-in-hand to implement a first-class search experience, offering both suggestions as well as more robust spatial search capabilities.

  2. It offers two of the most popular types of spatial searches: 

    Most users of our legacy search services perform searches within a radius or a bounding box, to either show Points of Interest within a distance from a given point or within the extent of a map. Place Search accepts either shape – a circle or a rectangle – as a constraint, but it will also perform searches without specified constraints.

  3. It will parse a single-line query into the ‘what’ and the ‘where’:

    Place Search also offers the ability to perform single-line searches, such as ‘pizza, denver, co’ or ‘starbucks 80401.’ Like Search Ahead, the current location of the user, if provided in the request, will be taken into account when results are ordered and returned.

  4. It offers multiple result sorting methods:

    In addition to ‘as the crow flies’ distance from the center of a radius or a provided location, results can also be sorted by ‘importance’ and ‘relevance.’ Importance takes into account the Points of Interest our users interact with most when scoring results, while ‘relevance’ is a combination of distance from a provided location and importance.

  5. Pagination is easy: 

    Implementing paging is easy; just configure the number of results per page and we’ll generate the URLs to easily access the previous and next page of search results, so applications using Place Search can offer a seamless experience as users navigate between pages of results.

Check out the new Place Search documentation here. And, if you haven’t, make sure to sign up for a free account to get started with Place Search today.

Recent articles

The Best Free Geocoding Services

In today’s data-driven world, the ability to visualize and analyze location-based information has become increasingly crucial for businesses, researchers, and individuals alike. Geocoding, the process of converting addresses, coordinates, or place names into geographic coordinates, is the key to unlocking the power of location data. Fortunately, there are several free geocoding services and APIs available […]

Jenn Chu

Q&A Series: COVID-19 & The Banking and Finance Industry | MapQuest Developer Blog

COVID-19 has had a dramatic impact on nearly every business, regardless of industry or geographic location. With businesses now having to navigate new, unchartered waters, many are searching for reliable and trusted information so that they can make informed decisions. In this Q&A, banking and finance industry expert, Josh Wilkinson of MapQuest for Business, answers five […]

Josh Wilkinson

Q&A Series: COVID-19 & The Healthcare Industry | MapQuest Developer Blog

COVID-19 has had a dramatic impact on nearly every business, regardless of industry or geographic location. With businesses now having to navigate new, unchartered waters, many are searching for reliable and trusted information so that they can make informed decisions on behalf of their companies and customers. In this Q&A, healthcare industry expert, Carol Marcoux of MapQuest for […]

Carol Marcoux