Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Get Location

Retrieve a single location by its location_id. Returns the full location object including type, code, name, and property count.

Path Parameters

path location_idstringrequired
The DealMachine location ID (e.g., "loc_county_48201", "loc_city_48106", "loc_zip_code_90210", "loc_state_FL").

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.
Request example
curl "https://api.v2.dealmachine.com/v1/locations/loc_county_48201" \ -H "Authorization: Bearer dm_sk_live_xxx"
Response example
{ "data": { "location_id": "loc_county_48201", "type": "county", "code": "48201", "name": "Harris County", "state": "TX", "state_name": "Texas", "property_count": 1842305 } }