# Texas Franchise Tax Right-to-Transact & Officer Lookup (`nimbryxo-studio/texas-franchise-tax-right-to-transact-and-officer`) Actor

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.

- **URL**: https://apify.com/nimbryxo-studio/texas-franchise-tax-right-to-transact-and-officer.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** Automation, Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Texas Franchise Tax Right-to-Transact & Officer Lookup

The Texas Comptroller of Public Accounts publishes the official franchise-tax account status of every taxable entity in the state. This actor reads that public registry through the Comptroller's own cookieless JSON API and through the state's official `Active Franchise Taxpayers` open dataset. It returns right-to-transact standing, Secretary of State registration status and file number, registered agent, mailing and registered-office addresses, officers/directors/managers/members/owners, report year, organization type, county, NAICS code and the dates the state publishes.

There is no login, cookie, API key, CAPTCHA or proxy setup.

### What this actor does

- **Look up an entity** by legal name, 11-digit Comptroller taxpayer number, 9-digit federal EIN, 6-10 digit Texas SOS file number, or a pasted account-status URL.
- **Enrich each lookup** with the full account-status record: EIN, addresses, right-to-transact and its action link, SOS status and effective date, registered agent and office, officers/directors and the latest Public Information Report year.
- **Join the official bulk file** to add organization type, record type, county, NAICS code, responsibility/charter/status dates and exemption reason.
- **Export the bulk dataset** with server-side filters for name, city, state, ZIP, county, entity type, record type, right-to-transact, SOS status, exemption reason, NAICS prefix, has-SOS-file, exempt-only status and date ranges.
- **Sort** bulk exports by name, taxpayer number, city, ZIP, responsibility date, SOS status date, SOS charter date, right-to-transact code or entity type code, ascending or descending.
- **Fall back to the bulk dataset** when a name matches more than the lookup API's 200-result cap, instead of failing.
- **Resolve DNS failures** through Cloudflare/Google DNS-over-HTTPS, so the actor still works when a local resolver cannot answer for `*.texas.gov`.
- **Omit empty fields** at every depth. A field appears only when the source has a real value.

### Modes

| Mode | What it does |
|---|---|
| `byName` | Search by legal name or name fragment. The registry matches the text anywhere in the name. If the API refuses a broad search, the actor uses the bulk dataset instead. |
| `byTaxpayerNumber` | Look up one or more 11-digit Comptroller taxpayer numbers or 9-digit EINs. EINs are resolved through the search endpoint first, then the full detail record is fetched. |
| `bySosFileNumber` | Look up one or more 6-10 digit Texas Secretary of State file numbers. The registry left-pads them to 10 digits. |
| `byUrl` | Paste one or more Comptroller account-status URLs. The taxpayer number is extracted from each URL. |
| `bulk` | Export filtered rows from the official `Active Franchise Taxpayers` dataset (3.55 million rows at the time of writing). |

### Example inputs

Search by name:

```json
{
  "mode": "byName",
  "names": ["walmart"],
  "maxItems": 10
}
```

Look up a taxpayer number or EIN:

```json
{
  "mode": "byTaxpayerNumber",
  "taxpayerNumbers": ["17104151885", "10105504087"],
  "maxItems": 2
}
```

Look up a Texas SOS file number:

```json
{
  "mode": "bySosFileNumber",
  "sosFileNumbers": ["0003668006"]
}
```

Paste an account-status URL:

```json
{
  "mode": "byUrl",
  "entityUrls": ["https://comptroller.texas.gov/taxes/franchise/account-status/search/17104151885"]
}
```

Export active Texas LLCs in Houston with officers:

```json
{
  "mode": "bulk",
  "bulkCities": ["Houston"],
  "bulkOrganizationalTypes": ["CL"],
  "bulkRightToTransactCodes": ["A"],
  "enrichBulkDetails": true,
  "maxItems": 50
}
```

Export businesses whose name contains "roofing", sorted by city:

