Skip to main content

Property Radar Python Client

CI PyPI Python License

An unofficial, typed Python client for the PropertyRadar API.

Important: PropertyRadar documents its API for end users and restricts how its data may be used or redistributed. This library is not affiliated with or endorsed by PropertyRadar. Review the vendor terms and obtain any needed partner approval before using it in a product for third parties.

Status

Version 0.4.3 accepts the record values that live PropertyRadar historical-transaction rows send. Those rows send JSON numbers, and may send null, in record fields that the published spec declares as strings, and 0.4.2 rejected them with record_field_type. Both record parsers now give a JSON integer or a finite JSON number as its exact decimal text, a boolean in one of the three flag fields as "1" or "0", and a null outside RecDate as a missing field, so record values stay text. A null RecDate, a boolean in any other field, a number in Status, DocGroup or RecDate, NaN, infinities, -0.0 and numbers whose plain decimal form has more than 64 characters, not counting the sign, still fail. Both transaction contracts get new fingerprints; see the changelog. The 0.4.2 totalCost, preview and buyer-transfer rules are unchanged. The base catalog covers all 37 operations in official API 5.2.0.0; the historical Buyer-criterion property/location interface binds separate official API 5.3.1.0 evidence. The historical transaction interface separates preview quotes from paid rows, with explicit date, document, and row-count bounds before billing. Releases are built once and published through the configured PyPI Trusted Publisher.

Installation

pip install property-radar

Safe Quickstart

from property_radar import PropertyRadarClient

criteria = [{"name": "RadarID", "value": ["P0000000"]}]

with PropertyRadarClient(api_key="your-api-key") as client:  # pragma: allowlist secret
    preview = client.properties.search(criteria=criteria)

Preview-capable endpoints send Purchase=0 by default. Persistent list, import, automation, and webhook operations require allow_mutations=True. Paid requests require both allow_charges=True on the client and purchase=True on the method call.

Typed Transaction Evidence

client.properties.transactions() remains the raw, backward-compatible envelope method. Version 0.2.0 adds client.properties.transaction_history() for immutable records and typed billing evidence.

The provider documents transaction Grantor and Grantee as scalar display strings, so the library preserves each whole value and reports party boundaries as unknown. Structured current-owner identities can be composed from the dedicated property-persons endpoint with PROPERTY_PERSON_IDENTITY_FIELDS; they remain separate from any unsupported person-to-transaction linkage. Pass the persons call's purchase choice as property_persons_purchase_requested. records_withheld and current_owners_withheld report a preview that withheld its rows or owners, and truncated reports any other response with fewer rows than its total count.

Typed Buyer-Transfer Location Evidence

client.properties.buyer_transfer_match() builds a fixed POST /v1/properties query with PropertyRadar's documented Buyer Name (Grantee) criterion, an exact RadarID, bounded geography and recent windows, a one-result limit, and typed property/location fields. A free preview (purchase=False) requests only RadarID, because PropertyRadar returns no record when a preview asks for any paid field, and adds the official residential PropertyType criterion. A preview match is residential by the criterion (residential_basis="property_type_criterion"); a returned preview property type outside the five residential types fails closed. A paid call (purchase=True) sends the 0.4.1 criteria without the PropertyType criterion and classifies the returned property type as 0.4.1 did, so a non-residential type gives is_residential=False and Unknown gives None. A record rejected after billing raises BuyerTransferResponseError, whose billing_evidence keeps the cost and counts. Its scope fingerprint binds the exact paid criteria, the preview's PropertyType criterion, both field catalogs, limit, and offset, so a preview and the paid request for the same criteria share one value. The PropertyType criterion on Purchase=0 follows the official reference and has not been probed live, so a preview's no-match can also mean a non-residential or Unknown transfer.

client.properties.historical_buyer_transfer_match() is the separate historical interface. It accepts BuyerTransferMatchCriteria with an inclusive BuyerTransferRecordingDateRange and publication_window=None, including ordered ranges across multiple years. Its API 5.3.1.0 contract produces HistoricalBuyerTransferMatchResult, HistoricalBuyerTransferLinkage, and HistoricalBuyerTransferProperty; historical zip_five is an optional exact five-digit string, preserving leading zeros. Historical scopes bind the mode, historical contract, and recording-date range. The request is limited to zero or one result, without pagination; known optional envelope metadata is validated and discarded rather than retained as raw data. Paid use remains dual opt-in and single-attempt, with malformed purchase flags rejected before network I/O.

The result proves only that the provider returned that property for the Buyer criterion. It does not expose the matching document, structured grantees, or exact/fuzzy name-match semantics, so it cannot by itself confirm a recorded grantee or verified purchase.

Authentication

Pass the token explicitly or set PROPERTY_RADAR_API_KEY. The library does not load .env files and never needs an API credential for its test suite.

Development

uv sync --all-extras --locked
uv run ruff format --check .
uv run ruff check .
uv run mypy
uv run pytest
uv run mkdocs build --strict --clean
uv build
uv run twine check dist/*

See CONTRIBUTING.md and the development guide.

License

This client is licensed under the MIT License. PropertyRadar data and service access remain governed by PropertyRadar's own agreements.

Metadata

Release files for property-radar 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for property-radar 0.4.3
File Size Uploaded Provenance Actions
property_radar-0.4.3.tar.gz 69.3 kB With provenance Details for property_radar-0.4.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for property-radar 0.4.3
File Interpreter ABI Platform Actions
property_radar-0.4.3-py3-none-any.whl Python 3 none any Details for property_radar-0.4.3-py3-none-any.whl

Total release size: 143.8 kB

Release files / property_radar-0.4.3.tar.gz

Download URL property_radar-0.4.3.tar.gz
Size 69.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8cc6645078a06e81ca30eb9cb2e6e262822fd733a10b9ae7abf16cd0250e1f0c
BLAKE2b-256 checksum
How to use checksums
ccbc2c49bfcc68139647467607bdba0d4451be2ca30e659900969d85a93c054f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / property_radar-0.4.3-py3-none-any.whl

Download URL property_radar-0.4.3-py3-none-any.whl
Size 74.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
990a8a51fa2720d30d16b2511b661fcb37044d0fe750e303bfa959cbfe41bdab
BLAKE2b-256 checksum
How to use checksums
0cc00599bc971b35e8ae4886f0f846a4a6607b954511befc0ab138ae6ca5854c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for property-radar 0.4.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for property_radar-0.4.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page