{
  "openapi": "3.0.1",
  "info": {
    "title": "Idaho UCC Filings Search: Debtors, Lenders & Liens",
    "description": "Search Idaho UCC and lien filings by debtor, secured party, filing number, date or city. Get filing numbers, status, lapse dates, debtor and lender names and addresses. Clean JSON, filters and pay per result.",
    "version": "0.1",
    "x-build-id": "YMlRvHaUIApim2jvP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lienintel~idaho-ucc-filings-search/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lienintel-idaho-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~idaho-ucc-filings-search/runs": {
      "post": {
        "operationId": "runs-sync-lienintel-idaho-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~idaho-ucc-filings-search/run-sync": {
      "post": {
        "operationId": "run-sync-lienintel-idaho-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": {
          "debtorNames": {
            "title": "Organization debtor names",
            "type": "array",
            "description": "Organization or trade-name debtors to search, up to 20. Idaho matches by name and returns the debtor and secured party on each filing.",
            "items": {
              "type": "string"
            }
          },
          "individualDebtorNames": {
            "title": "Individual debtor names",
            "type": "array",
            "description": "Individual people to search as Last, First Middle Suffix, up to 20. A bare last name also works. Example: SMITH, GAVIN A.",
            "items": {
              "type": "string"
            }
          },
          "securedPartyNames": {
            "title": "Secured party names",
            "type": "array",
            "description": "Lenders, banks, funders or lessors to search in the UCC secured-party index, up to 20. Use the lender name, not the debtor name. Government liens do not support secured-party search; search a debtor name for those.",
            "items": {
              "type": "string"
            }
          },
          "filingNumbers": {
            "title": "Idaho filing numbers",
            "type": "array",
            "description": "Exact Idaho UCC or lien filing numbers, up to 20. Example: 20132530175. Digits only is also accepted.",
            "items": {
              "type": "string"
            }
          },
          "securedPartyType": {
            "title": "Secured party type",
            "enum": [
              "any",
              "organization",
              "individual"
            ],
            "type": "string",
            "description": "Search secured party names as organizations, individuals, or let the Actor infer the type. When set to any, a name written as Last, First is searched as a person and other names as an organization.",
            "default": "any"
          },
          "debtorType": {
            "title": "Debtor type",
            "enum": [
              "any",
              "organization",
              "individual"
            ],
            "type": "string",
            "description": "Keep organizations, individuals, or both. The type is inferred from the published debtor name.",
            "default": "any"
          },
          "debtorCity": {
            "title": "Debtor city",
            "type": "string",
            "description": "Only keep filings whose primary debtor city matches this value, case-insensitive. Example: BOISE."
          },
          "debtorState": {
            "title": "Debtor state",
            "enum": [
              "any",
              "AL",
              "AK",
              "AZ",
              "AR",
              "CA",
              "CO",
              "CT",
              "DE",
              "DC",
              "FL",
              "GA",
              "HI",
              "ID",
              "IL",
              "IN",
              "IA",
              "KS",
              "KY",
              "LA",
              "ME",
              "MD",
              "MA",
              "MI",
              "MN",
              "MS",
              "MO",
              "MT",
              "NE",
              "NV",
              "NH",
              "NJ",
              "NM",
              "NY",
              "NC",
              "ND",
              "OH",
              "OK",
              "OR",
              "PA",
              "RI",
              "SC",
              "SD",
              "TN",
              "TX",
              "UT",
              "VT",
              "VA",
              "WA",
              "WV",
              "WI",
              "WY"
            ],
            "type": "string",
            "description": "Only keep filings whose primary debtor address is in this state.",
            "default": "any"
          },
          "filingDateFrom": {
            "title": "Filing date from",
            "type": "string",
            "description": "Only return filings 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 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)."
          },
          "lapseDateTo": {
            "title": "Lapse date to",
            "type": "string",
            "description": "Only return filings whose lapse date is on or before this date (YYYY-MM-DD)."
          },
          "status": {
            "title": "Lien status",
            "enum": [
              "any",
              "active",
              "lapsed",
              "released",
              "terminated",
              "unknown"
            ],
            "type": "string",
            "description": "Filter by normalized lien status. Active means no termination and a lapse date in the future. Lapsed means the lapse date has passed. Released and terminated come from the state status.",
            "default": "any"
          },
          "includeUcc": {
            "title": "Include UCC financing statements",
            "type": "boolean",
            "description": "Search the standard Idaho UCC financing statement index.",
            "default": true
          },
          "includeGovernmentLiens": {
            "title": "Include government liens",
            "type": "boolean",
            "description": "Search Idaho government liens, including state tax and department liens.",
            "default": true
          },
          "includeEfs": {
            "title": "Include effective financing statements",
            "type": "boolean",
            "description": "Search Idaho effective financing statements for farm products. These are a separate index and may return no rows for most names.",
            "default": false
          },
          "includeCropLiens": {
            "title": "Include crop liens",
            "type": "boolean",
            "description": "Search the Idaho crop lien index. This is a separate index and may return no rows for most names.",
            "default": false
          },
          "includeAgLiens": {
            "title": "Include agricultural liens",
            "type": "boolean",
            "description": "Search the Idaho agricultural lien index. This is a separate index and may return no rows for most names.",
            "default": false
          },
          "includeLapsed": {
            "title": "Include lapsed filings",
            "type": "boolean",
            "description": "Include filings whose lapse date has passed. Turn off for active, released and terminated liens only.",
            "default": true
          },
          "includeAmendments": {
            "title": "Include amendments",
            "type": "boolean",
            "description": "Include amendment rows returned by the Idaho index. Turn off for initial filings only.",
            "default": true
          },
          "sortBy": {
            "title": "Sort results",
            "enum": [
              "newest",
              "oldest",
              "lapse_soonest",
              "lapse_latest"
            ],
            "type": "string",
            "description": "Order the delivered filings by filing date or lapse date.",
            "default": "newest"
          },
          "maxFilings": {
            "title": "Maximum filings",
            "minimum": 1,
            "maximum": 400,
            "type": "integer",
            "description": "Maximum number of filing records to deliver. Free Apify users are capped at 10 records per run.",
            "default": 25
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}