POST /v1/properties/search -
Search People — POST /v1/people/search| Endpoint | Method | Description |
/v1/properties/search | POST | Search for properties |
/v1/people/search | POST | Search for people/contacts |
12345678910111213141516171819202122{ "locations": [ { "type": "state", "code": "TX" }, { "type": "zip_code", "code": "90210" } ], "filters": [ { "filter_id": "estimated_value", "operator": "range", "value": { "min": 100000, "max": 500000 } }, { "filter_id": "equity_percent", "operator": "greater_than", "value": 40 } ], "fields": ["estimated_value", "equity_percent", "last_sale_date", "owner_name"], "page": 1, "per_page": 25, "sort": [{ "field_id": "estimated_value", "direction": "desc" }] }
| Parameter | Type | Required | Description |
locations | array | Conditional | Array of location objects defining where to search (max 15, OR logic). Required unless filters or Query Builder protocol filters are provided. |
filters | array | Conditional | Array of filter objects. Required unless locations or Query Builder protocol filters are provided. |
fields | string[] | No | Field IDs to include in results. Omit for defaults. |
page | integer | No | Page number (default: 1) |
per_page | integer | No | Results per page (default: 25, max: 250) |
sort | array | No | Sort objects for ordering results |
include_lists | object | No | Restrict results to records in list IDs for the searched entity (property_list_ids, people_list_ids, or company_list_ids). |
exclude_lists | object | No | Exclude records in list IDs for the searched entity. |
exclude_previously_exported | boolean/object | No | Exclude records already exported by your organization. Pass true for the default entity criteria or a full Query Builder object. |
bigquery_data_environment | integer | No | Query Builder dataset environment: 1 production, 2 staging, 3 development. |
1234567891011121314{ "locations": [ { "type": "county", "code": "48201" }, { "type": "zip_code", "code": "78704" } ], "filters": [ { "filter_id": "estimated_value", "operator": "range", "value": { "min": 200000, "max": 600000 } }, { "filter_id": "is_absentee_owner", "value": true } ] }
contains_any or any_of. For geographic OR logic, use multiple locations.organization_id and organization_partition_key from your API key, so most requests only need list IDs or true for export exclusion:1234567{ "locations": [], "include_lists": { "property_list_ids": [123, 456] }, "exclude_lists": { "property_list_ids": [789] }, "exclude_previously_exported": true, "bigquery_data_environment": 3 }
people_list_ids; for property endpoints, use property_list_ids. You may also pass the full exclude_previously_exported object when you need date, source, export type, credit type, or credits_used criteria.fields array to control which data points appear in the response:1{ "fields": ["estimated_value", "equity_percent", "last_sale_date"] }
field_id strings from the List Fields endpoint.fields or pass an empty array to get the default set of fields.anchor: "people" and return only property
address/context fields. See Credit-efficient queries.123456789101112131415161718192021222324252627282930313233343536373839curl -X POST "https://api.v2.dealmachine.com/v1/properties/search" \ -H "Authorization: Bearer dm_sk_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "locations": [ { "type": "county", "code": "48201" }, { "type": "county", "code": "48113" } ], "filters": [ { "filter_id": "property_type_id", "operator": "contains_any", "value": [1] }, { "filter_id": "equity_percent", "operator": "greater_than_or_equal", "value": 40 }, { "filter_id": "is_absentee_owner", "value": true } ], "fields": [ "estimated_value", "equity_percent", "last_sale_date", "owner_name", "bedrooms", "bathrooms", "square_footage" ], "page": 1, "per_page": 25, "sort": [ { "field_id": "estimated_value", "direction": "desc" } ] }'
12345678910111213141516171819202122232425262728293031323334353637383940{ "data": [ { "dm_property_id": "prop_a1b2c3", "address": "1200 Barton Springs Rd", "city": "Austin", "state": "TX", "code": "78704", "estimated_value": 875000, "equity_percent": 72, "last_sale_date": "2015-08-20", "owner_name": "Johnson Family Trust", "bedrooms": 4, "bathrooms": 3, "square_footage": 2800 }, { "dm_property_id": "prop_d4e5f6", "address": "4500 Oak Lawn Ave", "city": "Dallas", "state": "TX", "zip": "75219", "estimated_value": 650000, "equity_percent": 55, "last_sale_date": "2018-03-10", "owner_name": "Robert Chen", "bedrooms": 3, "bathrooms": 2, "square_footage": 2100 } ], "pagination": { "page": 1, "per_page": 25, "total_results": 3412, "total_pages": 137, "has_next_page": true, "has_previous_page": false } }