```json
{
  "mode": "bulk",
  "bulkName": "roofing",
  "bulkNameMatch": "contains",
  "bulkSortBy": "city",
  "bulkSortDirection": "asc",
  "maxItems": 500
}
```

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | select | `byName` | `byName`, `byTaxpayerNumber`, `bySosFileNumber`, `byUrl` or `bulk` |
| `names` | string list | `["walmart"]` | Entity names or fragments (2-50 characters) for `byName` |
| `taxpayerNumbers` | string list | `[]` | 11-digit Comptroller numbers or 9-digit EINs |
| `sosFileNumbers` | string list | `[]` | 6-10 digit Texas SOS file numbers |
| `entityUrls` | string list | `[]` | Comptroller account-status URLs for `byUrl` |
| `fetchDetails` | boolean | `true` | Fetch full detail for lookup results |
| `includeOfficers` | boolean | `true` | Include officers, directors, managers and partners |
| `maxOfficers` | integer | `25` | Cap on the officer list (1-500); the total count is preserved |
| `enrichBulkDetails` | boolean | `false` | Fetch per-row details for bulk exports (capped at 1,000 rows) |
| `bulkName` | text | `""` | Name filter for `bulk` |
| `bulkNameMatch` | select | `contains` | `contains`, `startsWith` or `exact` |
| `bulkCities` | string list | `[]` | City filter |
| `bulkStates` | string list | `[]` | Two-letter address-state filter |
| `bulkZips` | string list | `[]` | 5-digit ZIP filter |
| `bulkCountyCode` | select | `any` | One official Comptroller county code, or `000` for out of state |
| `bulkOrganizationalTypes` | string list | `[]` | Organization type codes or labels, e.g. `CL`, `CT`, `CN`, `PL` |
| `bulkRecordTypes` | string list | `[]` | `U` (SOS file), `V` (SOS COA), `X` (Comptroller-assigned) |
| `bulkRightToTransactCodes` | string list | `[]` | `A`, `D`, `N`, `I`, `U` |
| `bulkSosStatusCodes` | string list | `[]` | SOS status codes A-Z, or `NONE` for no current SOS status |
| `bulkExemptReasonCodes` | string list | `[]` | Exemption reason codes such as `00`, `19`, `24` |
| `bulkNaicsCodes` | string list | `[]` | 2-6 digit NAICS prefixes, e.g. `23` or `2381` |
| `bulkHasSosFileNumber` | select | `any` | `any`, `yes` or `no` |
| `bulkExemptOnly` | boolean | `false` | Keep only entities with an exemption reason |
| `bulkResponsibilityFrom` | date | `""` | Franchise-tax responsibility start date |
| `bulkResponsibilityTo` | date | `""` | Franchise-tax responsibility end date |
| `bulkCharterFrom` | date | `""` | SOS charter/registration start date |
| `bulkCharterTo` | date | `""` | SOS charter/registration end date |
| `bulkSosStatusFrom` | date | `""` | SOS status start date |
| `bulkSosStatusTo` | date | `""` | SOS status end date |
| `bulkSortBy` | select | `taxpayerName` | Sort field for `bulk` |
| `bulkSortDirection` | select | `asc` | `asc` or `desc` |
| `maxItems` | integer | `20` | Hard cap on emitted records (1-20,000) |

### Output per business

Lookup modes return the full record below. Bulk records contain the official dataset fields (name, address, organization/record type, county, NAICS, status codes and dates) and can add the detail fields with `enrichBulkDetails`.

- `entityName` - legal name
- `dbaName` - assumed/DBA name, when on file
- `taxpayerId` - 11-digit Comptroller taxpayer number
- `feiNumber` - federal EIN, when on file
- `mailingAddress`, `mailingAddressStreet`, `mailingAddressCity`, `mailingAddressState`, `mailingAddressZip`
- `rightToTransactTX` - human-readable franchise-tax standing, e.g. `ACTIVE`, `FORFEITED`, `FRANCHISE TAX ENDED`, `FRANCHISE TAX INVOLUNTARILY ENDED`, `NOT ESTABLISHED`
- `rightToTransactCode` - A, D, N, I, U, or omitted for ended
- `rightToTransactActionUrl`, `rightToTransactActionText` - the Comptroller's own next-step link (for example, request tax clearance to reinstate)
- `stateOfFormation` - state or country of formation
- `sosRegistrationStatus`, `sosStatusCode`, `effectiveSosRegistrationDate`, `sosFileNumber`
- `registeredAgentName`, `registeredOfficeAddress`, `registeredOfficeAddressStreet`, `registeredOfficeAddressCity`, `registeredOfficeAddressState`, `registeredOfficeAddressZip`
- `entityType`, `entityTypeCode` - organization type label and code
- `recordTypeCode`, `recordTypeLabel` - U/V/X
- `countyCode`, `countyName` - official Comptroller county code and name, or `000` / `Out of State`
- `naicsCode` - NAICS code published by the Comptroller
- `responsibilityBeginningDate`, `sosCharterDate`, `sosStatusDate`, `exemptBeginDate` - ISO dates from the official bulk file
- `exemptReasonCode`, `exemptReason`, `isExempt` - franchise-tax exemption
- `franchiseTaxHistory` - date milestones published by the Comptroller (responsibility began, SOS charter, SOS status change, exemption began)
- `officers` - list of `{name, title, activeYear, address, city, state, zip, source}` for officers, directors, managers, members, owners, general partners and registered agents; `source` is `CPA` when reported on a Public Information Report or `SOS` when sourced from a Secretary of State filing
- `officerCount` - total officers/directors on file (even when the list is capped)
- `reportYear`, `lastUpdated` - latest Public Information Report year and source update timestamp
- `sourceUrl` - official account-status page
- `documents` - public links: the printable account-status page and, when present, the Comptroller's tax-clearance action
- `dataSource` - `accountStatus`, `accountStatus+bulk`, `searchIndex`, `bulkDataset` or `bulkDataset+detail`
- `detailsError` - the source's message when a detail record could not be opened
- `recordType` - always `business`
- `scrapedAt` - UTC timestamp

