# IRS Tax Preparer Directory: CPAs & Enrolled Agents (`hydrocore/irs-tax-preparer-directory`) Actor

Export US tax preparers from the official IRS PTIN FOIA list by state, city or ZIP. Get name, firm, credentials (CPA, EA, attorney), phone, website and business address. B2B leads for tax software, insurance, staffing and accounting services.

- **URL**: https://apify.com/hydrocore/irs-tax-preparer-directory.md
- **Developed by:** [Hydrocore Data](https://apify.com/hydrocore) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.80 / 1,000 tax preparers

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

Learn more: https://docs.apify.com/actors/running/actors-in-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

## IRS Tax Preparer Directory: CPAs & Enrolled Agents

Export **US tax preparers** from the official [IRS PTIN FOIA list](https://www.irs.gov/tax-professionals/ptin-information-and-the-freedom-of-information-act) as clean, filterable rows: **name, firm, credentials (CPA, Enrolled Agent, attorney, AFSP), phone, website and business address**. Pick states, cities or ZIP codes and get a lead list in seconds.

The IRS publishes PTIN holders who list a business address, about 800,000 people nationwide, as zipped CSV files per state. This actor downloads the official files, cleans names and phones, adds plain-English credential labels and dedupes.

### Who uses it

- **Tax software and practice-management vendors** (e-file, client portals, payroll): build territory lists of preparers and firms.
- **Professional liability (E\&O) insurers and brokers**: target CPAs and EAs by state.
- **Staffing and seasonal hiring firms**: find tax shops before filing season.
- **CPE providers, associations and marketing agencies** selling to accountants.
- **Fintech and refund-transfer banks** looking for independent preparers.

### Why this actor

- Official public IRS source, no login, no proxies, no scraping of private sites.
- Credential filters (CPA, EA, ATTY, AFSP, unenrolled), city and ZIP filters, website/phone-only switches.
- Monitor mode (`onlyNew`) to get only preparers who appear in a new IRS release.
- Clean output: title-case names, `555-555-5555` phones, clickable `websiteUrl`, credential arrays.

### 💡 Use cases

**Apify Store use cases:** Generate leads · Contact details · Enrich company profiles

### Input example

```json
{
  "states": ["TX"],
  "professions": ["EA"],
  "cities": ["Houston"],
  "requirePhone": true,
  "maxResults": 200
}
```

### ⬆️ Output

Views: **Overview**, **Firms & contacts**, **Detailed**. The last row is a `RUN_SUMMARY`; filter by `recordType = "preparer"`.

```json
{
  "recordType": "preparer",
  "fullName": "Katrina Carney",
  "businessName": "Carney & Associates LLC",
  "credentials": ["CPA"],
  "credentialLabels": ["Certified Public Accountant"],
  "isCpa": true,
  "phone": "907-376-2191",
  "websiteUrl": "https://carneyllc.com",
  "city": "Wasilla",
  "state": "AK",
  "postalCode": "99687"
}
```

#### Output fields

| Field | Description |
|---|---|
| `recordType` | preparer or RUN_SUMMARY |
| `preparerId` | Stable dedupe key (state:name|firm|zip) |
| `fullName` | Preparer name |
| `firstName` | First name |
| `middleName` | Middle name |
| `lastName` | Last name |
| `businessName` | Firm or DBA name |
| `credentials` | IRS profession codes (CPA, EA, ATTY, CAA, SRTP, ERPA) |
| `credentialLabels` | Plain-English credentials |
| `isCpa` | Holds a CPA credential |
| `isEnrolledAgent` | Holds the EA credential |
| `isAttorney` | Is an attorney |
| `hasAfspRecord` | IRS Annual Filing Season Program record of completion |
| `phone` | Business phone |
| `website` | Website as listed |
| `websiteUrl` | Website as a clickable URL |
| `street` | Business street address |
| `city` | Business city |
| `state` | Business state code |
| `postalCode` | Business ZIP code |
| `source` | Data source |
| `sourceFile` | IRS file used |
| `scrapedAt` | Fetch timestamp (ISO 8601) |

### 💰 Pricing

Pay per preparer saved plus a small start fee. Rows you filter out are free.

### Ready-made examples

Open one, click **Try for free** and change the inputs to your own:

- [CPA tax preparers in Texas with phone numbers](https://apify.com/hydrocore/irs-tax-preparer-directory/examples/cpa-tax-preparers-texas-with-phone)

### FAQ

**Is this legal?** Yes. The IRS releases this list publicly under the Freedom of Information Act. Follow CAN-SPAM, TCPA and do-not-call rules when you contact anyone, and honor opt-outs.

**How fresh is it?** The IRS updates the files about twice a year; the actor always downloads the current release.

**Emails?** The IRS list has no emails. Pair it with a website contact finder on the `websiteUrl` column.

### Changelog

- 1.0: First release.

# Actor input Schema

## `states` (type: `array`):

2-letter US state codes (business address state), e.g. CA, TX, NY, FL. Each state is one official IRS file.

## `professions` (type: `array`):

Keep preparers with any of: CPA, EA (Enrolled Agent), ATTY (attorney), CAA, SRTP, ERPA, AFSP, or NONE (unenrolled preparers).

## `cities` (type: `array`):

Exact city names, case-insensitive, e.g. Las Vegas, Reno.

## `zipPrefixes` (type: `array`):

e.g. 891 or 89052.

## `nameKeywords` (type: `array`):

e.g. tax, accounting, H\&R.

## `requireWebsite` (type: `boolean`):

Skip rows without a website.

## `requirePhone` (type: `boolean`):

Skip rows without a phone.

## `afspOnly` (type: `boolean`):

Keep only preparers with an Annual Filing Season Program record.

## `maxResults` (type: `integer`):

Stop after this many rows (you pay per preparer).

## `onlyNew` (type: `boolean`):

Skip preparers returned in earlier runs with the same monitor key. The IRS refreshes the list about twice a year.

## `monitorKey` (type: `string`):

Separate seen-lists per watchlist. Example: daily-watch-1.

## Actor input object example

```json
{
  "states": [
    "NV"
  ],
  "requireWebsite": false,
  "requirePhone": false,
  "afspOnly": false,
  "maxResults": 100,
  "onlyNew": false,
  "monitorKey": "default"
}
```

# Actor output Schema

## `overview` (type: `string`):

Name, firm, credentials, phone, website and location

## `firms` (type: `string`):

Outreach-ready firm contact columns

## `results` (type: `string`):

Every field for each row.

## `summary` (type: `string`):

Counts and filter stats.

# 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 = {
    "states": [
        "NV"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("hydrocore/irs-tax-preparer-directory").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 = {
    "states": ["NV"],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("hydrocore/irs-tax-preparer-directory").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 '{
  "states": [
    "NV"
  ],
  "maxResults": 100
}' |
apify call hydrocore/irs-tax-preparer-directory --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hydrocore/irs-tax-preparer-directory"
        }
    }
}
```

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/ueJowumVajhER9KP1/builds/daPdUBJpm7dAiYUMZ/openapi.json
