Locations
List Locations
GET
Search for US locations by name. Use this endpoint to find FIPS codes for counties, place IDs for cities, look up ZIP codes, or browse states so you can pass the right
code values to your property and people searches.
For interactive address or city entry, use Autocomplete Addresses. It is bounded to 10 suggestions, skips the count query, and can return both address components and normalized DealMachine locations.
Query Parameters
string
required
Search query. Matches against location names, location codes, state abbreviations, and common place-name abbreviations. Minimum 1 character.Examples:
"Harris", "Travis County", "St. Louis", "saint louis", "9021", "MO", "Missouri"string
Filter results to a specific location type.Options:
county, city, zip_code, stateWhen omitted, all matching location types are returned.string
Filter results to a specific state. Two-letter state abbreviation (e.g.,
"TX", "CA").Useful when searching for common county names that exist in multiple states (e.g., “Washington County” exists in 30 states).integer
default:"25"
Number of results to return per page. Maximum
100.integer
default:"1"
Page number for paginated results.
Response Fields
Location Object
The shape of each location object depends on itstype:
All Types
County-specific
ZIP Code-specific
City-specific
Pagination
Using Results in Searches
Thecode returned for each location is the exact value you pass into a search request’s locations array:
Credits
This endpoint does not consume credits. Location lookups are included with your API plan.Notes
- Search is case-insensitive and matches partial names, codes, state abbreviations, and state names. Searching
"MO"withtype=statereturns Missouri. Searching"har"will match “Harris County”, “Harrison County”, “Hardeman County”, etc. - Common place-name abbreviations are normalized across location types. Searching
"saint louis"and"st louis"returns the same matching city and county names. - Results are ranked by relevance: exact matches appear first, followed by prefix matches, then partial matches.
- The
property_countis an approximate count and is updated periodically. Use Count Properties for precise counts with filters applied. - When the
statequery parameter is used withtype=state, it filters to that specific state. - ZIP codes that span multiple counties return the primary county.