{
  "openapi": "3.0.1",
  "info": {
    "title": "Arizona UCC Filings Search: Debtors, Lenders & Liens",
    "description": "Search Arizona UCC and tax lien filings by organization, individual or secured party name. Get filing number, party, filing and lapse dates, lien type and status. Export to JSON, CSV or Excel.",
    "version": "0.1",
    "x-build-id": "PCusnHO9jLlLNOmk7"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lienintel~arizona-ucc-filings-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lienintel-arizona-ucc-filings-search",
        "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~arizona-ucc-filings-search/runs": {
      "post": {
        "operationId": "runs-sync-lienintel-arizona-ucc-filings-search",
        "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~arizona-ucc-filings-search/run-sync": {
      "post": {
        "operationId": "run-sync-lienintel-arizona-ucc-filings-search",
        "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": {
          "organizationNames": {
            "title": "Organization names",
            "type": "array",
            "description": "Organization or trade-name parties to search, up to 20. Each name is searched separately and deduplicated. Example: BANNER HEALTH.",
            "items": {
              "type": "string"
            }
          },
          "individualNames": {
            "title": "Individual names",
            "type": "array",
            "description": "Individual people to search as Last, First or Last First, up to 20. A bare last name also works. Example: SMITH, JOHN.",
            "items": {
              "type": "string"
            }
          },
          "partyRole": {
            "title": "Search party role",
            "enum": [
              "debtor",
              "secured_party",
              "any"
            ],
            "type": "string",
            "description": "Search the name as a debtor, as a secured party, or both. Searching both roles doubles the source requests and is deduplicated.",
            "default": "debtor"
          },
          "matchType": {
            "title": "Name match type",
            "enum": [
              "standard",
              "wildcard"
            ],
            "type": "string",
            "description": "Standard applies the Arizona Article 9 name search rules. Wildcard returns names that contain the search text and is broader.",
            "default": "standard"
          },
          "status": {
            "title": "Filing status",
            "enum": [
              "active",
              "all"
            ],
            "type": "string",
            "description": "Active returns only unlapsed filings. All returns unlapsed and lapsed filings.",
            "default": "active"
          },
          "lienType": {
            "title": "Lien type",
            "enum": [
              "any",
              "ucc",
              "tax",
              "other"
            ],
            "type": "string",
            "description": "Keep UCC financing statements, tax liens, other liens, or all three. Arizona publishes tax and restitution liens in the same public index as UCC filings.",
            "default": "any"
          },
          "filingDateFrom": {
            "title": "Filing date from",
            "type": "string",
            "description": "Only return filings with an original filing date on or after this date (YYYY-MM-DD). Leave empty for no lower bound."
          },
          "filingDateTo": {
            "title": "Filing date to",
            "type": "string",
            "description": "Only return filings with an original filing date on or before this date (YYYY-MM-DD). Leave empty for no upper bound."
          },
          "lapseDateFrom": {
            "title": "Lapse date from",
            "type": "string",
            "description": "Only return filings whose lapse date is on or after this date (YYYY-MM-DD). Filings without a published lapse date are excluded."
          },
          "lapseDateTo": {
            "title": "Lapse date to",
            "type": "string",
            "description": "Only return filings whose lapse date is on or before this date (YYYY-MM-DD). Filings without a published lapse date are excluded."
          },
          "maxFilings": {
            "title": "Maximum filings",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of filing records to deliver. Free users are capped at 10 records per run.",
            "default": 25
          },
          "sortBy": {
            "title": "Sort order",
            "enum": [
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "Newest first or oldest first by original filing date.",
            "default": "newest"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}