Autocomplete Locations
Autocomplete
Autocomplete Locations
Search and retrieve location suggestions for geographic filtering of leads and companies
GET
Autocomplete Locations
Provides autocomplete suggestions for location-based filters used in lead and company search. This endpoint powers the autocomplete functionality in location filter dropdowns, helping users discover valid geographic locations including cities, states, and countries.
Authentication
This endpoint requires authentication. The user must be signed in to access autocomplete data.This endpoint proxies requests to the locations search API. Results are cached
for 7 days to improve performance.
Request
Search query to filter locations. Returns locations that match this text (city
name, country name, or raw address).
Number of results to return per page.
Zero-based page number for pagination.
Response
Returns a paginated list of location items matching the search criteria.Array of location items matching the query.
Total number of matching locations across all pages.
Total number of pages available.
Number of items per page.
Current page number (zero-based).
Whether this is the first page.
Whether this is the last page.
Whether the result set is empty.
Number of elements in the current page.
Response Examples
Usage Examples
Search for cities starting with “San”
Search for locations in Germany
Paginate through results
Get default locations (no search filter)
Notes
- Results are cached for 7 days to improve performance. The cache is shared across all users.
- Use the
searchparameter for type-ahead/autocomplete functionality - it filters results that match the search text against city names, country names, and raw addresses. - The
positionfield contains geographic coordinates that can be used for map displays or distance calculations. - All parameters are optional. If no
searchis provided, the endpoint returns a default set of popular locations.