### Data source and freshness

- Lookup: `https://comptroller.texas.gov/data-search/franchise-tax` - the same keyless JSON API used by the Comptroller's Franchise Tax Account Status search page.
- Bulk: `https://data.texas.gov/resource/9cir-efmm.json` - the Texas Comptroller's `Active Franchise Taxpayers` dataset. It had 3,553,590 rows and 18 columns when this version was tested. The portal refreshes it on the Comptroller's schedule; the run reads it live.
- The Comptroller says SOS registration status is updated each business day. Other fields reflect the most recent Public Information Report or exemption record.

### FAQ

**What does "right to transact business" mean?**

It reflects franchise-tax standing. `ACTIVE` means the entity may operate in Texas. `FORFEITED` means the right has been forfeited, usually for missing franchise-tax filings or payments. `FRANCHISE TAX ENDED` and `FRANCHISE TAX INVOLUNTARILY ENDED` mean the franchise-tax account has ended. `NOT ESTABLISHED` means the entity has not completed the Comptroller's accountability questionnaire.

**Why do some records lack a registered agent or officers?**

The registered agent and office come from Secretary of State records and may not exist for Comptroller-only entities (record type X). Officers and directors are self-reported on the latest Public Information Report; new entities or entities that have not filed one may have none. The actor omits fields the source does not have rather than inventing them.

**Why did a broad name search switch to the bulk dataset?**

The Comptroller's lookup API refuses name searches that match more than about 200 entities. When that happens, the actor runs the same name through the official `Active Franchise Taxpayers` dataset, which supports substring search and filters. The bulk dataset contains active franchise-taxpayers only; a very old or ended entity may not appear there.

**Does the bulk dataset contain ended entities?**

No. It is the Comptroller's active franchise-taxpayer file. Ended entities are still reachable through the lookup API by name, taxpayer number, EIN or SOS file number.

**Can I get a PDF certificate or the filed documents?**

The public account-status page is printable and is included as a document link. There is no free public/cookieless official PDF endpoint: the Comptroller's Certificate of Account Status PDF is delivered only to logged-in Webfile users with the entity's XT number, and actual SOS filing images, certified copies and certificates are ordered through the Texas Secretary of State's SOSPortal, which requires an account and charges statutory fees.

**Is there multi-year franchise-tax history?**

The current keyless API and bulk dataset expose only the latest Public Information Report year and the key status dates, not a year-by-year filing history. The state's legacy Public Information Report search host (`mycpa.cpa.state.tx.us`) was unreachable when tested; printed PIR copies can be requested from the Comptroller's open-records office (`open.records@cpa.texas.gov`). This actor returns the public date milestones and does not fabricate a report history.

**Why do some names end mid-word?**

The bulk file stores names in 50-character fields and truncates longer legal names. Use the taxpayer number for an exact match.

**Can I get phone numbers, websites or beneficial owners?**

The official source does not publish phone numbers, email addresses or websites, and it does not publish beneficial-ownership/OIR percentages or 10%+ owned-by/owns disclosures in the keyless API. It does publish officer, director, manager, member, general-partner and registered-agent names and mailing addresses; the actor returns those in `officers[]` and the address fields. It does not add third-party contact or ownership data.

**How fresh is the bulk file?**

The portal page shows the last update date. The actor reads the live resource on every run and reports the source's `lastUpdated`/date fields where the source provides them.

**Do I need a proxy or an API key?**

No. The actor calls the Comptroller and Texas open-data hosts directly, with no credentials. If a run is ever refused by the source, the actor retries and reports the source message; it does not require you to configure a proxy.

**Is this affiliated with the State of Texas?**

No. This is an independent tool built on the Comptroller's publicly published registry and the state's open-data portal. It is not affiliated with or endorsed by the State of Texas.

