{
  "openapi": "3.0.1",
  "info": {
    "title": "Texas Franchise Tax Right-to-Transact & Officer Lookup",
    "description": "Pull a business's Texas Comptroller franchise-tax standing using its name, 11-digit taxpayer number, or Secretary of State filing number, returning right-to-transact status plus the registered agent and officers on file.",
    "version": "2.0",
    "x-build-id": "zBdxwW5M2oMheeIVX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nimbryxo-studio~texas-franchise-tax-right-to-transact-and-officer/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nimbryxo-studio-texas-franchise-tax-right-to-transact-and-officer",
        "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/nimbryxo-studio~texas-franchise-tax-right-to-transact-and-officer/runs": {
      "post": {
        "operationId": "runs-sync-nimbryxo-studio-texas-franchise-tax-right-to-transact-and-officer",
        "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/nimbryxo-studio~texas-franchise-tax-right-to-transact-and-officer/run-sync": {
      "post": {
        "operationId": "run-sync-nimbryxo-studio-texas-franchise-tax-right-to-transact-and-officer",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "byName",
              "byTaxpayerNumber",
              "bySosFileNumber",
              "byUrl",
              "bulk"
            ],
            "type": "string",
            "description": "What to search or export. Lookup modes return full per-entity details; bulk exports the official Active Franchise Taxpayers dataset.",
            "default": "byName"
          },
          "names": {
            "title": "Entity names",
            "type": "array",
            "description": "Entity names or name fragments (2-50 characters each). The registry matches the text anywhere in the legal name. One name per line (mode=byName).",
            "default": [
              "walmart"
            ],
            "items": {
              "type": "string"
            }
          },
          "taxpayerNumbers": {
            "title": "Taxpayer numbers or EINs",
            "type": "array",
            "description": "11-digit Texas Comptroller taxpayer numbers or 9-digit federal EINs. One per line (mode=byTaxpayerNumber; also used as an optional exact filter in mode=bulk).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "sosFileNumbers": {
            "title": "Texas SOS file numbers",
            "type": "array",
            "description": "6-10 digit Texas Secretary of State file numbers. The registry left-pads them to 10 digits. One per line (mode=bySosFileNumber; also an optional filter in mode=bulk).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "entityUrls": {
            "title": "Account-status URLs",
            "type": "array",
            "description": "Paste one or more Comptroller account-status URLs, for example https://comptroller.texas.gov/taxes/franchise/account-status/search/17104151885. The taxpayer number is extracted from each URL (mode=byUrl).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "fetchDetails": {
            "title": "Fetch full entity details",
            "type": "boolean",
            "description": "Open each lookup result to add EIN, addresses, right-to-transact, SOS status, registered agent, officers and report year. Turn off for the faster name/taxpayer-number summary (lookup modes only).",
            "default": true
          },
          "includeOfficers": {
            "title": "Include officer and owner records",
            "type": "boolean",
            "description": "Include the officers, directors, managers, members, owners and partners from the latest Public Information Report.",
            "default": true
          },
          "maxOfficers": {
            "title": "Max officers per entity",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Cap on the officer list in each record. The total officer count is still reported.",
            "default": 25
          },
          "enrichBulkDetails": {
            "title": "Enrich bulk rows with details",
            "type": "boolean",
            "description": "For mode=bulk, make one detail request per row to add EIN, registered agent, officers, formation state and report year. Capped at 1,000 rows per run.",
            "default": false
          },
          "bulkName": {
            "title": "Name filter",
            "type": "string",
            "description": "Filter the bulk dataset by taxpayer name. Use the match mode below for contains, starts-with or exact matching (mode=bulk).",
            "default": ""
          },
          "bulkNameMatch": {
            "title": "Name match",
            "enum": [
              "contains",
              "startsWith",
              "exact"
            ],
            "type": "string",
            "description": "How the name filter matches the registered name.",
            "default": "contains"
          },
          "bulkCities": {
            "title": "Cities",
            "type": "array",
            "description": "Keep only these cities, for example Houston or Austin. One per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "bulkStates": {
            "title": "States",
            "type": "array",
            "description": "Keep only these two-letter address states, for example TX or AR.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "bulkZips": {
            "title": "ZIP codes",
            "type": "array",
            "description": "Keep only these 5-digit ZIP codes. One per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "bulkCountyCode": {
            "title": "County",
            "enum": [
              "any",
              "001",
              "002",
              "003",
              "004",
              "005",
              "006",
              "007",
              "008",
              "009",
              "010",
              "011",
              "012",
              "013",
              "014",
              "015",
              "016",
              "017",
              "018",
              "019",
              "020",
              "021",
              "022",
              "023",
              "024",
              "025",
              "026",
              "027",
              "028",
              "029",
              "030",
              "031",
              "032",
              "033",
              "034",
              "035",
              "036",
              "037",
              "038",
              "039",
              "040",
              "041",
              "042",
              "043",
              "044",
              "045",
              "046",
              "047",
              "048",
              "049",
              "050",
              "051",
              "052",
              "053",
              "054",
              "055",
              "056",
              "057",
              "058",
              "059",
              "060",
              "061",
              "062",
              "063",
              "064",
              "065",
              "066",
              "067",
              "068",
              "069",
              "070",
              "071",
              "072",
              "073",
              "074",
              "075",
              "076",
              "077",
              "078",
              "079",
              "080",
              "081",
              "082",
              "083",
              "084",
              "085",
              "086",
              "087",
              "088",
              "089",
              "090",
              "091",
              "092",
              "093",
              "094",
              "095",
              "096",
              "097",
              "098",
              "099",
              "100",
              "101",
              "102",
              "103",
              "104",
              "105",
              "106",
              "107",
              "108",
              "109",
              "110",
              "111",
              "112",
              "113",
              "114",
              "115",
              "116",
              "117",
              "118",
              "119",
              "120",
              "121",
              "122",
              "123",
              "124",
              "125",
              "126",
              "127",
              "128",
              "129",
              "130",
              "131",
              "132",
              "133",
              "134",
              "135",
              "136",
              "137",
              "138",
              "139",
              "140",
              "141",
              "142",
              "143",
              "144",
              "145",
              "146",
              "147",
              "148",
              "149",
              "150",
              "151",
              "152",
              "153",
              "154",
              "155",
              "156",
              "157",
              "158",
              "159",
              "160",
              "161",
              "162",
              "163",
              "164",
              "165",
              "166",
              "167",
              "168",
              "169",
              "170",
              "171",
              "172",
              "173",
              "174",
              "175",
              "176",
              "177",
              "178",
              "179",
              "180",
              "181",
              "182",
              "183",
              "184",
              "185",
              "186",
              "187",
              "188",
              "189",
              "190",
              "191",
              "192",
              "193",
              "194",
              "195",
              "196",
              "197",
              "198",
              "199",
              "200",
              "201",
              "202",
              "203",
              "204",
              "205",
              "206",
              "207",
              "208",
              "209",
              "210",
              "211",
              "212",
              "213",
              "214",
              "215",
              "216",
              "217",
              "218",
              "219",
              "220",
              "221",
              "222",
              "223",
              "224",
              "225",
              "226",
              "227",
              "228",
              "229",
              "230",
              "231",
              "232",
              "233",
              "234",
              "235",
              "236",
              "237",
              "238",
              "239",
              "240",
              "241",
              "242",
              "243",
              "244",
              "245",
              "246",
              "247",
              "248",
              "249",
              "250",
              "251",
              "252",
              "253",
              "254",
              "000"
            ],
            "type": "string",
            "description": "Keep only one Texas county (official Comptroller code), or Out of State (000).",
            "default": "any"
          },
          "bulkOrganizationalTypes": {
            "title": "Entity types",
            "type": "array",
            "description": "Keep only these organization type codes or labels, for example CL (Texas LLC), CT (Texas profit corporation), CN (nonprofit), PL (Texas LP). One per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "bulkRecordTypes": {
            "title": "Record types",
            "type": "array",
            "description": "U = SOS file number, V = SOS certificate of authority, X = Comptroller-assigned number. One per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "bulkRightToTransactCodes": {
            "title": "Right-to-transact codes",
            "type": "array",
            "description": "A=Active, D=Active eligible for termination/withdrawal, N=Forfeited, I=Involuntarily ended, U=Not established. The active bulk file has A/D/N/U. One per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "bulkSosStatusCodes": {
            "title": "SOS status codes",
            "type": "array",
            "description": "Keep only these Secretary of State status codes: A, B, C, D, E, F, G, I, J, K, L, M, N, P, R, T, W, Y, Z. Use NONE for rows with no current SOS status. One per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "bulkExemptReasonCodes": {
            "title": "Exemption reason codes",
            "type": "array",
            "description": "Keep only these franchise-tax exemption reason codes, for example 00 (not exempt), 19 (501(c)(3)), 24 (homeowners association). One per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "bulkNaicsCodes": {
            "title": "NAICS prefixes",
            "type": "array",
            "description": "Keep only entities whose NAICS code starts with one of these 2-6 digit prefixes, for example 23 or 2381. One per line.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "bulkHasSosFileNumber": {
            "title": "Has an SOS file number",
            "enum": [
              "any",
              "yes",
              "no"
            ],
            "type": "string",
            "description": "Filter rows that do or do not have a current SOS/COA file number.",
            "default": "any"
          },
          "bulkExemptOnly": {
            "title": "Exempt entities only",
            "type": "boolean",
            "description": "Keep only entities with a current franchise-tax exemption reason code.",
            "default": false
          },
          "bulkResponsibilityFrom": {
            "title": "Responsibility began on or after",
            "type": "string",
            "description": "Earliest franchise-tax responsibility beginning date (YYYY-MM-DD).",
            "default": ""
          },
          "bulkResponsibilityTo": {
            "title": "Responsibility began on or before",
            "type": "string",
            "description": "Latest franchise-tax responsibility beginning date (YYYY-MM-DD).",
            "default": ""
          },
          "bulkCharterFrom": {
            "title": "SOS charter date from",
            "type": "string",
            "description": "Earliest SOS charter/registration date (YYYY-MM-DD).",
            "default": ""
          },
          "bulkCharterTo": {
            "title": "SOS charter date to",
            "type": "string",
            "description": "Latest SOS charter/registration date (YYYY-MM-DD).",
            "default": ""
          },
          "bulkSosStatusFrom": {
            "title": "SOS status date from",
            "type": "string",
            "description": "Earliest SOS status date (YYYY-MM-DD).",
            "default": ""
          },
          "bulkSosStatusTo": {
            "title": "SOS status date to",
            "type": "string",
            "description": "Latest SOS status date (YYYY-MM-DD).",
            "default": ""
          },
          "bulkSortBy": {
            "title": "Sort by",
            "enum": [
              "taxpayerName",
              "taxpayerNumber",
              "city",
              "zip",
              "responsibilityBeginningDate",
              "sosStatusDate",
              "sosCharterDate",
              "rightToTransactCode",
              "entityTypeCode"
            ],
            "type": "string",
            "description": "Sort field for the bulk export.",
            "default": "taxpayerName"
          },
          "bulkSortDirection": {
            "title": "Sort direction",
            "enum": [
              "asc",
              "desc"
            ],
            "type": "string",
            "description": "Ascending or descending.",
            "default": "asc"
          },
          "maxItems": {
            "title": "Max records",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Hard cap on emitted records. Bulk exports support up to 20,000 rows per run; split larger exports by filter.",
            "default": 20
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}