{
  "openapi": "3.0.1",
  "info": {
    "title": "Maricopa County Property Records & Owner Data Scraper",
    "description": "Export all 1,742,671 Maricopa County (Phoenix, AZ) parcels from the county assessor's own data. Filter by legal class, city, ZIP, property type, value and sale year. 38 fields per record: owner name, mailing address, absentee and out-of-state flags, values and sale history. No monthly subscription.",
    "version": "0.1",
    "x-build-id": "Z6ERVaJVA1HBsee4v"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/techdata_solutions~maricopa-parcels/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-techdata_solutions-maricopa-parcels",
        "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/techdata_solutions~maricopa-parcels/runs": {
      "post": {
        "operationId": "runs-sync-techdata_solutions-maricopa-parcels",
        "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/techdata_solutions~maricopa-parcels/run-sync": {
      "post": {
        "operationId": "run-sync-techdata_solutions-maricopa-parcels",
        "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": {
          "legal_class_code": {
            "title": "Legal class code",
            "type": "array",
            "description": "One or more Arizona legal-class codes matched against LandLegalClassCode, combined into a LandLegalClassCode IN (...) clause. This is the primary and most precise ownership-category filter. Leave empty to include all classes. Tip: 4.1 + 4.2 (Non-primary residence + Residential rental) = 441,910 non-owner-occupied residential parcels - the core investor / landlord segment; select both to target it. Parcel counts shown beside each option are verified live as of 27 July 2026.",
            "items": {
              "type": "string",
              "enum": [
                "3.1",
                "3.2",
                "3.3",
                "4.1",
                "4.2",
                "4.8",
                "4.9",
                "2.R",
                "1.8",
                "1.9",
                "1.12",
                "M"
              ],
              "enumTitles": [
                "3.1 - Primary residence (owner-occupied) (983,366 parcels)",
                "3.2 - Primary residence of qualifying family member (28,642 parcels)",
                "3.3 - Primary residence also leased or rented (157 parcels)",
                "4.1 - Non-primary residence (second home / absentee) (210,045 parcels)",
                "4.2 - Residential rental (231,865 parcels)",
                "4.8 - Residential common areas (62,222 parcels)",
                "4.9 - Timeshares (1,095 parcels)",
                "2.R - Agricultural / vacant land (real property) (155,609 parcels)",
                "1.8 - Shopping centers (1,476 parcels)",
                "1.9 - Golf courses (713 parcels)",
                "1.12 - Commercial / other (49,876 parcels)",
                "M - Mixed legal class (4,909 parcels)"
              ]
            },
            "default": []
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "Maricopa County situs city (e.g. 'Phoenix', 'Scottsdale'). Matched case-insensitively against the parcel's PropertyCity. Leave empty to include all cities.",
            "default": ""
          },
          "zip_codes": {
            "title": "ZIP codes",
            "type": "array",
            "description": "List of ZIP codes to filter by (e.g. ['85003','85016']). Leave empty to include all ZIPs.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "property_type": {
            "title": "Property type",
            "enum": [
              "single_family",
              "condo_townhouse",
              "apartment",
              "multi_family",
              "vacant_land",
              "commercial",
              "industrial",
              "office",
              "retail",
              "mobile_home"
            ],
            "type": "string",
            "description": "Filters by the parcel's physical structure type, matched against the county's PropertyUseDescription. This is a coarser, less-precise filter than legal class (which reflects the ownership category): e.g. 'single_family' here covers all single-family structures regardless of owner-occupied vs rental status. For investor targeting prefer legal_class_code. Leave empty for all types."
          },
          "min_value": {
            "title": "Min assessed value (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Minimum Full Cash Value (assessed total). Leave empty for no minimum."
          },
          "max_value": {
            "title": "Max assessed value (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Maximum Full Cash Value (assessed total). Leave empty for no maximum."
          },
          "absentee_only": {
            "title": "Absentee owners only",
            "type": "boolean",
            "description": "Only include parcels where the owner's mailing address differs from the property (situs) address. Records missing either address are excluded (cannot be determined).",
            "default": false
          },
          "out_of_state_only": {
            "title": "Out-of-state owners only",
            "type": "boolean",
            "description": "Only include parcels whose OwnerState is not AZ (blank owner states are excluded). Filtering uses the OwnerState field only, consistently with how is_out_of_state is computed in the output.",
            "default": false
          },
          "registered_rentals_only": {
            "title": "Registered rentals only",
            "type": "boolean",
            "description": "Only include parcels the county has flagged as a rental (Rental = 'YES'). Verified 27 July 2026: the Rental field is only ever 'YES' (229,890 parcels) or blank - no other values. This is the county's own registered-rental flag, the same data PropStream charges for. Combine with legal class 4.2 for the tightest residential-rental match.",
            "default": false
          },
          "exempt_only": {
            "title": "Tax-exempt parcels only",
            "type": "boolean",
            "description": "Only include parcels with an active tax exemption (ExemptStatus = 'Active'). Verified 27 July 2026: ExemptStatus is 'Active' (22,991 parcels), 'Inactive' (31), or blank - only 'Active' is a live exemption. Useful for excluding (or isolating) government / non-profit owned parcels.",
            "default": false
          },
          "min_value_gain_amount": {
            "title": "Min value gain (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Minimum value gain = assessed total - last sale price (appreciation since the last sale, NOT mortgage-adjusted equity). Parcels with no sale price on record have null value gain and are skipped when this is set; the count of skipped records is reported in the run status. Leave empty for no minimum."
          },
          "sold_before_year": {
            "title": "Last sold before year",
            "minimum": 1900,
            "maximum": 2100,
            "type": "integer",
            "description": "Only include parcels last sold before January 1 of this year (e.g. 2015). When 'Include never-sold' is on (default), parcels with no sale date are also included. Leave empty for no sale-date filter."
          },
          "include_never_sold": {
            "title": "Include never-sold",
            "type": "boolean",
            "description": "When on (default), the sold-before-year filter becomes (SaleDate < cutoff OR SaleDate IS NULL), so parcels with no sale date are included. When off, only parcels with a sale date before the cutoff are kept. Only takes effect when 'Last sold before year' is set.",
            "default": true
          },
          "max_results": {
            "title": "Max results",
            "minimum": 0,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of parcel records to export. 0 uses the default (1000). Hard ceiling is 100,000. Each exported record is one 'property-record' charge.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}