### Limitations

- The lookup API has no pagination or server-side filters; use `bulk` for filtered exports.
- A lookup name search is capped at about 200 matches; broader names fall back to the active bulk dataset.
- The active bulk file does not include ended entities, multi-year PIR history, SOS document images, phone/email/website fields or beneficial-ownership/OIR data. The names and mailing addresses of officers, managers, members, owners and registered agents that the source publishes are returned.
- Bulk exports are capped at 20,000 rows per run. Split larger exports by city, county, type, status or date range.
- Bulk detail enrichment is capped at 1,000 rows per run to keep each run fast and respectful of the source.

# Actor input Schema

## `mode` (type: `string`):

What to search or export. Lookup modes return full per-entity details; bulk exports the official Active Franchise Taxpayers dataset.

## `names` (type: `array`):

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).

## `taxpayerNumbers` (type: `array`):

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).

## `sosFileNumbers` (type: `array`):

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).

## `entityUrls` (type: `array`):

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).

## `fetchDetails` (type: `boolean`):

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).

## `includeOfficers` (type: `boolean`):

Include the officers, directors, managers, members, owners and partners from the latest Public Information Report.

## `maxOfficers` (type: `integer`):

Cap on the officer list in each record. The total officer count is still reported.

## `enrichBulkDetails` (type: `boolean`):

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.

## `bulkName` (type: `string`):

Filter the bulk dataset by taxpayer name. Use the match mode below for contains, starts-with or exact matching (mode=bulk).

## `bulkNameMatch` (type: `string`):

How the name filter matches the registered name.

## `bulkCities` (type: `array`):

Keep only these cities, for example Houston or Austin. One per line.

## `bulkStates` (type: `array`):

Keep only these two-letter address states, for example TX or AR.

## `bulkZips` (type: `array`):

Keep only these 5-digit ZIP codes. One per line.

## `bulkCountyCode` (type: `string`):

Keep only one Texas county (official Comptroller code), or Out of State (000).

## `bulkOrganizationalTypes` (type: `array`):

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.

## `bulkRecordTypes` (type: `array`):

U = SOS file number, V = SOS certificate of authority, X = Comptroller-assigned number. One per line.

## `bulkRightToTransactCodes` (type: `array`):

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.

## `bulkSosStatusCodes` (type: `array`):

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.

## `bulkExemptReasonCodes` (type: `array`):

Keep only these franchise-tax exemption reason codes, for example 00 (not exempt), 19 (501(c)(3)), 24 (homeowners association). One per line.

## `bulkNaicsCodes` (type: `array`):

Keep only entities whose NAICS code starts with one of these 2-6 digit prefixes, for example 23 or 2381. One per line.

## `bulkHasSosFileNumber` (type: `string`):

Filter rows that do or do not have a current SOS/COA file number.

## `bulkExemptOnly` (type: `boolean`):

Keep only entities with a current franchise-tax exemption reason code.

## `bulkResponsibilityFrom` (type: `string`):

Earliest franchise-tax responsibility beginning date (YYYY-MM-DD).

## `bulkResponsibilityTo` (type: `string`):

Latest franchise-tax responsibility beginning date (YYYY-MM-DD).

## `bulkCharterFrom` (type: `string`):

Earliest SOS charter/registration date (YYYY-MM-DD).

## `bulkCharterTo` (type: `string`):

Latest SOS charter/registration date (YYYY-MM-DD).

## `bulkSosStatusFrom` (type: `string`):

Earliest SOS status date (YYYY-MM-DD).

## `bulkSosStatusTo` (type: `string`):

Latest SOS status date (YYYY-MM-DD).

## `bulkSortBy` (type: `string`):

Sort field for the bulk export.

## `bulkSortDirection` (type: `string`):

Ascending or descending.

## `maxItems` (type: `integer`):

Hard cap on emitted records. Bulk exports support up to 20,000 rows per run; split larger exports by filter.

## Actor input object example

```json
{
  "mode": "byTaxpayerNumber",
  "names": [],
  "taxpayerNumbers": [
    "10105504087"
  ],
  "sosFileNumbers": [],
  "entityUrls": [],
  "fetchDetails": true,
  "includeOfficers": true,
  "maxOfficers": 5,
  "enrichBulkDetails": false,
  "bulkName": "",
  "bulkNameMatch": "contains",
  "bulkCities": [],
  "bulkStates": [],
  "bulkZips": [],
  "bulkCountyCode": "any",
  "bulkOrganizationalTypes": [],
  "bulkRecordTypes": [],
  "bulkRightToTransactCodes": [],
  "bulkSosStatusCodes": [],
  "bulkExemptReasonCodes": [],
  "bulkNaicsCodes": [],
  "bulkHasSosFileNumber": "any",
  "bulkExemptOnly": false,
  "bulkResponsibilityFrom": "",
  "bulkResponsibilityTo": "",
  "bulkCharterFrom": "",
  "bulkCharterTo": "",
  "bulkSosStatusFrom": "",
  "bulkSosStatusTo": "",
  "bulkSortBy": "taxpayerName",
  "bulkSortDirection": "asc",
  "maxItems": 1
}
```

