docs / 04

Records

Each county's source is normalized into one shared parcel schema. Every record served consumes exactly one credit.

Field dictionary

FieldTypeDescription
idstringDeterministic id: <county_fips>:<apn>, or the source feature id when there is no APN.
county_fipsstringFive-digit county FIPS. References the tracked county row.
apnstring | nullAssessor's parcel number from the county source.
addressstring | nullSite address, when the source provides one.
area_acresnumber | nullArea derived from the geometry, in acres.
area_sqftnumber | nullArea derived from the geometry, in square feet.
latnumber | nullCentroid latitude (WGS84).
lonnumber | nullCentroid longitude (WGS84).
bbox_min_lonnumber | nullGeometry envelope, west edge.
bbox_min_latnumber | nullGeometry envelope, south edge.
bbox_max_lonnumber | nullGeometry envelope, east edge.
bbox_max_latnumber | nullGeometry envelope, north edge.
geometryobject | nullGeoJSON footprint, derived from the stored PostGIS geometry; null when the footprint was offloaded to R2.
geometry_r2_keystring | nullR2 object key when the geometry was offloaded; otherwise null.
source_feature_idstring | nullThe source's own feature id.
source_fetched_atstring | nullWhen the source page was fetched (ISO 8601).
ingested_atstringWhen the row was written (ISO 8601).

The footprint is stored once as PostGIS geometry. Large footprints are written to R2 and referenced by geometry_r2_key; for those, geometry is null and geometry_r2_key points at the GeoJSON.

Example response

GET /api/parcels returns up to limit records, optionally scoped to one county with county_fips. limit must be an integer from 1 to 1000; a value outside that range is rejected with 400 instead of being clamped, so a metered request never bills for more records than it asked for. Each record served consumes one credit.

curl "https://parcel.reeeally.ai/api/parcels?county_fips=06037&limit=100" \
  -H "Authorization: Bearer $PARCEL_TOKEN"
{
  "parcels": [
    {
      "id": "06037:APN-1",
      "county_fips": "06037",
      "apn": "APN-1",
      "address": "123 Main St",
      "area_acres": 0.23,
      "area_sqft": 10018.8,
      "lat": 34.05,
      "lon": -118.24,
      "bbox_min_lon": -118.241,
      "bbox_min_lat": 34.049,
      "bbox_max_lon": -118.239,
      "bbox_max_lat": 34.051,
      "geometry": { "type": "Polygon", "coordinates": [ [ [ -118.241, 34.049 ], [ -118.239, 34.051 ], [ -118.241, 34.049 ] ] ] },
      "geometry_r2_key": null,
      "source_feature_id": "1",
      "source_fetched_at": "2026-10-01T12:00:00.000Z",
      "ingested_at": "2026-10-01T12:00:05.000Z"
    }
  ],
  "count": 1,
  "metering": {
    "plan": "trial",
    "credits_remaining": 49,
    "overage_records": 0,
    "overage_amount_cents": 0
  }
}

Re-running a county upserts by id, so a parcel keeps a stable identity across ingests.

Point lookup

GET /api/parcels/at returns the single parcel whose footprint contains a lat/lon point. Both lat and lon are required: lat must be a finite number between -90 and 90, lon between -180 and 180, and an invalid coordinate is rejected with 400 rather than clamped. A point outside loaded coverage — or anywhere outside the US — is a 404 with error not_found, and a miss consumes 0 credits. Only a served parcel consumes one credit.

curl "https://parcel.reeeally.ai/api/parcels/at?lat=34.0501&lon=-118.2401" \
  -H "Authorization: Bearer $PARCEL_TOKEN"
{
  "parcel": {
    "id": "06037:APN-1",
    "county_fips": "06037",
    "apn": "APN-1",
    "address": "123 Main St",
    "area_acres": 0.23,
    "area_sqft": 10018.8,
    "lat": 34.05,
    "lon": -118.24,
    "bbox_min_lon": -118.241,
    "bbox_min_lat": 34.049,
    "bbox_max_lon": -118.239,
    "bbox_max_lat": 34.051,
    "geometry": { "type": "MultiPolygon", "coordinates": [ [ [ [ -118.241, 34.049 ], [ -118.239, 34.051 ], [ -118.241, 34.049 ] ] ] ] },
    "geometry_r2_key": null,
    "source_feature_id": "1",
    "source_fetched_at": "2026-10-01T12:00:00.000Z",
    "ingested_at": "2026-10-01T12:00:05.000Z"
  },
  "count": 1,
  "metering": {
    "plan": "trial",
    "credits_remaining": 49,
    "overage_records": 0,
    "overage_amount_cents": 0
  }
}

A miss is a free 404 and never deducts a credit:

{
  "error": "not_found",
  "message": "No parcel in our records contains this point",
  "lat": 0,
  "lon": 0
}

Parcels whose geometry was offloaded to R2 (geom IS NULL) cannot be matched by point: the footprint is not in-row, so the lookup skips them. Their other fields are still served by GET /api/parcels, with geometry null and geometry_r2_key set, but the footprint itself is not currently retrievable through the API.

Address search

GET /api/parcels/by-address resolves one pasted mailing line to the parcel at that address. Street matching is source-dependent and best-effort: the county source decides whether a street address is published, and a source that normalizes differently (a city appended to the line, a rural route name) can miss. When the street index finds nothing, the line is matched against the local National Address Database point index: a candidate point selects a parcel only by containment in that parcel's footprint, and the unit is never part of the key, so every unit point in a building resolves to the same parcel. When neither local index finds anything — or the county publishes no street addresses and has no address point — the line is geocoded through Geocodio. Only a rooftop or point geocode may select a parcel: an interpolated match (range_interpolation, nearest_rooftop_match, street_center, place) is reported as unresolved rather than guessed. A precise match serves the nearest footprint within 40 m. The response reports how the match was made, so a caller can judge it instead of trusting an opaque result.

match.methodscoreMeaning
exact1Same normalized street key and the same house number.
range0.95The stored house number is a range (1219-1221) that contains the requested number.
address_point0.9The line matched the local National Address Database point index by house number and street key, and the point is contained in the served parcel's footprint. The unit is ignored, so unit points in one building collapse to one answer.
prefix0.7The stored street key starts with the requested key and the house number is exact. This absorbs a trailing city a source appended to a single-line address.
geocoded0.6No local match was available. The line was geocoded with rooftop or point precision, and the nearest footprint within 40 m was served. match.geocoded_address and match.distance_m explain the placement.

Street matching never corrects a house number to a nearby parcel: a number that is not published in the county goes to the local address-point index, then the geocode fallback. An address point selects a parcel only by containment, never by distance, and a point inside no parcel is a miss. Only a rooftop or point geocode may otherwise select a parcel; an interpolated or place-level match is reported as unresolved. Even a precise point can land on a lot boundary, so two footprints almost equally close (within 5 m of each other) are a 409 address_ambiguous rather than a guess.

match.matched_address is the address exactly as the county source published it, so it can differ in spelling and formatting from the line you sent. The parsed block echoes what the server read from your input, and a line without a ZIP is accepted: the geocoder resolves the county that the crosswalk would otherwise need.