{
  "openapi": "3.0.1",
  "info": {
    "title": "Property Tax Disparity — Assessed Value vs Sale Price",
    "description": "Measures property tax assessment fairness from official county and state open data. Compares assessed values against actual recorded sale prices using the IAAO sales-ratio method, returning median ratio, COD, PRD and PRB with pass/fail thresholds. Covers 252 jurisdictions across IL, MD, CT and NY.",
    "version": "0.1",
    "x-build-id": "KMPGgMHFasbP8nSyS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omegapointsolutions~property-tax-disparity/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omegapointsolutions-property-tax-disparity",
        "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/omegapointsolutions~property-tax-disparity/runs": {
      "post": {
        "operationId": "runs-sync-omegapointsolutions-property-tax-disparity",
        "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/omegapointsolutions~property-tax-disparity/run-sync": {
      "post": {
        "operationId": "run-sync-omegapointsolutions-property-tax-disparity",
        "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": {
          "jurisdictions": {
            "title": "Jurisdictions",
            "type": "array",
            "description": "Which sources to analyze. Use \"all\" for every verified jurisdiction. Options: cook-county-il (1 county, parcel level), maryland (24 jurisdictions, parcel level), connecticut (169 towns, parcel level), new-york (58 counties, state equity survey).",
            "default": [
              "all"
            ],
            "items": {
              "type": "string"
            }
          },
          "year": {
            "title": "Assessment / sale year",
            "type": "string",
            "description": "Calendar year of sales to analyze. Cook County and Maryland carry 2019-2026; Connecticut list years run 2001-2023. Defaults to 2023, the most recent year present in every parcel-level source.",
            "default": "2023"
          },
          "output": {
            "title": "Output detail",
            "enum": [
              "summary",
              "parcels",
              "both"
            ],
            "type": "string",
            "description": "\"summary\" returns one IAAO ratio study per county (the headline product). \"parcels\" returns every individual sale with its ratio. \"both\" returns both.",
            "default": "summary"
          },
          "maxRecords": {
            "title": "Maximum records to deliver",
            "minimum": 1,
            "type": "integer",
            "description": "Hard cap on delivered (and billed) records. Summary output is small — a few hundred records covers every jurisdiction. Raise this only when requesting parcel-level output.",
            "default": 5000
          },
          "maxParcelsPerJurisdiction": {
            "title": "Maximum sales to sample per jurisdiction",
            "minimum": 30,
            "type": "integer",
            "description": "How many arm's-length sales to pull per source before computing statistics. Larger samples give tighter COD and PRB estimates but take longer. IAAO requires at least 30 sales per county for a valid study. 5000 is enough for a stable statewide read; raise it for per-county precision.",
            "default": 5000
          },
          "socrataAppToken": {
            "title": "Socrata app token (optional)",
            "type": "string",
            "description": "Optional free Socrata application token. Lifts the strict anonymous rate limit on the open-data portals and reduces throttling on large runs. Get one at any Socrata portal under Developer Settings."
          },
          "proxyGroups": {
            "title": "Proxy groups",
            "type": "array",
            "description": "Apify Proxy groups to route requests through. Maryland's portal returns 403 to datacenter IPs, so RESIDENTIAL is the default. Set to [\"DATACENTER\"] to run cheaper if your account lacks residential proxy access.",
            "default": [
              "RESIDENTIAL"
            ],
            "items": {
              "type": "string"
            }
          },
          "homogeneousMarket": {
            "title": "Treat market as homogeneous single-family",
            "type": "boolean",
            "description": "Sets the IAAO COD acceptance ceiling: 15 for homogeneous single-family areas, 20 for heterogeneous or rural ones. Only affects the pass/fail flag, never the computed statistics.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}