# Actor output Schema

## `businesses` (type: `string`):

Dataset containing all scraped Texas franchise tax account records.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "byTaxpayerNumber",
    "names": [],
    "taxpayerNumbers": [
        "10105504087"
    ],
    "sosFileNumbers": [],
    "entityUrls": [],
    "fetchDetails": true,
    "includeOfficers": true,
    "maxOfficers": 5,
    "enrichBulkDetails": false,
    "bulkName": "",
    "bulkNameMatch": "contains",
    "bulkCities": [],
    "bulkStates": [],
    "bulkZips": [],
    "bulkCountyCode": "any",
    "bulkOrganizationalTypes": [],
    "bulkRecordTypes": [],
    "bulkRightToTransactCodes": [],
    "bulkSosStatusCodes": [],
    "bulkExemptReasonCodes": [],
    "bulkNaicsCodes": [],
    "bulkHasSosFileNumber": "any",
    "bulkExemptOnly": false,
    "bulkResponsibilityFrom": "",
    "bulkResponsibilityTo": "",
    "bulkCharterFrom": "",
    "bulkCharterTo": "",
    "bulkSosStatusFrom": "",
    "bulkSosStatusTo": "",
    "bulkSortBy": "taxpayerName",
    "bulkSortDirection": "asc",
    "maxItems": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/texas-franchise-tax-right-to-transact-and-officer").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "byTaxpayerNumber",
    "names": [],
    "taxpayerNumbers": ["10105504087"],
    "sosFileNumbers": [],
    "entityUrls": [],
    "fetchDetails": True,
    "includeOfficers": True,
    "maxOfficers": 5,
    "enrichBulkDetails": False,
    "bulkName": "",
    "bulkNameMatch": "contains",
    "bulkCities": [],
    "bulkStates": [],
    "bulkZips": [],
    "bulkCountyCode": "any",
    "bulkOrganizationalTypes": [],
    "bulkRecordTypes": [],
    "bulkRightToTransactCodes": [],
    "bulkSosStatusCodes": [],
    "bulkExemptReasonCodes": [],
    "bulkNaicsCodes": [],
    "bulkHasSosFileNumber": "any",
    "bulkExemptOnly": False,
    "bulkResponsibilityFrom": "",
    "bulkResponsibilityTo": "",
    "bulkCharterFrom": "",
    "bulkCharterTo": "",
    "bulkSosStatusFrom": "",
    "bulkSosStatusTo": "",
    "bulkSortBy": "taxpayerName",
    "bulkSortDirection": "asc",
    "maxItems": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/texas-franchise-tax-right-to-transact-and-officer").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "byTaxpayerNumber",
  "names": [],
  "taxpayerNumbers": [
    "10105504087"
  ],
  "sosFileNumbers": [],
  "entityUrls": [],
  "fetchDetails": true,
  "includeOfficers": true,
  "maxOfficers": 5,
  "enrichBulkDetails": false,
  "bulkName": "",
  "bulkNameMatch": "contains",
  "bulkCities": [],
  "bulkStates": [],
  "bulkZips": [],
  "bulkCountyCode": "any",
  "bulkOrganizationalTypes": [],
  "bulkRecordTypes": [],
  "bulkRightToTransactCodes": [],
  "bulkSosStatusCodes": [],
  "bulkExemptReasonCodes": [],
  "bulkNaicsCodes": [],
  "bulkHasSosFileNumber": "any",
  "bulkExemptOnly": false,
  "bulkResponsibilityFrom": "",
  "bulkResponsibilityTo": "",
  "bulkCharterFrom": "",
  "bulkCharterTo": "",
  "bulkSosStatusFrom": "",
  "bulkSosStatusTo": "",
  "bulkSortBy": "taxpayerName",
  "bulkSortDirection": "asc",
  "maxItems": 1
}' |
apify call nimbryxo-studio/texas-franchise-tax-right-to-transact-and-officer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/texas-franchise-tax-right-to-transact-and-officer"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/iaXYA3eYgvwfWu7th/builds/zBdxwW5M2oMheeIVX/openapi.json
