Export List
curl --request POST \
--url https://api.v2.dealmachine.com/v1/lists/{list_id}/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fields": [
{}
],
"anchor": "<string>"
}
'import requests
url = "https://api.v2.dealmachine.com/v1/lists/{list_id}/export"
payload = {
"fields": [{}],
"anchor": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({fields: [{}], anchor: '<string>'})
};
fetch('https://api.v2.dealmachine.com/v1/lists/{list_id}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.v2.dealmachine.com/v1/lists/{list_id}/export",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'fields' => [
[
]
],
'anchor' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.v2.dealmachine.com/v1/lists/{list_id}/export"
payload := strings.NewReader("{\n \"fields\": [\n {}\n ],\n \"anchor\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.v2.dealmachine.com/v1/lists/{list_id}/export")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"fields\": [\n {}\n ],\n \"anchor\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.v2.dealmachine.com/v1/lists/{list_id}/export")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"fields\": [\n {}\n ],\n \"anchor\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"export_id": "exp-789",
"status": "completed",
"record_count": 45230,
"download_urls": [
{
"filename": "list_export_2026-02-18.csv.gz",
"url": "https://storage.googleapis.com/...",
"size": 12345678
}
]
}
}
{
"error": {
"code": "list_not_ready",
"message": "List is still building (72% complete). Try again shortly.",
"details": {
"status": "building",
"progress": 72
}
}
}
{
"error": {
"code": "not_found",
"message": "No list found with ID abc-123"
}
}
Lists
Export List
Export all items from a completed list
POST
/
v1
/
lists
/
{list_id}
/
export
Export List
curl --request POST \
--url https://api.v2.dealmachine.com/v1/lists/{list_id}/export \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"fields": [
{}
],
"anchor": "<string>"
}
'import requests
url = "https://api.v2.dealmachine.com/v1/lists/{list_id}/export"
payload = {
"fields": [{}],
"anchor": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({fields: [{}], anchor: '<string>'})
};
fetch('https://api.v2.dealmachine.com/v1/lists/{list_id}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.v2.dealmachine.com/v1/lists/{list_id}/export",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'fields' => [
[
]
],
'anchor' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.v2.dealmachine.com/v1/lists/{list_id}/export"
payload := strings.NewReader("{\n \"fields\": [\n {}\n ],\n \"anchor\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.v2.dealmachine.com/v1/lists/{list_id}/export")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"fields\": [\n {}\n ],\n \"anchor\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.v2.dealmachine.com/v1/lists/{list_id}/export")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"fields\": [\n {}\n ],\n \"anchor\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"data": {
"export_id": "exp-789",
"status": "completed",
"record_count": 45230,
"download_urls": [
{
"filename": "list_export_2026-02-18.csv.gz",
"url": "https://storage.googleapis.com/...",
"size": 12345678
}
]
}
}
{
"error": {
"code": "list_not_ready",
"message": "List is still building (72% complete). Try again shortly.",
"details": {
"status": "building",
"progress": 72
}
}
}
{
"error": {
"code": "not_found",
"message": "No list found with ID abc-123"
}
}
Export all items from a completed list. The list must have status
"completed" before exporting. Credits are charged by list/search family: property lists charge per property lead even if exported as people, and people lists charge per people lead.
string
required
The list ID to export.
array
Data fields to include in the export. If not provided, defaults to address fields.
string
default:"property"
Result anchor type:
property or person. Property exports can include contacts that consume
people credits; person exports charge per distinct contact.{
"data": {
"export_id": "exp-789",
"status": "completed",
"record_count": 45230,
"download_urls": [
{
"filename": "list_export_2026-02-18.csv.gz",
"url": "https://storage.googleapis.com/...",
"size": 12345678
}
]
}
}
{
"error": {
"code": "list_not_ready",
"message": "List is still building (72% complete). Try again shortly.",
"details": {
"status": "building",
"progress": 72
}
}
}
{
"error": {
"code": "not_found",
"message": "No list found with ID abc-123"
}
}
⌘I