Get an API key
Workflows

Trace parcel boundary history through a split or merger

Look up an old parcel number, identify successor lots, and compare the boundaries recorded before and after a tax map change.

To find a parcel boundary as of a past date, start with the mapping authority’s archived map that applied on that date. Keep its effective dates and edition with the geometry. Use a recorded lot action or survey to connect the parcel to any predecessor or successor. The same parcel number can describe different boundaries before and after a split.

Compare a split and a merger in Brooklyn

The NYC Property Information Portal publishes tax map editions and lot changes. We reproduced the lot actions and map dates on November 24, 2026. The published research dataset contains the original source queries, map links and seven reference polygons.

Recorded change Before After
Split 738545, November 20, 2026 Brooklyn lot 3039470001 measured 45,289.67 square feet in the earlier layer. The same number remains at 24,120.57 square feet, about 53% of the earlier mapped area. New lot 3039470105 covers the other portion.
Merger 739346, November 20, 2026 Lots 3033730001, 3033730002 and 3033730057 were separate. The city record lists lots 1 and 2 as dropped and lot 57 as affected. All three earlier geometries link to the successor 3033730057.

The area comparison uses projected source geometries in US survey square feet. The source layers were MapPLUTO 26v2 for the earlier snapshots and the NYC Tax Lot Polygon layer for the later snapshots. Confirm the archived map and any additional intervening alterations for the exact date needed. Download the six rechecked city records.

Look up the historical versions and their relationships

Save the GeoJSON reference dataset as parcel-history.geojson. Save the code below as trace-lot.py. It returns all the predecessor and successor records for any event that touches the requested borough-block-lot (BBL). Run it for the surviving lot or a retired lot and compare the output.

python3 trace-lot.py parcel-history.geojson 3039470001
python3 trace-lot.py parcel-history.geojson 3033730001
import argparse
import json
from pathlib import Path


parser = argparse.ArgumentParser()
parser.add_argument("reference", type=Path)
parser.add_argument("bbl", help="NYC borough-block-lot, written as ten digits")
args = parser.parse_args()
if len(args.bbl) != 10 or not args.bbl.isascii() or not args.bbl.isdecimal():
    parser.error("BBL must contain ten digits")

fixture = json.loads(args.reference.read_text(encoding="utf-8"))
versions = {
    feature["properties"]["record_id"]: feature["properties"]
    for feature in fixture["features"]
}
changes = []
for event in fixture["events"]:
    edges = event["edges"]
    if not any(args.bbl in (edge["predecessor_bbl"], edge["successor_bbl"]) for edge in edges):
        continue
    change = {key: event[key] for key in ("event_id", "type", "map_change_date")}
    for side, key in (("before", "predecessor_record_id"), ("after", "successor_record_id")):
        change[side] = [versions[record_id] for record_id in sorted({edge[key] for edge in edges})]
    change["relationships"] = edges
    changes.append(change)

print(json.dumps({
    "requested_bbl": args.bbl,
    "source_observed_on": fixture["observed_date"],
    "status": "found" if changes else "not_covered_by_sample",
    "changes": changes,
}, indent=2))

Use record_id to select the matching feature geometry in the GeoJSON. The example returns discrete events present in the source sample. For other lots or dates, check the local archive. A missing match in this sample leaves history unknown.

Record today’s parcel for future comparisons

Verify the parcel lookup first. Set INVARIANT_API_KEY to your API key and use the same coordinate and field set for repeat observations. The example point is inside the later city geometry for Brooklyn lot 3039470001.

curl --fail-with-body --max-time 75 -sS 'https://api.invariant-ai.com/v1/fetch' \
  -H "X-API-Key: $INVARIANT_API_KEY" \
  -H 'Content-Type: application/json' \
  --data '{
    "lat": 40.6770751,
    "lng": -73.8907727,
    "fields": ["parcel_apn", "parcel_match_type", "parcel_boundary_geojson"]
  }'

Read parcel_apn as text, check parcel_match_type for containment, and save the raw parcel_boundary_geojson field. Its value is a GeoJSON geometry encoded as a string. Compare the returned parcel and source edition with the authority’s current map before adding it to your history. The point endpoint accepts coordinates and fields. Use the source archive for dates before your stored observations.

For each stored version, keep the source parcel ID, jurisdiction, geometry, match type, source URL, dataset vintage and source retrieval time. Record when your system observed the response separately. A cached field retains its original retrieval time. Give a new version its own identifier and keep the mapping event, effective date and predecessor/successor links alongside it. See response provenance.

Compare boundaries in a suitable common coordinate reference system. If the data show a change in geometry and there is no dated alteration to explain it, record the difference and check for a map correction or a source-edition change. Use the official dated boundary before applying a flood-zone overlay or assigning a record to a prior parcel.