# Hunter — Pipedream Connect

> Verify professional email addresses

- API slug: `hunter` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: CRM
- Website: https://hunter.io
- This page (HTML): https://pipedream.com/apps/hunter
- Tools: 13 actions · 0 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: hunter`

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "hunter",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Account Information:
const result = await mcp.callTool({
  name: "hunter-account-information",
  arguments: {},
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a Hunter endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.hunter.io/v2/domain-search

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuaHVudGVyLmlvL3YyL2RvbWFpbi1zZWFyY2g?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "hunter-account-information",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    hunter: { authProvisionId: "apn_xxxxxxx" },
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (13)

### `hunter-account-information` — Account Information (Read-only)

Get information about your Hunter account. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/account-information.md

### `hunter-combined-enrichment` — Combined Enrichment (Write)

Returns all the information associated with an email address and its domain name. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/combined-enrichment.md

### `hunter-create-lead` — Create Lead (Write)

Create a new lead in your Hunter account. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/create-lead.md

### `hunter-delete-lead` — Delete Lead (Write)

Delete an existing lead from your Hunter account. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/delete-lead.md

### `hunter-domain-search` — Domain Search (Read-only)

Search all the email addresses corresponding to one website or company. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/domain-search.md

### `hunter-email-count` — Email Count (Read-only)

Get the number of email addresses Hunter has for one domain or company. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/email-count.md

### `hunter-email-finder` — Email Finder (Read-only)

Find the most likely email address from a domain name, a first name and a last name. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/email-finder.md

### `hunter-email-verifier` — Email Verifier (Read-only)

Check the deliverability of a given email address, verify if it has been found in Hunter's database, and return their sources. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/email-verifier.md

### `hunter-get-lead` — Get Lead (Read-only)

Retrieve one of your leads by ID. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/get-lead.md

### `hunter-get-leads-list` — Get Leads List (Read-only)

Retrieves all the fields of a leads list, including its leads. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/get-leads-list.md

### `hunter-list-leads` — List Leads (Read-only)

List all your leads with comprehensive filtering options. The leads are returned in sorted order, with the most recent leads appearing first. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/list-leads.md

### `hunter-list-leads-lists` — List Leads Lists (Read-only)

List all your leads lists. The leads lists are returned in sorted order, with the most recent leads lists appearing first. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/list-leads-lists.md

### `hunter-update-lead` — Update Lead (Write)

Update an existing lead in your Hunter account. See the documentation.

Full schema: https://pipedream.com/apps/hunter/actions/update-lead.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
