Skip to main content

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

Quick Start

1

Authenticate

Run realie login to open your browser and sign in:
This opens 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.
The JSON field names 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 lookup mirrors /api/public/property/address
  • realie search mirrors /api/public/property/search
  • realie parcel mirrors /api/public/property/parcelId
  • realie location mirrors /api/public/property/location
  • realie comparables mirrors /api/public/premium/comparables
Examples:

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 login opens a browser for OAuth sign-in (interactive terminals)
  • Direct auth: realie login --api-key <key> or REALIE_API_KEY env var (non-interactive / CI)
  • JSON output: --json on every command for structured, parseable responses
  • Structured errors: { "error": "message", "code": "ERROR_CODE" } with exit code 1
  • Self-updating: realie upgrade checks for and installs new versions
Add to your CLAUDE.md or agent instructions: