Focused autocomplete
Prioritize administrative places that belong in application records: cities, administrative areas, and countries.
Location autocomplete API
PlaceField returns structured city, region, and country suggestions for backend services, apps, and production forms. Use it when your application needs clean place lookup or place-level geocoding, not address autocomplete, POI search, routing, or map UI.
Prioritize administrative places that belong in application records: cities, administrative areas, and countries.
Store stable IDs, place type, display label, hierarchy, country, and coordinates without parsing a broad maps result.
Use server keys for backend calls or public browser keys with exact allowed origins for frontend integrations.
General place search APIs are built for many jobs at once. PlaceField is deliberately narrower, so application records and form results stay relevant and easier to store.
Good fits include backend normalization, signup forms, profile location fields, marketplace listings, directories, communities, CRMs, and privacy-friendly city-level workflows. If you are still choosing what kind of field to collect, start with the location autocomplete decision guide. Browse runnable API and widget samples in the PlaceField examples repo.
GET https://api.placefield.dev/v1/locations/autocomplete?q=paris&geoBias=none
Authorization: Bearer pf_live_xxx
Autocomplete results include fields your application can keep: stable location IDs, type, name, label, country, parent hierarchy, and coordinates where available.
Keep a PlaceField ID instead of storing only free text from an autocomplete input.
Bias ranking by explicit country, restrict results with country allowlists, or prefer requester-country and nearby results when no country is supplied.
Keep businesses, venues, street names, and address fragments out of city and country fields.
Call the API directly or choose Basic JS and Full Widget integrations when you want browser UI.
If your workflow only needs a city-level location, PlaceField can keep the result focused while still returning country, hierarchy, and coordinates.
View city-level formsPlaceField covers the narrow geocoding-style case where a product needs a city, region, country, stable ID, and coordinates from a place search. It is not a full address or reverse geocoding API.
View city geocoding use caseUse the guide to decide whether your workflow needs a broad city, region, and country field or a complete street address.
Read the guideShare the application workflow you are building and whether the API will run from your backend, browser, or both.