> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gethuntd.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Pull the people, companies and sources Huntd tracks for you, and check any email address in real time

The Huntd Enterprise API returns **your own Huntd data**: the people, companies and sources Huntd
tracks for your organization. A **source** is one product Huntd checks people or companies
against, such as Devin. Each source has a short id called a **slug**, such as `devin`.

The data endpoints are `GET` requests and **cost no credits**. Real-time checks are the one
exception: you submit them with a `POST` and a JSON body. Every response is JSON, except the two
stream endpoints, which return NDJSON (one JSON object per line).

> [card] [People](https://docs.gethuntd.com/api-reference/enterprise-api/list-people.md)
>
> The people Huntd tracks for you, one page at a time.

> [card] [Companies](https://docs.gethuntd.com/api-reference/enterprise-api/list-companies.md)
>
> The companies running the tools you track.

> [card] [Real-time checks](https://docs.gethuntd.com/api-reference/enterprise-api/submit-realtime-check.md)
>
> Ask right now whether an email address uses a product you track.

## Your first request

Fetch one person. Replace the key with your own.

```bash cURL theme={null}
curl "https://app.gethuntd.com/api/v1/public/people?limit=1" \
  -H "X-API-Key: hntd_abc12345_yoursecretkey"
```

```javascript JavaScript theme={null}
const response = await fetch('https://app.gethuntd.com/api/v1/public/people?limit=1', {
  headers: { 'X-API-Key': process.env.HUNTD_API_KEY }
});

const body = await response.json();
if (!body.success) throw new Error(body.error.code);
console.log(body.data[0]);
```

```python Python theme={null}
import os
import requests

response = requests.get(
    'https://app.gethuntd.com/api/v1/public/people',
    params={'limit': 1},
    headers={'X-API-Key': os.environ['HUNTD_API_KEY']}
)

body = response.json()
if not body['success']:
    raise RuntimeError(body['error']['code'])
print(body['data'][0])
```

You get back a page of people:

```json theme={null}
{
  "success": true,
  "pagination": { "page": 1, "limit": 1, "total": 842, "totalPages": 842 },
  "data": [
    {
      "id": "62381c7cc5fc496eff56fd60",
      "firstName": "Ada",
      "lastName": "Lovelace",
      "email": "ada@acme.com",
      "jobTitle": "VP Engineering",
      "seniority": "VP",
      "department": "Engineering",
      "jobFunction": "Engineering",
      "company": "Acme",
      "companyDomain": "acme.com",
      "companySize": 420,
      "industry": "software,information technology & services",
      "location": "San Francisco",
      "country": "United States",
      "linkedinUrl": "https://linkedin.com/in/example",
      "sources": ["devin"],
      "discoveredAt": "2026-07-31T17:28:28.725Z"
    }
  ]
}
```

An empty `sources` array means Huntd checked this person and found no user account. It does not
mean they are untracked. Add `is_user=true` to get confirmed users only.

## Which endpoint should I use?

| You want to | Use |
| - | - |
| Show a page of people or companies in a UI, with a total count | [List People](https://docs.gethuntd.com/api-reference/enterprise-api/list-people.md) or [List Companies](https://docs.gethuntd.com/api-reference/enterprise-api/list-companies.md) |
| Pull everything in one request, for a backfill or a nightly sync | [Stream People](https://docs.gethuntd.com/api-reference/enterprise-api/stream-people.md) or [Stream Companies](https://docs.gethuntd.com/api-reference/enterprise-api/stream-companies.md), scoped with `discovered_days` or `discovered_from`/`discovered_to` ([date filtering](https://docs.gethuntd.com/public-api/conventions.md#date-filtering)) |
| Get the source slugs to filter by `?source=` | [List Sources](https://docs.gethuntd.com/api-reference/enterprise-api/list-sources.md) |
| Know whether one email address is a user right now | [Submit Real-time Check](https://docs.gethuntd.com/api-reference/enterprise-api/submit-realtime-check.md), then [Get Real-time Check Result](https://docs.gethuntd.com/api-reference/enterprise-api/get-realtime-check-result.md) |
| See how many real-time checks you have left | [List Real-time Functions](https://docs.gethuntd.com/api-reference/enterprise-api/list-realtime-functions.md) |

## Plan

Enterprise plan. You create keys yourself in **Settings → API & webhooks**. An Enterprise key
can't call the [Tech tool integration](https://docs.gethuntd.com/api-reference/tech-tool-integration.md) endpoints, and a Tech
tool integration key can't call these.

> [!NOTE]
>
> Real-time checks are off by default, even on Enterprise. [Contact Huntd](mailto:support@gethuntd.com)
> to turn them on. Each address you check counts toward each function's checks for the current
> 30-day period. A function is the real-time check for one source.

## Authentication

Send your API key in the `X-API-Key` header:

```bash theme={null}
curl https://app.gethuntd.com/api/v1/public/sources \
  -H "X-API-Key: hntd_abc12345_yoursecretkey"
```

> [!TIP]
>
> `Authorization: Bearer <key>` also works. See [Authentication](https://docs.gethuntd.com/public-api/authentication.md) to
> create a key.

## Base URL

```text theme={null}
https://app.gethuntd.com/api/v1/public
```

## Rate limits

60 requests per minute per key. Every response carries `X-RateLimit-*` headers. A stream counts as
one request, however long it runs. See [Conventions](https://docs.gethuntd.com/public-api/conventions.md) for the response
envelope, pagination, date filters and every error code.

## Common errors

Errors return `success: false` and an `error` object. Branch on `error.code`, not `error.message`,
because the message may change.

```json theme={null}
{
  "success": false,
  "error": {
    "code": "INVALID_PARAMETER",
    "message": "`limit` may not exceed 1000."
  }
}
```

| HTTP | Code | What to do |
| - | - | - |
| 400 | `INVALID_PARAMETER` | A query parameter is malformed or out of range. Fix the request. |
| 401 | `INVALID_API_KEY` | The key is missing, malformed, unknown or revoked. Check the header. |
| 403 | `ENDPOINT_NOT_ON_PLAN` | Your plan doesn't include this endpoint. Check you're using an Enterprise key. On real-time endpoints, it also means real-time checks aren't turned on for your account. |
| 429 | `RATE_LIMIT_EXCEEDED` | Over 60 requests per minute. Wait the number of seconds in the `Retry-After` header, then retry. |

Each endpoint page lists every error it can return.

## All endpoints

### Your data

| Endpoint | Method | What it returns |
| - | - | - |
| [List Sources](https://docs.gethuntd.com/api-reference/enterprise-api/list-sources.md) | `GET /sources` | Sources tracked for your organization, with counts |
| [List People](https://docs.gethuntd.com/api-reference/enterprise-api/list-people.md) | `GET /people` | Tracked people, paginated |
| [List Companies](https://docs.gethuntd.com/api-reference/enterprise-api/list-companies.md) | `GET /companies` | Tracked companies, paginated |
| [Stream People](https://docs.gethuntd.com/api-reference/enterprise-api/stream-people.md) | `GET /people/stream` | Every matching person as NDJSON, in one request |
| [Stream Companies](https://docs.gethuntd.com/api-reference/enterprise-api/stream-companies.md) | `GET /companies/stream` | Every matching company as NDJSON, in one request |

### Real-time checks

| Endpoint | Method | What it does |
| - | - | - |
| [List Real-time Functions](https://docs.gethuntd.com/api-reference/enterprise-api/list-realtime-functions.md) | `GET /realtime/functions` | Functions that take real-time checks, and how many are left |
| [Submit Real-time Check](https://docs.gethuntd.com/api-reference/enterprise-api/submit-realtime-check.md) | `POST /realtime/verify` | Check one email address, or up to 100 |
| [Get Real-time Check Result](https://docs.gethuntd.com/api-reference/enterprise-api/get-realtime-check-result.md) | `GET /realtime/verify/{job_id}` | Poll for the answer per product |

Each endpoint page has a live playground, request and response examples, and every parameter
and field.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.