Geoapify Geocoder Autocomplete
The Geoapify Geocoder Autocomplete is a JavaScript / TypeScript library for adding address and place autocomplete to web applications and HTML pages. It helps users find and select location suggestions while improving form usability and map interaction.
Powered by Geoapify’s APIs, the library combines the strengths of:
- Address Autocomplete API — for real-time, high-quality address and place suggestions as the user types.
- Places API — for category-based search and exploring points of interest such as restaurants, cafes, and landmarks.
By integrating both APIs, the library supports intelligent address search, autofill, and category-based place discovery within a single, easy-to-use component. It can be embedded in any modern web app, works without UI frameworks, and is fully compatible with mapping libraries like Leaflet, MapLibre GL, or OpenLayers.

Features
-
Easy to Integrate Add address or place autocomplete to a web page or application. The component renders inside an HTML container and can be connected to an existing UI or map.
-
Fine-Tuning and Control Adjust search behavior with filters and bias parameters — limit results by country, bounding box, circle, or proximity. This flexibility helps return the most relevant and context-aware suggestions for your users.
-
Structured Address Collection Use the library to build structured address input forms and fill city, postal code, and country fields from a selected result. For delivery or other precision-sensitive workflows, let users review and confirm the selected location.
-
Optional Place Details Integration Enhance selected results with detailed information and geometries by connecting to the Geoapify Place Details API. Retrieve building outlines, city boundaries, and additional metadata for improved map visualization.
-
Optional Category Search Extend the autocomplete to support category-based search using the Geoapify Places API. Let users explore nearby points of interest such as restaurants, hotels, or gas stations directly from the dropdown.
-
Customizable Look and Feel Style the autocomplete to match your application’s design. Choose from built-in light and dark themes or override styles using your own CSS classes for complete visual consistency.
-
Zero Dependencies Built with no external dependencies, the library is lightweight, fast, and framework-agnostic. It integrates easily with any modern frontend or map library such as Leaflet, MapLibre GL, or OpenLayers.
Learn more
- API Reference – Explore all available methods, options, and event callbacks.
- Geoapify Geocoding & Autocomplete API Documentation – Detailed API descriptions, parameters, and response formats.
- API Playground – Try the autocomplete interactively and experiment with API parameters.
- JSFiddle Demos – Live examples showing how to integrate the autocomplete with maps and forms.
- Live Demo Collection – Run ready-made demo projects to explore advanced integrations.