body locationsarraypeople_ids or protocol filters are provided (max 15). Locations use OR logic — results matching any location are included.body typestringrequiredstate, county, city, zip_code, radius, or polygon.body codestringstate (2-letter abbreviation, e.g., "TX"), county (5-digit FIPS code, e.g., "29189"), city (place ID, e.g., "7333"), and zip_code (5-digit ZIP, e.g., "63101").body latitudenumberradius.body longitudenumberradius.body radius_milesnumberradius.body coordinatesarray[longitude, latitude] pairs defining the boundary. Required for polygon (minimum 3 points).body include_listsobject{ "people_list_ids": [123] }.body exclude_listsobject{ "people_list_ids": [456] }.body exclude_previously_exportedboolean | objectbody filtersarraybody filter_idstringrequiredbody operatorstringallowed_operators. See Filter Values for all operators by type. Optional for BOOLEAN filters — automatically defaults to is_boolean.body valueanyrequiredbody fieldsstring[]person_coordinates once to add separate person_latitude and
person_longitude columns.body property_matchstringowner, resident, renterbody anchorstringdefault: personperson for one row per person (default), phone for
one row per phone number, or email for one row per email address.body require_phonebooleanbody require_emailbooleanbody mobile_onlybooleanlandline_only.body landline_onlybooleanmobile_only.body scrub_dncboolean| Field | Type | Description |
export_id | string | Unique identifier for this export |
record_count | integer | Number of records in the exported CSV |
file_count | integer | Number of files generated (large exports may produce multiple files) |
total_file_size | integer | Total size of all files in bytes |
execution_time | number | Time taken to complete the export in seconds |
download_urls | array | Signed download URLs for the exported files |
credits.used | integer | Total credits consumed by this export |
credits.people | integer | Number of people lead records exported |
download_urlsdownload_urls array contains:| Field | Type | Description |
filename | string | Suggested filename for the download (e.g., people_export_2026-02-17.csv.gz) |
url | string | Signed URL — valid for a limited time. Download promptly after receiving the response. |
size | integer | File size in bytes |
.csv.gz). Most tools (Excel, Google Sheets, Python
pandas) can open .csv.gz files directly. To decompress manually, use gunzip or any archive
tool.export_id in the response with Get Export to retrieve download URLs later, or List Exports to browse past exports.12345678910111213141516171819202122curl -X POST "https://api.v2.dealmachine.com/v1/people/export" \ -H "Authorization: Bearer dm_sk_live_xxx" \ -H "Content-Type: application/json" \ --max-time 120 \ -d '{ "locations": [ { "type": "state", "code": "CA" } ], "filters": [ { "filter_id": "has_phone", "value": true } ], "fields": [ "person_coordinates", "full_name", "phones", "emails" ], "property_match": "owner" }'
123456789101112131415161718{ "export_id": "f1e2d3c4-b5a6-7890-abcd-ef1234567890", "record_count": 8234, "file_count": 1, "total_file_size": 1843200, "execution_time": 28.3, "download_urls": [ { "filename": "people_export_2026-02-17.csv.gz", "url": "https://storage.googleapis.com/...", "size": 1843200 } ], "credits": { "used": 8234, "people": 8234 } }