Skip to main content
GET
/
v1
/
locations
/
{location_id}
curl "https://api.v2.dealmachine.com/v1/locations/loc_county_48201" \
  -H "Authorization: Bearer dm_sk_live_xxx"
{
  "data": {
    "location_id": "loc_county_48201",
    "type": "county",
    "code": "48201",
    "name": "Harris County",
    "state": "TX",
    "state_name": "Texas",
    "property_count": 1842305
  }
}
Retrieve a single location by its location_id. Returns the full location object including type, code, name, and property count.

Path Parameters

location_id
string
required
The DealMachine location ID (e.g., "loc_county_48201", "loc_zip_90210", "loc_state_FL").

curl "https://api.v2.dealmachine.com/v1/locations/loc_county_48201" \
  -H "Authorization: Bearer dm_sk_live_xxx"
{
  "data": {
    "location_id": "loc_county_48201",
    "type": "county",
    "code": "48201",
    "name": "Harris County",
    "state": "TX",
    "state_name": "Texas",
    "property_count": 1842305
  }
}

Response Fields

The response contains a single data object. The shape depends on the location type — see List Locations for the full field reference.

Credits

This endpoint does not consume credits. Location lookups are included with your API plan.