{
  "openapi": "3.0.1",
  "info": {
    "title": "NY Property Assessments - Parcels, Owners & 5-Year Value Trail",
    "description": "New York property assessment rolls (public open data, 23.6M records, 2021-2025): every parcel with its owner, mailing address, exemptions and six value columns - plus each parcel's exact year-over-year value movement. Excludes New York City, which files separately.",
    "version": "0.0",
    "x-build-id": "vSlRwTJu3J5lV7fw1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/j0401~ny-property-assessments/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-j0401-ny-property-assessments",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/j0401~ny-property-assessments/runs": {
      "post": {
        "operationId": "runs-sync-j0401-ny-property-assessments",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/j0401~ny-property-assessments/run-sync": {
      "post": {
        "operationId": "run-sync-j0401-ny-property-assessments",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "rows",
              "parcel",
              "trend",
              "aggregate"
            ],
            "type": "string",
            "description": "rows = parcels matching your filters. parcel = one parcel's full 5-year trail with the year-over-year value and owner movement. trend = per-roll-year totals for a scope (county, municipality, school district...). aggregate = server-side count by one dimension.",
            "default": "rows"
          },
          "rollYear": {
            "title": "Roll year",
            "type": "string",
            "description": "Assessment roll year. The source currently carries 2021-2025. Defaults to the newest roll available. Leave blank for the default."
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum records to return. Default 50; 0 is treated as the default rather than as all records.",
            "default": 50
          },
          "county": {
            "title": "County",
            "enum": [
              "Albany",
              "Allegany",
              "Broome",
              "Cattaraugus",
              "Cayuga",
              "Chautauqua",
              "Chemung",
              "Chenango",
              "Clinton",
              "Columbia",
              "Cortland",
              "Delaware",
              "Dutchess",
              "Erie",
              "Essex",
              "Franklin",
              "Fulton",
              "Genesee",
              "Greene",
              "Hamilton",
              "Herkimer",
              "Jefferson",
              "Lewis",
              "Livingston",
              "Madison",
              "Monroe",
              "Montgomery",
              "Nassau",
              "Niagara",
              "Oneida",
              "Onondaga",
              "Ontario",
              "Orange",
              "Orleans",
              "Oswego",
              "Otsego",
              "Putnam",
              "Rensselaer",
              "Rockland",
              "St Lawrence",
              "Saratoga",
              "Schenectady",
              "Schoharie",
              "Schuyler",
              "Seneca",
              "Steuben",
              "Suffolk",
              "Sullivan",
              "Tioga",
              "Tompkins",
              "Ulster",
              "Warren",
              "Washington",
              "Wayne",
              "Westchester",
              "Wyoming",
              "Yates"
            ],
            "type": "string",
            "description": "One of the 57 New York counties on the rolls. New York City's five boroughs file separately and are NOT in this dataset."
          },
          "ownerName": {
            "title": "Owner name",
            "type": "string",
            "description": "Partial name match across the primary owner and the three additional owner slots (last and first names). '%' and '_' are not allowed."
          },
          "address": {
            "title": "Parcel street",
            "type": "string",
            "description": "Partial street-name match on the parcel address."
          },
          "mailingState": {
            "title": "Owner mailing state",
            "type": "string",
            "description": "Two-letter state on the owner's mailing address. 'NY' is the default for a resident owner; any other value finds owners who live elsewhere."
          },
          "mailingCity": {
            "title": "Owner mailing city",
            "type": "string",
            "description": "Partial city match on the owner's mailing address."
          },
          "mailingZip": {
            "title": "Owner mailing ZIP",
            "type": "string",
            "description": "ZIP prefix match on the owner's mailing address. Digits and dashes only."
          },
          "mailingCountry": {
            "title": "Owner mailing country",
            "type": "string",
            "description": "Partial country match on the owner's mailing address."
          },
          "municipality": {
            "title": "Municipality",
            "type": "string",
            "description": "Partial city or town name."
          },
          "municipalityCode": {
            "title": "Municipality code",
            "type": "string",
            "description": "Exact municipality code (6 digits)."
          },
          "swisCode": {
            "title": "SWIS code",
            "type": "string",
            "description": "Exact SWIS code of the municipality (6 digits)."
          },
          "schoolDistrict": {
            "title": "School district",
            "type": "string",
            "description": "Partial school district name."
          },
          "propertyClass": {
            "title": "Property class code",
            "type": "string",
            "description": "Exact NY property class code, 1-3 digits (210 = one family year-round residence, 311 = residential vacant land). Note: the aggregate mode's propertyClass dimension groups by the class DESCRIPTION, not this code."
          },
          "propertyClassDescription": {
            "title": "Property class description",
            "type": "string",
            "description": "Partial match on the property class description."
          },
          "taxClass": {
            "title": "Tax class",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "5",
              "6",
              "7",
              "8",
              "H",
              "N",
              "S"
            ],
            "type": "string",
            "description": "Exact tax class code, used only in municipalities that assess by class (1-8 = the assessment class, H = homestead, N = non-homestead, S = special). The source documents the code but not the individual class meanings, so prefer `propertyClass`/`propertyClassDescription` when you need to identify a property type. The field is blank on 76% of rows."
          },
          "rollSection": {
            "title": "Roll section",
            "enum": [
              "0",
              "1",
              "3",
              "5",
              "6",
              "7",
              "8",
              "9"
            ],
            "type": "string",
            "description": "Which section of the assessment roll the parcel sits on (source's own legend): 1 = ordinary taxable property, including partially exempt; 3 = taxable State-owned land; 5 = special franchise (utility property on public rights-of-way); 6 = utilities and non-ceiling railroads; 7 = ceiling railroads; 8 = wholly exempt property; 9 = other. 0 is the source's unset value. Sections 2 and 4 are not in use. Blank = any."
          },
          "printKeyCode": {
            "title": "Parcel print key code",
            "type": "string",
            "description": "The parcel's print key code, exact match (used with swisCode to identify a single parcel)."
          },
          "minMarketValue": {
            "title": "Min full market value",
            "minimum": 0,
            "type": "number",
            "description": "Lower bound on the full market value."
          },
          "maxMarketValue": {
            "title": "Max full market value",
            "minimum": 0,
            "type": "number",
            "description": "Upper bound on the full market value."
          },
          "minAssessment": {
            "title": "Min assessment",
            "minimum": 0,
            "type": "number",
            "description": "Lower bound on the total assessment."
          },
          "maxAssessment": {
            "title": "Max assessment",
            "minimum": 0,
            "type": "number",
            "description": "Upper bound on the total assessment. A small cap finds parcels sitting under an exemption."
          },
          "groupBy": {
            "title": "Group by (aggregate mode)",
            "enum": [
              "county",
              "municipality",
              "municipalityCode",
              "schoolDistrict",
              "propertyClass",
              "taxClass",
              "rollSection",
              "rollYear"
            ],
            "type": "string",
            "description": "Dimension for the server-side count. Use only with mode=aggregate - supplying it in another mode is rejected rather than ignored."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}