About the Realie CLI
The Realie CLI lets you access property data, manage API keys, and monitor usage directly from the terminal. It’s designed for both interactive use and autonomous operation by AI coding agents like Claude Code, Cursor, and Copilot. Every command outputs human-readable text by default, with a--json flag for machine-parseable output.
Install
- Shell (recommended)
- npm
- npx (no install)
~/.realie/bin/ and adds it to your PATH. Requires Node.js 18+.Quick Start
1
Authenticate
Run This opens
realie login to open your browser and sign in:app.realie.ai in your browser. Sign in with your Realie account, confirm the code shown in the terminal, and you’re authenticated.For CI/CD or AI agents, pass an API key directly:2
Look up a property
3
Check your usage
Commands
Authentication
Property Data
Account Management
Utilities
JSON Mode
Add--json to any command for machine-readable output. This is what AI agents and scripts should use.
apiCalls and apiTokens are retained for backward compatibility. Their values use the account’s shared request and token totals.
API Parameter Parity
The API-backed property commands mirror their corresponding endpoint query parameters using kebab-case CLI flags.realie lookupmirrors/api/public/property/addressrealie searchmirrors/api/public/property/searchrealie parcelmirrors/api/public/property/parcelIdrealie locationmirrors/api/public/property/locationrealie comparablesmirrors/api/public/premium/comparables
Configuration
Config is stored at~/.realie/config.json:
You can also authenticate via the
REALIE_API_KEY environment variable:
For AI Agents
The CLI is designed for fully autonomous use by AI coding agents:- Browser login:
realie loginopens a browser for OAuth sign-in (interactive terminals) - Direct auth:
realie login --api-key <key>orREALIE_API_KEYenv var (non-interactive / CI) - JSON output:
--jsonon every command for structured, parseable responses - Structured errors:
{ "error": "message", "code": "ERROR_CODE" }with exit code 1 - Self-updating:
realie upgradechecks for and installs new versions
- Claude Code
- Cursor
- Environment Variable
Add to your
CLAUDE.md or agent instructions:
