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

# First Hire

> Companies that just posted a kind of role you name for the first time we have seen. Beta.

Find companies hiring for a function they have never hired for before, such as their first account executive or first data engineer. You name the roles; Hirebase returns each company whose new postings in the window match them and that had no matching job before, with how long we have tracked the company and how many other jobs it posted before.

A company counts only if we were tracking it for at least `min_history_days` before the window, so "first" means first in a real history, not first since we started watching it.

> [!NOTE]
>
> **Beta.** First Hire doesn't use any of your plan's allowance during the Beta. On the Free plan, the window ends 7 days ago instead of today.

## Endpoint

```bash theme={null}
POST /v2/signals/first-hire
```

## Request Body

**job\_titles** `string[]` *required*

1 to 30 titles for the kind of role to watch, in the same syntax as `job_titles` on [Search Jobs](https://www.hirebase.org/docs/api-reference/jobs/search-post.md): unquoted entries match titles containing every word, `"\"account executive\""` matches the exact phrase, and a `-` prefix excludes. At least one entry must be a title to look for, not only exclusions.

**job\_category** `string[]`

Up to 20 job categories (for example `"Sales Jobs"`). Only new postings in these categories count.

**company\_types** `string[]`

Company sizes by employee count, any of `1-10`, `11-50`, `51-200`, `201-500`, `501-1000`, `1001-5000`, `5001-10000` and `10000+`.

**industry** `string[]`

Up to 20 company industries, as listed by [List Industries](https://www.hirebase.org/docs/api-reference/data/get-industries.md).

**company\_hq\_countries** `string[]`

Up to 20 countries where the company is headquartered, for example `["Germany"]`.

**countries** `string[]`

Up to 20 countries the new posting is in, for example `["United States"]`. This is where the role is, not where the company is based.

**days** `integer` (default: 7)

How recent a new posting must be, 1 to 30 days.

**min\_history\_days** `integer` (default: 90)

How long we must have been tracking the company before the window, 30 to 730 days.

**limit** `integer` (default: 25)

Most companies per page, 1 to 100.

**cursor** `string`

`next_cursor` from the previous page. Send it with the same request body.

## Response

**companies** `object[]`

Companies hiring for these roles for the first time, in order of their newest matching posting.

**company** `object`

`slug`, `name` and `domain` (the last two can be `null`).

**jobs** `object[]`

The new matching postings, newest first (up to 10), each with `job_id`, `job_title`, `date_posted` and `url`.

**evidence** `object`

`tracked_since`: the day we first saw a job from this company. `prior_jobs`: how many jobs it posted before the window, open or closed, none of them matching your titles.

**since** `string`

First day of the window, `YYYY-MM-DD`.

**until** `string`

Last day of the window, inclusive.

**scanned\_postings** `integer`

How many matching postings this page looked at.

**next\_cursor** `string | null`

Pass this as `cursor`, with the same body, to continue. Each page looks at up to 1,000 matching postings, newest first, so a broad set of titles can take several pages, and a page can come back with no companies but a `next_cursor`. Keep going until it is `null`.

## Example Request

```bash cURL theme={null}
curl -X POST "https://api.hirebase.org/v2/signals/first-hire" \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "job_titles": ["\"account executive\"", "SDR"],
    "company_types": ["11-50", "51-200"],
    "countries": ["United States"],
    "days": 7
  }'
```

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

body = {
    "job_titles": ['"account executive"', "SDR"],
    "company_types": ["11-50", "51-200"],
    "countries": ["United States"],
    "days": 7,
}
companies = []
while True:
    data = requests.post(
        "https://api.hirebase.org/v2/signals/first-hire",
        headers={"x-api-key": "YOUR_API_KEY"},
        json=body,
    ).json()
    companies += data["companies"]
    if not data["next_cursor"]:
        break
    body["cursor"] = data["next_cursor"]

for c in companies:
    print(c["company"]["name"], c["jobs"][0]["job_title"], c["evidence"]["tracked_since"])
```

## Example Response

```json theme={null}
{
  "companies": [
    {
      "company": { "slug": "companyxyz", "name": "CompanyXYZ", "domain": "companyxyz.com" },
      "jobs": [
        {
          "job_id": "67d550e407a47816d9b14f42",
          "job_title": "Founding Account Executive",
          "date_posted": "2026-11-23",
          "url": "https://jobs.ashbyhq.com/companyxyz/0a6c6a9e-1234-4c5d-9e8f-123456789abc"
        }
      ],
      "evidence": { "tracked_since": "2025-06-02", "prior_jobs": 14 }
    }
  ],
  "since": "2026-11-18",
  "until": "2026-11-25",
  "scanned_postings": 412,
  "next_cursor": null
}
```

## Error Responses

> [accordion] 400 Bad Request
>
> `cursor` is not a `next_cursor` this endpoint returned for the same request body.

> [accordion] 401 Unauthorized
>
> Missing or invalid API key.

> [accordion] 422 Unprocessable Entity
>
> `job_titles` is missing or has only exclusions, an unknown company size is in `company_types`, or a field is out of range.

> [accordion] 429 Too Many Requests
>
> You hit the rate limit. See [Error Handling](https://www.hirebase.org/docs/api-reference/errors.md).


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