Skip to main content

rosreestr-api

Quick start

1 install the library:

pip install rosreestr-api

2 Different ways how to get basic info about realty objects:

from rosreestr_api.clients.rosreestr import RosreestrAPIClient

api_client = RosreestrAPIClient()

# get objects by address: returns up to 100 objects with `cadnum`, `full_name`,
# `actual` and `type` (OKS, PARCEL or FLAT), near matches included
api_client.get_objects_by_address('Москва, ул Красного Маяка, д 22, к 2, кв 187')

3 Different ways how to get geo info about realty objects:

from rosreestr_api.clients.rosreestr import NSPDAPIClient

api_client = NSPDAPIClient()

# get object details by its full cadastral id (e.g. `cadnum` returned by
# RosreestrAPIClient.get_objects_by_address): parcels, buildings and premises
api_client.get_object('77:05:0007007:4926')

# get building by cadastral id
api_client.get_building_by_cadastral_id('16:50:110108:2815')

# get parcel by cadastral id
api_client.get_parcel_by_cadastral_id('72:17:1502001:499')

# get parcel by coordinates
api_client.get_parcel_by_coordinates(lat=55.542, long=37.483)

# get building by coordinates
api_client.get_building_by_coordinates(lat=55.828952, long=49.097076)

4 Errors: both clients raise requests.HTTPError for responses with status >= 400. For NSPDAPIClient it also means "not found": a cadastral id lookup with no match raises with status 404, while a coordinates lookup with nothing there returns an empty features list:

import requests

try:
    api_client.get_object('77:17:0000000:11471')
except requests.HTTPError as e:
    if e.response.status_code == 404:
        ...  # no object with this cadastral id
    else:
        raise

Metadata

Release files for rosreestr-api 2.0.0

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

Source distribution (sdist)

Source distribution for rosreestr-api 2.0.0
File Size Uploaded Provenance Actions
rosreestr_api-2.0.0.tar.gz 172.2 kB Without provenance Details for rosreestr_api-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rosreestr-api 2.0.0
File Interpreter ABI Platform Actions
rosreestr_api-2.0.0-py3-none-any.whl Python 3 none any Details for rosreestr_api-2.0.0-py3-none-any.whl

Total release size: 341.9 kB

Release files / rosreestr_api-2.0.0.tar.gz

Download URL rosreestr_api-2.0.0.tar.gz
Size 172.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d6177d0b5aac3fa1fcd000d2a0da21129aa6830eca3983155691baa73dec4526
BLAKE2b-256 checksum
How to use checksums
e57e62f965f63557ec92af6b0a47a1cb9dfd2d0e02101fe95b28bbe0b79a2186
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.3

Release files / rosreestr_api-2.0.0-py3-none-any.whl

Download URL rosreestr_api-2.0.0-py3-none-any.whl
Size 169.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f40f9d2386487487948f8a31d7c6f9d3e0dd2db294efd8efe76675018ff7273f
BLAKE2b-256 checksum
How to use checksums
a6bfb39c6a1968485f4c6be6eb8ab29430e09438c3bd11f154d12a0de619e4a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.3

Security for rosreestr-api 2.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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