How does it work?
High-quality data + high-performance delivery
PlacesAPI works like your own pre-populated Algolia account. Within the limits of your API keys you can use our Algolia indexes as though they were your own, integrating with any of Algolia's tools and libraries that work best for you.
For back-end location search and reverse geocoding you can use any of Algolia's well supported API clients which are available for PHP, Ruby, Python, Java, Go and others. We also provide a REST API of our own.
Instant location autocomplete
Whether you need a simple town lookup, complex multi-source searches connected to InstantSearch or reverse geocoding for your back-end, we've got you covered.
Our search index covers multiple countries and contains many useful fields including full latitude & longitude coordinates, zip / postal codes, elevation and more.
Flexible & scalable
PlacesAPI is built on Algolia which provides exceptional performance and scalability. Algolia front-end components with our high-quality data is a powerful combination.
Search around a point
Optionally rank results by distance from a single lat/long coordinate. This is useful for sorting results closest to a user or showing nearby places. You can even control the search radius.
Combine our search index with your own data to provide unique combined search experiences. Especially useful for multi-location businesses such as restaurants and hotels.
Quickly add a custom location widget to your InstantSearch integration with support for ranking by (and displaying) distance, limiting the search radius in miles or km, and more.
Useful examples to get you started
We've created a set of CodePen demos for you to quickly add to your projects. They cover the most frequent use cases, from simple town lookups to multiple data sources and custom widgets for Algolia InstantSearch.