{
  "openapi": "3.0.1",
  "info": {
    "title": "East Baton Rouge Absentee Owner Parcel Leads",
    "description": "Every East Baton Rouge Parish tax parcel with its owner mailing address, flagged for absentee, out-of-state, corporate, homestead, senior or special assessment, and vacant lot owners.  Monitor mode delivers only new parcels or owner changes on a schedule.",
    "version": "0.1",
    "x-build-id": "Mu2Crr4XpgK5h4SjZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maniginam~east-baton-rouge-absentee-owner-leads/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maniginam-east-baton-rouge-absentee-owner-leads",
        "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/maniginam~east-baton-rouge-absentee-owner-leads/runs": {
      "post": {
        "operationId": "runs-sync-maniginam-east-baton-rouge-absentee-owner-leads",
        "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/maniginam~east-baton-rouge-absentee-owner-leads/run-sync": {
      "post": {
        "operationId": "run-sync-maniginam-east-baton-rouge-absentee-owner-leads",
        "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": {
          "onlyNewOrChanged": {
            "title": "Only new or changed owners (monitor mode)",
            "type": "boolean",
            "description": "When on, the Actor remembers every parcel it delivered for this exact search and outputs only parcels it has not delivered before, or whose owner name or mailing address changed since.  Unchanged parcels are skipped and not charged.  Use it with a daily or weekly schedule to catch sales and new absentee owners.",
            "default": false
          },
          "flags": {
            "title": "Owner flags to require",
            "maxItems": 6,
            "uniqueItems": true,
            "type": "array",
            "description": "Deliver only parcels that have every flag chosen here.  Absentee owner is the default.  Clear the list to deliver every parcel in the parish.",
            "items": {
              "type": "string",
              "enum": [
                "absenteeOwner",
                "outOfStateOwner",
                "homestead",
                "seniorOrSpecialExemption",
                "vacantLot",
                "corporateOwner"
              ],
              "enumTitles": [
                "Absentee owner (mails tax bills to another address)",
                "Out-of-state owner",
                "Homestead exemption",
                "Senior or special assessment (over 65, disabled, disabled veteran)",
                "Vacant lot (no improvement value)",
                "Corporate or LLC owner"
              ]
            },
            "default": [
              "absenteeOwner"
            ]
          },
          "excludeFlags": {
            "title": "Owner flags to exclude",
            "maxItems": 6,
            "uniqueItems": true,
            "type": "array",
            "description": "Skip parcels that have any flag chosen here, for example corporate owners or homesteads.",
            "items": {
              "type": "string",
              "enum": [
                "absenteeOwner",
                "outOfStateOwner",
                "homestead",
                "seniorOrSpecialExemption",
                "vacantLot",
                "corporateOwner"
              ],
              "enumTitles": [
                "Absentee owner (mails tax bills to another address)",
                "Out-of-state owner",
                "Homestead exemption",
                "Senior or special assessment (over 65, disabled, disabled veteran)",
                "Vacant lot (no improvement value)",
                "Corporate or LLC owner"
              ]
            }
          },
          "zipCodes": {
            "title": "Property ZIP codes",
            "uniqueItems": true,
            "type": "array",
            "description": "Five-digit ZIP codes of the property, not of the owner.  Parcels whose ZIP the parish address book does not list are skipped when this is set.  Leave empty for the whole parish.",
            "items": {
              "type": "string",
              "pattern": "^\\d{5}$"
            }
          },
          "minAssessedValue": {
            "title": "Minimum assessed value ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Lowest total assessed value, in dollars, inclusive.  Louisiana assesses homes at 10% of market value, so $15,000 assessed is about a $150,000 home."
          },
          "maxAssessedValue": {
            "title": "Maximum assessed value ($)",
            "minimum": 0,
            "type": "integer",
            "description": "Highest total assessed value, in dollars, inclusive."
          },
          "maxResults": {
            "title": "Maximum leads",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Upper limit on parcels delivered by this run, highest assessment number first.  Each delivered parcel is charged as one owner-lead-record event.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}