---
type: "firecrawl-provider"
description: "Texas Comptroller of Public Accounts registries: franchise tax account status with the Public Information Report officers, directors and managers, registered agent and SOS registration, plus the sales and use tax permit holders and their permitted locations. Read from the anonymous JSON API behind comptroller.texas.gov's own search pages."
use_when: "Texas Comptroller of Public Accounts registries: franchise tax account status with the Public Information Report officers, directors and managers, registered agent and SOS registration, plus the sales and use tax permit holders and their permitted locations. Read from the anonymous JSON API behind comptroller.texas.gov's own search pages."
categories: "Public records"
capabilities: 6
credits_per_call: 5
---
# Texas Comptroller franchise tax account status and sales tax permits on Firecrawl Alexandria

Texas Comptroller of Public Accounts registries: franchise tax account status with the Public Information Report officers, directors and managers, registered agent and SOS registration, plus the sales and use tax permit holders and their permitted locations. Read from the anonymous JSON API behind comptroller.texas.gov's own search pages.

- Categories: Public records
- Category index: [Public records category](https://firecrawl.dev/alexandria/agents/categories/public-records)
- Provider key: `comptroller-texas-gov`
- Access: Firecrawl credits
- Cost: 5 credits per call

## More

- [Human guide](https://firecrawl.dev/app/alexandria/comptroller-texas-gov)
- [OpenAPI spec](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/openapi.json)

## Capabilities

- [Get franchise account](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/entities/get_franchise_account): Franchise tax account status for one Texas taxable entity: right to transact business in Texas, SOS registration status and file number, state of formation, mailing address, registered agent and office, and the officers, directors, managers and members from the latest Public Information Report (PIR) with their source (SOS or CPA filing).
- [Get sales tax permit holder](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/entities/get_sales_tax_permit_holder): One Texas sales and use tax permit holder by 11-digit taxpayer number: legal or individual name, FEIN, mailing address and permit status.
- [List sales tax locations](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/entities/list_sales_tax_locations): The permitted sales tax locations (outlets) of one Texas taxpayer: location number and name, address, permit start and end dates and ACTIVE/INACTIVE status. Paginated (page_size up to 100) with the site's total count; optional status filter and text filter.
- [Search franchise entities](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/entities/search_franchise_entities): Search the Texas franchise tax account status register by entity name, taxpayer number, federal EIN or Texas SOS file number. Returns the matching taxable entities (name, 11-digit taxpayer id, mailing zip) in one response: the register has no paging, a name that matches too many entities is refused by the site with the match count.
- [Search sales tax locations](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/entities/search_sales_tax_locations): Search Texas sales tax permitted locations by 5-digit ZIP code or by location (outlet) name, optionally limited to ACTIVE or INACTIVE permits. Paginated (page_size up to 100) with the site's total count; each row carries the holder's taxpayer_id.
- [Search sales tax permits](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/entities/search_sales_tax_permits): Search Texas sales and use tax permit holders by legal (business) name, individual owner name, federal EIN or taxpayer number, optionally limited to ACTIVE or INACTIVE permits. Paginated (page_size up to 100) with the site's total count.

## 1. Choose this provider when

Texas Comptroller of Public Accounts registries: franchise tax account status with the Public Information Report officers, directors and managers, registered agent and SOS registration, plus the sales and use tax permit holders and their permitted locations. Read from the anonymous JSON API behind comptroller.texas.gov's own search pages.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "comptroller-texas-gov",
  "capability": "entities/get_franchise_account",
  "options": {
    "taxpayer_id": "32090340699"
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `taxpayer_id` (string): Texas 11-digit taxpayer number, with or without the 1-8-2 dashes. Pattern: ^[0-9]{11}$|^[0-9]-[0-9]{8}-[0-9]{2}$. Example: `<taxpayer_id>`
- `url` (string): A pasted account status URL: https://comptroller.texas.gov/taxes/franchise/account-status/search/{taxpayer_id}. Example: `<url>`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "comptroller-texas-gov",
    capability: "entities/get_franchise_account",
    options: {
      taxpayer_id: "32090340699",
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "comptroller-texas-gov",
  "capability": "entities/get_franchise_account",
  "options": {
    "taxpayer_id": "32090340699"
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "comptroller-texas-gov",
    "capability": "entities/get_franchise_account",
    "options": {
      "taxpayer_id": "32090340699"
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'comptroller-texas-gov/entities/get_franchise_account' \
  --options '{"taxpayer_id":"32090340699"}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "comptroller-texas-gov",
  "capability": "entities/get_franchise_account",
  "options": {
    "taxpayer_id": "32090340699"
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "comptroller-texas-gov",
  "capability": "entities/get_franchise_account",
  "options": {
    "taxpayer_id": "32090340699"
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "dba_name": null,
  "ein": null,
  "last_updated": "2026-11-01T19:58:30.838Z",
  "layout_code": 13,
  "mailing_address": {
    "city": "AUSTIN",
    "state": "TX",
    "street": "3571 FAR WEST BLVD PMB 3900",
    "zip": "78731",
    "zip4": "3064"
  },
  "name": "TESLA MOTORS CLUB LLC",
  "observed_at_ms": 1793563479194,
  "officer_count": 2,
  "officers": [
    {
      "active_year": "2026",
      "city": "LAS VEGAS",
      "name": "DANIEL SACKS",
      "source": "SOS",
      "state": "NV",
      "street": "9280 ENCOUNTER AVE",
      "title": "DIRECTOR",
      "zip": "89143"
    },
    {
      "active_year": "2026",
      "city": "LAS VEGAS",
      "name": "DANIEL SACKS",
      "source": "SOS",
      "state": "NV",
      "street": "9280 ENCOUNTER AVE",
      "title": "MANAGING P",
      "zip": "89143"
    }
  ],
  "registered_agent": {
    "city": "AUSTIN",
    "name": "REGISTERED AGENTS INC.",
    "state": "TX",
    "street": "5900 BALCONES DRIVE, SUITE 100",
    "zip": "78731"
  },
  "report_year": "2026",
  "right_to_transact_tx": "ACTIVE",
  "right_to_transact_tx_link": null,
  "sos_file_number": "0805105776",
  "sos_registration_effective_date": "2023-06-09",
  "sos_registration_status": "ACTIVE",
  "source_url": "https://comptroller.texas.gov/taxes/franchise/account-status/search/32090340699",
  "state_of_formation": "TX",
  "taxpayer_id": "32090340699"
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Get franchise account

- Capability: `entities/get_franchise_account`
- Description: Franchise tax account status for one Texas taxable entity: right to transact business in Texas, SOS registration status and file number, state of formation, mailing address, registered agent and office, and the officers, directors, managers and members from the latest Public Information Report (PIR) with their source (SOS or CPA filing).
- Instructions: The taxpayer_id comes from search_franchise_entities (or from a pasted account-status URL). A taxpayer that exists only in the sales tax register is reported as not_found with the site's `not set up for Franchise Tax` message.
- Cost: 5 credits per call
- Capability file: [Get franchise account](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/entities/get_franchise_account)

Accepted options:
- `taxpayer_id` (string): Texas 11-digit taxpayer number, with or without the 1-8-2 dashes. Pattern: ^[0-9]{11}$|^[0-9]-[0-9]{8}-[0-9]{2}$. Example: `<taxpayer_id>`
- `url` (string): A pasted account status URL: https://comptroller.texas.gov/taxes/franchise/account-status/search/{taxpayer_id}. Example: `<url>`

Response schema example:
```json
{
  "dba_name": null,
  "ein": null,
  "last_updated": "2026-11-01T19:58:30.838Z",
  "layout_code": 13,
  "mailing_address": {
    "city": "AUSTIN",
    "state": "TX",
    "street": "3571 FAR WEST BLVD PMB 3900",
    "zip": "78731",
    "zip4": "3064"
  },
  "name": "TESLA MOTORS CLUB LLC",
  "observed_at_ms": 1793563479194,
  "officer_count": 2,
  "officers": [
    {
      "active_year": "2026",
      "city": "LAS VEGAS",
      "name": "DANIEL SACKS",
      "source": "SOS",
      "state": "NV",
      "street": "9280 ENCOUNTER AVE",
      "title": "DIRECTOR",
      "zip": "89143"
    },
    {
      "active_year": "2026",
      "city": "LAS VEGAS",
      "name": "DANIEL SACKS",
      "source": "SOS",
      "state": "NV",
      "street": "9280 ENCOUNTER AVE",
      "title": "MANAGING P",
      "zip": "89143"
    }
  ],
  "registered_agent": {
    "city": "AUSTIN",
    "name": "REGISTERED AGENTS INC.",
    "state": "TX",
    "street": "5900 BALCONES DRIVE, SUITE 100",
    "zip": "78731"
  },
  "report_year": "2026",
  "right_to_transact_tx": "ACTIVE",
  "right_to_transact_tx_link": null,
  "sos_file_number": "0805105776",
  "sos_registration_effective_date": "2023-06-09",
  "sos_registration_status": "ACTIVE",
  "source_url": "https://comptroller.texas.gov/taxes/franchise/account-status/search/32090340699",
  "state_of_formation": "TX",
  "taxpayer_id": "32090340699"
}
```

### Get sales tax permit holder

- Capability: `entities/get_sales_tax_permit_holder`
- Description: One Texas sales and use tax permit holder by 11-digit taxpayer number: legal or individual name, FEIN, mailing address and permit status.
- Instructions: Confirm the sales tax permit record behind a taxpayer_id from any search; use list_sales_tax_locations for the permitted outlets.
- Cost: 5 credits per call
- Capability file: [Get sales tax permit holder](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/entities/get_sales_tax_permit_holder)

Accepted options:
- `taxpayer_id` (string, required): Texas 11-digit taxpayer number, with or without the 1-8-2 dashes. Pattern: ^[0-9]{11}$|^[0-9]-[0-9]{8}-[0-9]{2}$. Example: `<taxpayer_id>`

Response schema example:
```json
{
  "observed_at_ms": 1793563506654,
  "permit_holder": {
    "business_name": "TESLA, INC.",
    "city": "AUSTIN",
    "fei_number": "912197729",
    "first_name": null,
    "foreign_country": null,
    "foreign_postal_code": null,
    "foreign_province": null,
    "individual_name": null,
    "last_name": null,
    "middle_name": null,
    "name_prefix": null,
    "name_suffix": null,
    "state": "TX",
    "status": "ACTIVE",
    "street": "1 TESLA RD",
    "taxpayer_id": "19121977292",
    "zip": "78725",
    "zip4": "4400"
  },
  "source_url": "https://comptroller.texas.gov/taxes/sales/taxpayer-search.php"
}
```

### List sales tax locations

- Capability: `entities/list_sales_tax_locations`
- Description: The permitted sales tax locations (outlets) of one Texas taxpayer: location number and name, address, permit start and end dates and ACTIVE/INACTIVE status. Paginated (page_size up to 100) with the site's total count; optional status filter and text filter.
- Instructions: After search_sales_tax_permits or get_sales_tax_permit_holder, to list every store, office or outlet a business holds a Texas sales tax permit for.
- Cost: 5 credits per call
- Capability file: [List sales tax locations](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/entities/list_sales_tax_locations)

Accepted options:
- `filter` (string): Free-text filter over the location columns (the site's globalFilter). Example: `<filter>`
- `page` (number): page Example: `1`
- `page_size` (number): page_size Example: `25`
- `sort_by` (string): Sort column (the site's default is location_number). Example: `taxpayer_id`
- `sort_order` (string): sort_order Example: `ASC`
- `status` (string): status Example: `ACTIVE`
- `taxpayer_id` (string, required): Texas 11-digit taxpayer number, with or without the 1-8-2 dashes. Pattern: ^[0-9]{11}$|^[0-9]-[0-9]{8}-[0-9]{2}$. Example: `<taxpayer_id>`

Response schema example:
```json
{
  "has_more": true,
  "locations": [
    {
      "city": "HOUSTON",
      "location_name": "TESLA MOTORS INC",
      "location_number": "00001",
      "permit_end_date": "2011-10-31",
      "permit_start_date": "2011-10-22",
      "state": "TX",
      "status": "INACTIVE",
      "street": "5085 WESTHEIMER RD STE 5250A",
      "taxpayer_id": "19121977292",
      "zip": "77056"
    },
    {
      "city": "HOUSTON",
      "location_name": "TESLA MOTORS",
      "location_number": "00002",
      "permit_end_date": null,
      "permit_start_date": "2011-10-01",
      "state": "TX",
      "status": "ACTIVE",
      "street": "5135 W ALABAMA ST STE 5250A",
      "taxpayer_id": "19121977292",
      "zip": "77056"
    },
    {
      "city": "DALLAS",
      "location_name": "TESLA, INC.",
      "location_number": "00003",
      "permit_end_date": "2025-03-31",
      "permit_start_date": "2019-01-01",
      "state": "TX",
      "status": "INACTIVE",
      "street": "13350 DALLAS PKWY",
      "taxpayer_id": "19121977292",
      "zip": "75240"
    },
    {
      "city": "SAN ANTONIO",
      "location_name": "TESLA, INC.",
      "location_number": "00004",
      "permit_end_date": null,
      "permit_start_date": "2019-01-01",
      "state": "TX",
      "status": "ACTIVE",
      "street": "15900 LA CANTERA PKWY",
      "taxpayer_id": "19121977292",
      "zip": "78256"
    },
    {
      "city": "TYLER",
      "location_name": "TESLA, INC.",
      "location_number": "00005",
      "permit_end_date": null,
      "permit_start_date": "2019-04-26",
      "state": "TX",
      "status": "ACTIVE",
      "street": "2408 S SOUTHWEST LOOP 323",
      "taxpayer_id": "19121977292",
      "zip": "75701"
    },
    {
      "city": "CORPUS CHRISTI",
      "location_name": "TESLA, INC.",
      "location_number": "00006",
      "permit_end_date": null,
      "permit_start_date": "2019-04-26",
      "state": "TX",
      "status": "ACTIVE",
      "street": "3605 S PADRE ISLAND DR",
      "taxpayer_id": "19121977292",
      "zip": "78415"
    },
    {
      "city": "KATY",
      "location_name": "TESLA, INC.",
      "location_number": "00009",
      "permit_end_date": null,
      "permit_start_date": "2023-01-01",
      "state": "TX",
      "status": "ACTIVE",
      "street": "27867 CS PARKSIDE ST",
      "taxpayer_id": "19121977292",
      "zip": "77494"
    },
    {
      "city": "SUGAR LAND",
      "location_name": "TESLA, INC.",
      "location_number": "00010",
      "permit_end_date": null,
      "permit_start_date": "2023-06-28",
      "state": "TX",
      "status": "ACTIVE",
      "street": "4989 SWEETWATER BLVD UNIT CS",
      "taxpayer_id": "19121977292",
      "zip": "77479"
    },
    {
      "city": "HOUSTON",
      "location_name": "TESLA, INC.",
      "location_number": "00011",
      "permit_end_date": null,
      "permit_start_date": "2023-10-23",
      "state": "TX",
      "status": "ACTIVE",
      "street": "6010 RICHMOND AVE",
      "taxpayer_id": "19121977292",
      "zip": "77057"
    },
    {
      "city": "AUSTIN",
      "location_name": "TESLA, INC.",
      "location_number": "00012",
      "permit_end_date": null,
      "permit_start_date": "2023-10-01",
      "state": "TX",
      "status": "ACTIVE",
      "street": "3520 WADLEY PL",
      "taxpayer_id": "19121977292",
      "zip": "78728"
    }
  ],
  "next_page": 2,
  "observed_at_ms": 1793563517780,
  "page": 1,
  "page_size": 10,
  "query": {},
  "returned": 10,
  "source_url": "https://comptroller.texas.gov/taxes/sales/taxpayer-search.php",
  "taxpayer_id": "19121977292",
  "total_count": 15
}
```

### Search franchise entities

- Capability: `entities/search_franchise_entities`
- Description: Search the Texas franchise tax account status register by entity name, taxpayer number, federal EIN or Texas SOS file number. Returns the matching taxable entities (name, 11-digit taxpayer id, mailing zip) in one response: the register has no paging, a name that matches too many entities is refused by the site with the match count.
- Instructions: Start here to find the 11-digit taxpayer_id of a Texas LLC, corporation or partnership; pass it to get_franchise_account for status, registered agent and officers.
- Cost: 5 credits per call
- Capability file: [Search franchise entities](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/entities/search_franchise_entities)

Accepted options:
- `ein` (string): 9-digit federal employer identification number (FEIN), with or without the dash. Pattern: ^[0-9]{9}$|^[0-9]{2}-[0-9]{7}$. Example: `<ein>`
- `name` (string): Entity name fragment, 2 to 50 characters (the site refuses `<` and `>`). Matches names that start with or contain the text; a very common word (e.g. `Texas`) is refused by the site as too broad and this function returns invalid_input with the site's match count. Pattern: ^[^<>]{2,50}$. Example: `<`
- `sos_file_number` (string): Texas Secretary of State file number, 6 to 10 digits (the site left-pads to 10). Pattern: ^[0-9]{6,10}$. Example: `<sos_file_number>`
- `taxpayer_id` (string): Texas 11-digit taxpayer number, with or without the 1-8-2 dashes (e.g. `32090340699` or `3-20903406-99`). Pattern: ^[0-9]{11}$|^[0-9]-[0-9]{8}-[0-9]{2}$. Example: `32090340699`

Response schema example:
```json
{
  "count": 9,
  "entities": [
    {
      "detail_url": "https://comptroller.texas.gov/taxes/franchise/account-status/search/32042029937",
      "mailing_zip": "94538",
      "name": "TESLA MOTORS LEASING, INC.",
      "taxpayer_id": "32042029937"
    },
    {
      "detail_url": "https://comptroller.texas.gov/taxes/franchise/account-status/search/32044955949",
      "mailing_zip": "75201",
      "name": "TESLA MOTORS, INC.",
      "taxpayer_id": "32044955949"
    },
    {
      "detail_url": "https://comptroller.texas.gov/taxes/franchise/account-status/search/32049331096",
      "mailing_zip": "94555",
      "name": "TESLA MOTORS TX, INC.",
      "taxpayer_id": "32049331096"
    },
    {
      "detail_url": "https://comptroller.texas.gov/taxes/franchise/account-status/search/32052341347",
      "mailing_zip": "94304",
      "name": "TESLA MOTORS MA, INC",
      "taxpayer_id": "32052341347"
    },
    {
      "detail_url": "https://comptroller.texas.gov/taxes/franchise/account-status/search/32052341370",
      "mailing_zip": "94304",
      "name": "TESLA MOTORS PA, INC.",
      "taxpayer_id": "32052341370"
    },
    {
      "detail_url": "https://comptroller.texas.gov/taxes/franchise/account-status/search/32062304863",
      "mailing_zip": "94538",
      "name": "TESLA MOTORS NEW YORK, LLC",
      "taxpayer_id": "32062304863"
    },
    {
      "detail_url": "https://comptroller.texas.gov/taxes/franchise/account-status/search/32077297615",
      "mailing_zip": "84020",
      "name": "TESLA MOTORS NETHERLANDS B.V",
      "taxpayer_id": "32077297615"
    },
    {
      "detail_url": "https://comptroller.texas.gov/taxes/franchise/account-status/search/32090340699",
      "mailing_zip": "78731",
      "name": "TESLA MOTORS CLUB LLC",
      "taxpayer_id": "32090340699"
    },
    {
      "detail_url": "https://comptroller.texas.gov/taxes/franchise/account-status/search/32099016548",
      "mailing_zip": "78725",
      "name": "TESLA MOTORS NV, INC.",
      "taxpayer_id": "32099016548"
    }
  ],
  "observed_at_ms": 1793563467528,
  "query": {
    "field": "name",
    "value": "Tesla Motors"
  },
  "source_url": "https://comptroller.texas.gov/taxes/franchise/account-status/"
}
```

### Search sales tax locations

- Capability: `entities/search_sales_tax_locations`
- Description: Search Texas sales tax permitted locations by 5-digit ZIP code or by location (outlet) name, optionally limited to ACTIVE or INACTIVE permits. Paginated (page_size up to 100) with the site's total count; each row carries the holder's taxpayer_id.
- Instructions: Find which businesses hold sales tax permits in a ZIP code, or locate a store by its trade name when the legal name is unknown; chain taxpayer_id into get_sales_tax_permit_holder or get_franchise_account.
- Cost: 5 credits per call
- Capability file: [Search sales tax locations](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/entities/search_sales_tax_locations)

Accepted options:
- `location_name` (string): location_name Example: `<location_name>`
- `page` (number): page Example: `1`
- `page_size` (number): page_size Example: `25`
- `sort_by` (string): Sort column (the site's default is location_name). Example: `taxpayer_id`
- `sort_order` (string): sort_order Example: `ASC`
- `status` (string): status Example: `ACTIVE`
- `zip_code` (string): Pattern: ^[0-9]{5}$. Example: `<zip_code>`

Response schema example:
```json
{
  "has_more": true,
  "locations": [
    {
      "city": "ARLINGTON",
      "location_name": "TESLA",
      "location_number": "00001",
      "permit_end_date": null,
      "permit_start_date": "2017-02-01",
      "state": "TX",
      "status": "INACTIVE",
      "street": "1200 BALLPARK WAY",
      "taxpayer_id": "32052717215",
      "zip": "76011"
    },
    {
      "city": "AUSTIN",
      "location_name": "TESLA",
      "location_number": "00001",
      "permit_end_date": "2025-04-30",
      "permit_start_date": "2021-09-01",
      "state": "TX",
      "status": "INACTIVE",
      "street": "13100 HAROLD GREEN DR",
      "taxpayer_id": "32076574519",
      "zip": "78725"
    },
    {
      "city": "DALLAS",
      "location_name": "TESLA ACOUSTICS LIMITED",
      "location_number": "00001",
      "permit_end_date": "1996-12-31",
      "permit_start_date": "1986-06-01",
      "state": "TX",
      "status": "INACTIVE",
      "street": "6302 SHADY BROOK LN APT 1102",
      "taxpayer_id": "32006402930",
      "zip": "75206"
    },
    {
      "city": "PLANO",
      "location_name": "TESLA ALARM AND ELECTRICAL",
      "location_number": "00001",
      "permit_end_date": null,
      "permit_start_date": "2024-12-16",
      "state": "TX",
      "status": "ACTIVE",
      "street": "6010 W SPRING CREEK PKWY # 507",
      "taxpayer_id": "32070357671",
      "zip": "75024"
    },
    {
      "city": "MILFORD",
      "location_name": "TESLA BIOHEALING, INC",
      "location_number": "00000",
      "permit_end_date": null,
      "permit_start_date": "2025-02-03",
      "state": "DE",
      "status": "ACTIVE",
      "street": "111 MCCOY ST",
      "taxpayer_id": "32098618872",
      "zip": "19963"
    }
  ],
  "next_page": 2,
  "observed_at_ms": 1793563528503,
  "page": 1,
  "page_size": 5,
  "query": {
    "location_name": "Tesla"
  },
  "returned": 5,
  "source_url": "https://comptroller.texas.gov/taxes/sales/taxpayer-search.php",
  "total_count": 81
}
```

### Search sales tax permits

- Capability: `entities/search_sales_tax_permits`
- Description: Search Texas sales and use tax permit holders by legal (business) name, individual owner name, federal EIN or taxpayer number, optionally limited to ACTIVE or INACTIVE permits. Paginated (page_size up to 100) with the site's total count.
- Instructions: Find sole proprietors, out-of-state sellers and other permit holders that are not in the franchise tax register, or confirm a business holds an active Texas sales tax permit. Chain the taxpayer_id into list_sales_tax_locations or get_franchise_account.
- Cost: 5 credits per call
- Capability file: [Search sales tax permits](https://firecrawl.dev/alexandria/agents/providers/comptroller-texas-gov/entities/search_sales_tax_permits)

Accepted options:
- `business_name` (string): Legal business name fragment (search_type legal_name). Example: `<business_name>`
- `fein` (string): 9-digit federal employer identification number, with or without the dash. Pattern: ^[0-9]{9}$|^[0-9]{2}-[0-9]{7}$. Example: `<fein>`
- `first_name` (string): first_name Example: `<first_name>`
- `last_name` (string): last_name Example: `<last_name>`
- `middle_name` (string): middle_name Example: `<middle_name>`
- `page` (number): 1-based page; the next page number is also returned as the continuation cursor. Example: `1`
- `page_size` (number): Rows per page, at most 100 (the site's cap). Example: `25`
- `search_type` (string, required): `legal_name` needs business_name; `name` needs first_name and last_name (middle_name optional); `fein` needs fein; `taxpayer_id` needs taxpayer_id. Example: `legal_name`
- `sort_by` (string): Sort column (the site's default is taxpayer_id). Example: `taxpayer_id`
- `sort_order` (string): sort_order Example: `ASC`
- `status` (string): Permit status filter; omit for both. Example: `ACTIVE`
- `taxpayer_id` (string): Texas 11-digit taxpayer number, with or without the 1-8-2 dashes. Pattern: ^[0-9]{11}$|^[0-9]-[0-9]{8}-[0-9]{2}$. Example: `<taxpayer_id>`

Response schema example:
```json
{
  "has_more": true,
  "next_page": 2,
  "observed_at_ms": 1793563495961,
  "page": 1,
  "page_size": 10,
  "permit_holders": [
    {
      "business_name": "TESLA, LP",
      "city": "EL PASO",
      "fei_number": "260894778",
      "first_name": null,
      "foreign_country": null,
      "foreign_postal_code": null,
      "foreign_province": null,
      "individual_name": null,
      "last_name": null,
      "middle_name": null,
      "name_prefix": null,
      "name_suffix": null,
      "state": "TX",
      "status": "INACTIVE",
      "street": "7740 BIG BEND DR",
      "taxpayer_id": "12608947789",
      "zip": "79904",
      "zip4": "3538"
    },
    {
      "business_name": "TESLATRONICS INC",
      "city": "SAN ANTONIO",
      "fei_number": "742420467",
      "first_name": null,
      "foreign_country": null,
      "foreign_postal_code": null,
      "foreign_province": null,
      "individual_name": null,
      "last_name": null,
      "middle_name": null,
      "name_prefix": null,
      "name_suffix": null,
      "state": "TX",
      "status": "INACTIVE",
      "street": "12011 ROSE BLOSSOM ST",
      "taxpayer_id": "17424204679",
      "zip": "78247",
      "zip4": "4333"
    },
    {
      "business_name": "TESLA POWER AND AUTOMATION INC",
      "city": "HOUSTON",
      "fei_number": "760238921",
      "first_name": null,
      "foreign_country": null,
      "foreign_postal_code": null,
      "foreign_province": null,
      "individual_name": null,
      "last_name": null,
      "middle_name": null,
      "name_prefix": null,
      "name_suffix": null,
      "state": "TX",
      "status": "INACTIVE",
      "street": "6510 BOURGEOIS RD STE 100",
      "taxpayer_id": "17602389219",
      "zip": "77066",
      "zip4": "3111"
    },
    {
      "business_name": "TESLA POWER AND AUTOMATION L. P.",
      "city": "HOUSTON",
      "fei_number": "760592351",
      "first_name": null,
      "foreign_country": "USA",
      "foreign_postal_code": null,
      "foreign_province": null,
      "individual_name": null,
      "last_name": null,
      "middle_name": null,
      "name_prefix": null,
      "name_suffix": null,
      "state": "TX",
      "status": "INACTIVE",
      "street": "6510 BOURGEOIS RD STE 100",
      "taxpayer_id": "17605923519",
      "zip": "77066",
      "zip4": "3110"
    },
    {
      "business_name": "TESLA ELECTRIC INC",
      "city": "AUSTIN",
      "fei_number": "810576461",
      "first_name": null,
      "foreign_country": null,
      "foreign_postal_code": null,
      "foreign_province": null,
      "individual_name": null,
      "last_name": null,
      "middle_name": null,
      "name_prefix": null,
      "name_suffix": null,
      "state": "TX",
      "status": "INACTIVE",
      "street": "11222 APPLEWOOD DR",
      "taxpayer_id": "18105764619",
      "zip": "78758",
      "zip4": "4206"
    },
    {
      "business_name": "TESLA, INC.",
      "city": "AUSTIN",
      "fei_number": "912197729",
      "first_name": null,
      "foreign_country": null,
      "foreign_postal_code": null,
      "foreign_province": null,
      "individual_name": null,
      "last_name": null,
      "middle_name": null,
      "name_prefix": null,
      "name_suffix": null,
      "state": "TX",
      "status": "ACTIVE",
      "street": "1 TESLA RD",
      "taxpayer_id": "19121977292",
      "zip": "78725",
      "zip4": "4400"
    },
    {
      "business_name": "TESLA ENERGY OPERATIONS, INC.",
      "city": "AUSTIN",
      "fei_number": "020781046",
      "first_name": null,
      "foreign_country": null,
      "foreign_postal_code": null,
      "foreign_province": null,
      "individual_name": null,
      "last_name": null,
      "middle_name": null,
      "name_prefix": null,
      "name_suffix": null,
      "state": "TX",
      "status": "ACTIVE",
      "street": "1 TESLA RD",
      "taxpayer_id": "32041002968",
      "zip": "78725",
      "zip4": "4400"
    },
    {
      "business_name": "TESLA EXPLORATION INC.",
      "city": "CASTLE ROCK",
      "fei_number": "990363497",
      "first_name": null,
      "foreign_country": null,
      "foreign_postal_code": null,
      "foreign_province": null,
      "individual_name": null,
      "last_name": null,
      "middle_name": null,
      "name_prefix": null,
      "name_suffix": null,
      "state": "CO",
      "status": "INACTIVE",
      "street": "3613 N US HIGHWAY 85",
      "taxpayer_id": "32043389058",
      "zip": "80108",
      "zip4": "9459"
    },
    {
      "business_name": "TESLA INDUSTRIES INC",
      "city": "HOUSTON",
      "fei_number": "454574388",
      "first_name": null,
      "foreign_country": null,
      "foreign_postal_code": null,
      "foreign_province": null,
      "individual_name": null,
      "last_name": null,
      "middle_name": null,
      "name_prefix": null,
      "name_suffix": null,
      "state": "TX",
      "status": "INACTIVE",
      "street": "6826 LINDBERGH ST",
      "taxpayer_id": "32046917749",
      "zip": "77087",
      "zip4": "5119"
    },
    {
      "business_name": "TESLA TURBO INC.",
      "city": "MISSOURI CITY",
      "fei_number": null,
      "first_name": null,
      "foreign_country": null,
      "foreign_postal_code": null,
      "foreign_province": null,
      "individual_name": null,
      "last_name": null,
      "middle_name": null,
      "name_prefix": null,
      "name_suffix": null,
      "state": "TX",
      "status": "ACTIVE",
      "street": "4115 JETTY TERRACE CIR",
      "taxpayer_id": "32049571469",
      "zip": "77459",
      "zip4": "1705"
    }
  ],
  "query": {
    "business_name": "Tesla",
    "search_type": "legal_name"
  },
  "returned": 10,
  "source_url": "https://comptroller.texas.gov/taxes/sales/taxpayer-search.php",
  "total_count": 36
}
```
