{
  "openapi": "3.0.1",
  "info": {
    "title": "UCC Filings & Liens - CT, CO, OR + NYC/NY",
    "description": "UCC filing records, farm-product liens and tax warrants from eleven public registers in Connecticut, Colorado, Oregon and New York. One schema; filter by debtor, secured party, filing number, status, county or date. Filing-level and company-screen modes; derived status.",
    "version": "0.0",
    "x-build-id": "WizqXW0luxerCHNmB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/j0401~us-liens/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-j0401-us-liens",
        "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/j0401~us-liens/runs": {
      "post": {
        "operationId": "runs-sync-j0401-us-liens",
        "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/j0401~us-liens/run-sync": {
      "post": {
        "operationId": "run-sync-j0401-us-liens",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "rows",
              "filings",
              "monitor",
              "company"
            ],
            "type": "string",
            "description": "rows = one record per source row. filings = one record per filing (debtorNames[], securedPartyNames[], debtorCount). monitor = only records newer than your last run. company = name screen across the registers of one state.",
            "default": "rows"
          },
          "corpus": {
            "title": "Register",
            "enum": [
              "",
              "ct",
              "co",
              "co-collateral",
              "co-secured",
              "co-filing",
              "co-farm",
              "or",
              "or-farm",
              "or-filings",
              "nyc-acris",
              "ny"
            ],
            "type": "string",
            "description": "Blank = ct in rows/filings/monitor mode, and the state's registers in company mode. ct / co / or / ny / nyc-acris are UCC and lien registers; co-collateral, co-secured, co-filing, co-farm, or-farm and or-filings are the Colorado and Oregon detail registers.",
            "default": ""
          },
          "name": {
            "title": "Company name",
            "type": "string",
            "description": "mode=company only, required there. Prefix match (exact matches are tagged exact). This is a name screen, NOT entity resolution."
          },
          "debtor": {
            "title": "Debtor name",
            "type": "string",
            "description": "Debtor name search. Not available for corpus=or (lender-side register only) or the Colorado collateral / filing tables."
          },
          "securedParty": {
            "title": "Secured party",
            "type": "string",
            "description": "Lender / secured-party name search. Available for ct, co-secured, or, or-farm, or-filings and co-farm."
          },
          "filingNumber": {
            "title": "Filing number",
            "type": "string",
            "description": "Exact filing / file / warrant id. Available for ct, co, co-collateral, co-secured, co-filing, co-farm, or, or-farm, or-filings and ny."
          },
          "status": {
            "title": "Status",
            "type": "string",
            "description": "The register's own word (Active, Released, Added, Closed, active, inactive ...), or a derived word where the register can answer it cleanly (active / lapsed / terminated / satisfied). Each record also carries the derived `status` and the raw `statusRaw`. A word the register cannot filter on is rejected."
          },
          "lienType": {
            "title": "Lien type",
            "type": "string",
            "description": "Source lien code. or: UCC / EFS / IRS / IRS-X / CW / RW / TU / PF / ASL / APL. or-farm: EFS / ASL / APL. or-filings: same set as or."
          },
          "filingType": {
            "title": "Filing type",
            "type": "string",
            "description": "co-filing: ucc / lien_irs / lien_hosp / efs / lien_othr_stat / ...; or-filings: INITIAL / AMENDMENT."
          },
          "transactionType": {
            "title": "Transaction type",
            "type": "string",
            "description": "co-filing only: Initial Filing / Amendment / Filing Officer Correction / Correction."
          },
          "county": {
            "title": "County",
            "type": "string",
            "description": "co-collateral, co-farm, or-farm."
          },
          "farmProduct": {
            "title": "Farm products only",
            "type": "boolean",
            "description": "co-collateral only: keep collateral flagged as farm products.",
            "default": false
          },
          "city": {
            "title": "City",
            "type": "string",
            "description": "City prefix. Available for ct, co, co-secured, or, or-farm, or-filings and ny."
          },
          "state": {
            "title": "State code",
            "type": "string",
            "description": "Two-letter address state for the row filters. In mode=company this is the jurisdiction to screen and is required: CT, CO, OR or NY."
          },
          "dateFrom": {
            "title": "Filed from",
            "type": "string",
            "description": "ISO date. Filing/recording date; available on every register. co, co-collateral and co-secured resolve the window through Colorado's filing-information table first."
          },
          "dateTo": {
            "title": "Filed to",
            "type": "string",
            "description": "ISO date. See dateFrom."
          },
          "borough": {
            "title": "Borough",
            "type": "string",
            "description": "NYC borough code or name (nyc-acris only)."
          },
          "docType": {
            "title": "Document type",
            "type": "string",
            "description": "ACRIS document type code, e.g. UCC1, FTL, TERM (nyc-acris only)."
          },
          "sinceLastRun": {
            "title": "Since my last run",
            "type": "boolean",
            "description": "Owner runs only: read and advance the monitor watermark. User runs in monitor mode always do.",
            "default": false
          },
          "maxResults": {
            "title": "Max records",
            "minimum": 0,
            "type": "integer",
            "description": "Cap on records delivered (0 = default 50; up to 2,000 per run). Each delivered record is metered individually, so there is no per-run charge cap.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}