{
  "openapi": "3.0.1",
  "info": {
    "title": "Maryland Property Assessments - Values, Structure & Sales",
    "description": "All 2.44M Maryland real-property assessment accounts (public open data, 24 jurisdictions): assessment values, land/improvement split, CAMA structure (year built, sq ft, units, grade, type), last recorded sale with seller name, exemptions, homestead. Search by county, city, ZIP, address or sale date.",
    "version": "0.0",
    "x-build-id": "IbR85jg2bdtu1chkM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/j0401~md-property-assessments/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-j0401-md-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~md-property-assessments/runs": {
      "post": {
        "operationId": "runs-sync-j0401-md-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~md-property-assessments/run-sync": {
      "post": {
        "operationId": "run-sync-j0401-md-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",
              "aggregate"
            ],
            "type": "string",
            "description": "rows = accounts matching your filters (default). aggregate = one count row per group (see groupBy).",
            "default": "rows"
          },
          "accountId": {
            "title": "Account ID",
            "type": "string",
            "description": "Exact Maryland property account number, e.g. '04111108005540'. One account = one row. Blank = any.",
            "default": ""
          },
          "county": {
            "title": "County",
            "type": "string",
            "description": "One of Maryland's 24 jurisdictions, e.g. 'Montgomery', 'Baltimore City', \"Prince George's\". Note 'Baltimore' and 'Baltimore City' are separate jurisdictions. Blank = all.",
            "default": ""
          },
          "city": {
            "title": "City / place",
            "type": "string",
            "description": "Situs city substring, e.g. 'BETHESDA'. Blank = any.",
            "default": ""
          },
          "zip": {
            "title": "ZIP code",
            "type": "string",
            "description": "Situs ZIP, matched as a prefix (e.g. '207' for all 207xx ZIPs). Blank = any.",
            "default": ""
          },
          "address": {
            "title": "Street address",
            "type": "string",
            "description": "Situs street-address substring, e.g. 'HOWARD RD'. Blank = any.",
            "default": ""
          },
          "landUse": {
            "title": "Land use",
            "type": "string",
            "description": "Land-use class substring, e.g. 'Residential', 'Town House', 'Commercial', 'Agricultural', 'Industrial'. Blank = any.",
            "default": ""
          },
          "zoning": {
            "title": "Zoning code",
            "type": "string",
            "description": "Exact zoning code, e.g. 'R-1'. Blank = any.",
            "default": ""
          },
          "ownerOccupancy": {
            "title": "Owner occupancy",
            "enum": [
              "",
              "H",
              "N",
              "D"
            ],
            "type": "string",
            "description": "Owner-occupancy code as the State records it: H = homeowner occupied, N = not owner occupied, D = divided. Blank = any. Codes are reported as published; their full legal meaning is not restated here.",
            "default": ""
          },
          "cycleYear": {
            "title": "Assessment cycle year",
            "type": "string",
            "description": "Assessment cycle the values belong to, e.g. '2027'. Blank = any.",
            "default": ""
          },
          "saleFrom": {
            "title": "Sold on or after",
            "type": "string",
            "description": "Earliest recorded sale date (YYYY-MM-DD) for the account's most recent sale, e.g. '2025-01-01'. Blank = any.",
            "default": ""
          },
          "saleTo": {
            "title": "Sold on or before",
            "type": "string",
            "description": "Latest recorded sale date (YYYY-MM-DD) for the account's most recent sale. Blank = any.",
            "default": ""
          },
          "minAssessment": {
            "title": "Minimum total assessment",
            "type": "string",
            "description": "Only accounts whose current total assessment is at least this amount (USD), e.g. '500000'. Blank = any.",
            "default": ""
          },
          "groupBy": {
            "title": "Group by",
            "enum": [
              "county",
              "city",
              "zip",
              "landUse",
              "ownerOccupancy",
              "dwellingType",
              "cycleYear"
            ],
            "type": "string",
            "description": "aggregate mode only: the dimension to count by.",
            "default": "county"
          },
          "maxResults": {
            "title": "Max results",
            "type": "integer",
            "description": "Maximum rows to return in rows mode (1-10000). Default 50.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}