Skip to main content

Command Reference

Authentication

dm login

Authenticate with your DealMachine account using the device authorization flow.

dm logout

Remove stored credentials.

dm whoami

Show current authentication status.

Account

dm account

Show account information from the API.

dm usage

Show credit usage for the current billing period.

Agents

dm agents

Print concise guidance for agents using the CLI.
Use this as the first command when an agent has access to dm but has not loaded the DealMachine Playbook.

dm agents guide

Print the concise agent guide explicitly.
The guide tells agents to use JSON output, quiet mode, live filter and field discovery, free counts before searches, and credit confirmation before fetching records or exporting.

dm agents playbook

Print the bundled DealMachine Playbook Markdown for property intelligence workflows.
Agents should load this before translating natural language property, people, contact, enrichment, list, export, comps, or credit-usage requests into CLI commands.

Properties

Search for properties with filters.

dm properties count

Count properties matching filters (no credits consumed).

dm properties get <id>

Get a single property by ID.
Use --contact-audience none when you only need property data. This omits contacts and avoids people credits.

dm properties ids [ids...]

Get multiple properties by IDs.

People

Search for people/contacts with filters.

dm people count

Count people matching filters (no credits consumed).

dm people get <id>

Get a single person by ID.

dm people ids [ids...]

Get multiple people by IDs.

Enrichment

dm enrich address [address]

Enrich a property by street address.

dm enrich latlng [coords]

Enrich a property by latitude/longitude.
Coordinates are passed as a single comma-separated string: lat,lng

dm enrich apn [apn]

Enrich a property by Assessor’s Parcel Number.
For APNs that require a FIPS code, use --body to pass the full request: dm enrich apn --body '{"apns":[{"apn":"12345678","fips":"48453"}]}'

dm enrich email [email]

Enrich by email address.

dm enrich phone [phone]

Enrich by phone number.

dm enrich name [name]

Enrich by person name.
Email, phone, and name enrichment include property_count for each matched person at no extra cost. Phone types in JSON output use wireless, landline, voip, or unknown. For name enrichment, combine --estimate-cost with --include-properties to include associated property totals and page-aware property credits in the free estimate.

Discovery

dm filters

List available search filters.

dm fields

List available data fields.

dm locations

Search and look up US locations, including states, counties, cities, and ZIP codes.
dm locations autocomplete remains available as a deprecated alias for dm addresses autocomplete.

Activity

Search your API activity/history.

dm activity get <id>

Get a specific activity record by ID.

Addresses

dm addresses autocomplete <query>

Return free, bounded address and normalized location suggestions.
Autocomplete is discovery-only. It does not request fields, perform enrichment, or consume data credits.

dm addresses validate [address]

Validate and standardize addresses via USPS.

Configuration

dm config get [key]

Get a configuration value, or all values if no key specified.

dm config set <key> <value>

Set a configuration value.

dm config path

Show the config file path.

Global Options