Locations
List Locations
GET
Search for US locations by name. Use this endpoint to find FIPS codes for counties, look up ZIP codes, or browse states — so you can pass the right
code values to your property and people searches.
Query Parameters
Search query. Matches against location names. Minimum 2 characters.Examples:
"Harris", "Travis County", "Los Angeles", "9021", "FL"Filter results to a specific location type.Options:
county, zip_code, stateWhen omitted, all matching location types are returned.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).Number of results to return per page. Maximum
100.Page number for paginated results.
Response Fields
Location Object
The shape of each location object depends on itstype:
All Types
| Field | Type | Description |
|---|---|---|
location_id | string | Unique DealMachine location identifier (e.g., "loc_county_48201", "loc_zip_90210", "loc_state_FL") |
type | string | Location type: "state", "county", or "zip_code" |
code | string | The code to use in search location objects (state abbreviation, FIPS code, or ZIP code) |
name | string | Human-readable name (e.g., "Harris County", "Florida", "Beverly Hills") |
property_count | integer | Approximate number of properties in this location |
County-specific
| Field | Type | Description |
|---|---|---|
state | string | Two-letter state abbreviation |
state_name | string | Full state name |
ZIP Code-specific
| Field | Type | Description |
|---|---|---|
state | string | Two-letter state abbreviation |
state_name | string | Full state name |
county | string | County name this ZIP code falls within |
fips | string | FIPS code of the parent county |
Pagination
| Field | Type | Description |
|---|---|---|
page | integer | Current page number |
per_page | integer | Results per page |
total_results | integer | Total matching locations |
total_pages | integer | Total number of pages |
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. Searching
"har"will match “Harris County”, “Harrison County”, “Hardeman County”, etc. - 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.