Skip to main content
This section is a curated collection of ready-to-use code examples, helper functions, and utilities to accelerate your work with our Property Data API. You’ll find snippets for data normalization, such as unit number formatting and address standardization, authentication flows, pagination handling, error handling routines, and response parsing. Each sample includes clear usage notes and parameter details, so you can drop it straight into your project and get up and running faster.
Want to skip the code and query from the terminal? Install the Realie CLI — one command to look up properties, search, and more.

Unit Number Normalization (Python)

This Python utility cleans raw unit information by removing common designators such as apartment, basement, suite, and their abbreviations in a case-insensitive way. It dynamically builds a regular expression from a mapping of full words and abbreviations, strips out any matches, then trims whitespace to return only the core unit identifier.
normalize_unit_number.py

Pagination Example (Python)

Below is an example script demonstrating how to paginate through property search results for Monterey County using limit and offset, printing each batch until no more results are returned.
pagination_monterey.py