data array provides a latitude and longitude pair, and the API returns the property at that location.data array. The response returns every submitted
item with a matched flag indicating whether a property was found./v1/enrichment/latlng still works as an alias but is deprecated.
Please update your code to use /v1/enrichment/reverse-geocode.body dataarrayrequiredbody latitudenumberrequired30.2598).body longitudenumberrequired-97.7544).body fieldsstring[]body contact_audiencestringowners, owners_and_family, renters, residents, nonenone or omit this parameter to return property data without contacts or people data credit charges. Any other value includes a contacts array.data array and a totals object. There is no pagination — all submitted items are returned in a single response.matched is true, the result contains all always-included property fields plus any requested fields.| Field | Type | Description |
input | object | Echo of the original input object |
matched | boolean | true |
dm_property_id | string | DealMachine internal property ID |
full_address | string | Complete formatted address |
address, city, state, zip | string | Parsed address components |
latitude, longitude | number | Property coordinates |
contacts | array | Contacts matching contact_audience. Omitted when the audience is none or not set. |
| requested fields | varies | Any fields specified in fields |
| Field | Type | Description |
input | object | Echo of the original input object |
matched | boolean | false |
match_failure | object | Structured failure with code and reason |
match_failure.code | string | Machine-readable failure code (see Match Failure Codes below) |
match_failure.reason | string | Human-readable explanation of why no match was found |
| Code | Description |
not_found | No matching record exists for the provided input |
invalid_input | The input could not be processed (e.g., invalid address, invalid email, invalid phone number). The reason field provides specifics. |
| Field | Type | Description |
submitted | integer | Number of items in the request data array |
matched | integer | Number of items that matched a property |
unmatched | integer | Number of items that did not match |
none contact_audience adds people data credits for included contacts. Use none for zero people data credits. Only matched results consume credits. Credits are deduplicated within your billing period, so accessing the same entity again is free.credits object with a full breakdown of what was charged. See Credits for details.latitude and longitude are required for each item.input object is always echoed back so you can correlate results with your input data.contact_audience is set to an audience other than none, each matched result includes a contacts array with the same structure and match behavior as Search Properties./v1/enrichment/latlng path is still supported as a deprecated alias.1234567891011121314151617curl -X POST "https://api.v2.dealmachine.com/v1/enrichment/reverse-geocode" \ -H "Authorization: Bearer dm_sk_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "data": [ { "latitude": 30.2598, "longitude": -97.7544 }, { "latitude": 30.2271, "longitude": -97.7437 } ], "fields": ["estimated_value", "estimated_equity_percentage", "num_bedrooms", "full_name", "phones"], "contact_audience": "owners" }'
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ "data": [ { "input": { "latitude": 30.2598, "longitude": -97.7544 }, "matched": true, "dm_property_id": "prop_a1b2c3", "full_address": "1200 Barton Springs Rd, Austin, TX 78704", "address": "1200 Barton Springs Rd", "city": "Austin", "state": "TX", "zip": "78704", "latitude": 30.2598, "longitude": -97.7544, "estimated_value": 575000, "contacts": [ { "dm_person_id": "per_x1y2z3", "full_name": "John Smith", "phones": [{ "number": "5125551234", "type": "wireless", "do_not_call": false }] } ] }, { "input": { "latitude": 30.2271, "longitude": -97.7437 }, "matched": false, "match_failure": { "code": "not_found", "reason": "No property found at the provided coordinates" } } ], "totals": { "submitted": 2, "matched": 1, "unmatched": 1 }, "credits": { "used": 1, "properties": 1, "people": 0, "deduplicated": 0 } }