{
  "openapi": "3.0.1",
  "info": {
    "title": "Wisconsin Delinquent Taxpayers: Names, Debts & Tax Types",
    "description": "Wisconsin Department of Revenue delinquent taxpayer list: business and individual names, DBA, mailing address, liability amount, tax types and license revocation dates. Over 35,000 records. Filter by name, city, tax type and amount. $0.015 per record.",
    "version": "0.1",
    "x-build-id": "kHXKO8Qo9LmdyMqZY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lienintel~wisconsin-delinquent-taxpayers/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lienintel-wisconsin-delinquent-taxpayers",
        "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/lienintel~wisconsin-delinquent-taxpayers/runs": {
      "post": {
        "operationId": "runs-sync-lienintel-wisconsin-delinquent-taxpayers",
        "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/lienintel~wisconsin-delinquent-taxpayers/run-sync": {
      "post": {
        "operationId": "run-sync-lienintel-wisconsin-delinquent-taxpayers",
        "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": {
          "ownerNames": {
            "title": "Owner names",
            "type": "array",
            "description": "One or more names, contains match, not case-sensitive, for example ACME. Any name may match.",
            "items": {
              "type": "string"
            }
          },
          "cities": {
            "title": "Cities",
            "type": "array",
            "description": "Contains match, not case-sensitive, for example MADISON. Add several to match any of them.",
            "items": {
              "type": "string"
            }
          },
          "mailingStates": {
            "title": "Mailing states",
            "type": "array",
            "description": "Exact values to keep, for example WI. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "taxTypes": {
            "title": "Tax types",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep taxpayers owing any of these tax types. Empty means all.",
            "items": {
              "type": "string",
              "enum": [
                "Ad Valorem",
                "Admin. Penalty",
                "Ambulatory",
                "Aviation",
                "Beer",
                "Business Tax Registration",
                "Carline",
                "Cigarette",
                "Corporation",
                "Court Cost",
                "Economic Development Surcharge",
                "Estate Tax",
                "Expo",
                "Fees",
                "Gift",
                "Income",
                "Inheritance",
                "Installment Agreement",
                "Liquor",
                "Lottery",
                "Manufacturing",
                "Motor Fuel",
                "Occasional Consumer Use",
                "Petroleum",
                "Real Estate Transfer",
                "Rental Vehicle",
                "Sales",
                "Special Fuel",
                "Stadium",
                "Tobacco",
                "Utility",
                "Wine",
                "Withholding"
              ]
            }
          },
          "revokedOnly": {
            "title": "Revoked licenses only",
            "type": "boolean",
            "description": "Keep taxpayers whose license the state revoked.",
            "default": false
          },
          "minAmount": {
            "title": "Minimum liability (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep records with liability at or above this amount."
          },
          "maxAmount": {
            "title": "Maximum liability (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Keep records with liability at or below this amount."
          },
          "ownerType": {
            "title": "Owner type",
            "enum": [
              "any",
              "business",
              "person",
              "trust_or_estate",
              "government"
            ],
            "type": "string",
            "description": "Best-effort reading of the published name: business, person, trust or estate, or government.",
            "default": "any"
          },
          "outOfStateOnly": {
            "title": "Out-of-state owners only",
            "type": "boolean",
            "description": "Keep records whose owner mailing state is another state.",
            "default": false
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "amount_desc",
              "amount_asc",
              "name_asc",
              "revocation_desc"
            ],
            "type": "string",
            "description": "Order of the results.",
            "default": "amount_desc"
          },
          "maxFilings": {
            "title": "Maximum records",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum records to return and charge. Free Apify plans are capped at 10 per run.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}