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

# Enrichment

> Get company and people profiles, and find people at a company

The Enrichment APIs return Firmable's profile of a company or a person, and find the people who work
at a company.

| Endpoint | What it does |
| - | - |
| [Company Enrichment](https://docs.firmable.com/api-reference/endpoint/company-get.md) (`GET /company`) | A company's profile: size, industry, locations, revenue, contact details and more. |
| [People Enrichment](https://docs.firmable.com/api-reference/endpoint/people-get.md) (`GET /people`) | A person's profile: role, company, seniority, department, work emails and phone numbers. |
| [People Search](https://docs.firmable.com/api-reference/endpoint/people-search.md) (`POST /people/search`) | The people at a company, filtered by position, seniority and department. |

A common flow is to enrich a company, search for the right people there, then enrich each person
you want to contact.

## Who can use it

Both kinds of API key work, with the same endpoints, responses and prices:

* **Customer keys** start with `fbl_`. See [Creating API keys](https://docs.firmable.com/api-reference/creating-api-keys.md).
  They spend your subscription credits first, then add-on credits.
* **Developer keys** start with `fbl_dev_`. See [API keys and authentication](https://docs.firmable.com/developer/api-keys.md).
  They spend [developer credits](https://docs.firmable.com/developer/credits.md).

Send the key as a bearer token, as with every Firmable endpoint:

```bash theme={null}
-H "Authorization: Bearer fbl_your_key"
```

## Choose a country

Firmable covers 13 countries: `AU`, `NZ`, `SG`, `MY`, `ID`, `PH`, `HK`, `JP`, `VN`, `KR`, `TH`,
`US` and `CA`. Company Enrichment takes the country as the `country` query parameter, and People
Search takes it as `selectedCountry` in the body. Both default to `AU`. An unsupported country
returns `400`.

## Enrich a company

Send one identifier for the company:

| Parameter | What it is |
| - | - |
| `id` | Firmable company ID, such as `f000000117274` |
| `ln_url` | LinkedIn company URL, such as `https://www.linkedin.com/company/smec/` |
| `ln_slug` | LinkedIn company slug, such as `smec` |
| `fqdn` | Domain, such as `smec.com` |
| `website` | Website URL, such as `https://www.smec.com` |
| `abn` | Australian Business Number |

```bash theme={null}
curl "https://api.firmable.com/company?fqdn=smec.com&country=AU" \
  -H "Authorization: Bearer fbl_your_key"
```

The profile includes the company's `name`, `website`, `description`, `employee_count`,
`company_size`, `industries`, `hq_location`, `locations`, `revenue`, `phones`, `emails`,
`social_media` and more. See [Company Enrichment](https://docs.firmable.com/api-reference/endpoint/company-get.md) for every
field.

## Enrich a person

Send one identifier for the person:

| Parameter | What it is |
| - | - |
| `id` | Firmable person ID, such as `fp000000067890` |
| `ln_url` | LinkedIn profile URL |
| `ln_slug` | LinkedIn profile slug |
| `work_email` | Work email |
| `personal_email` | Personal email |

```bash theme={null}
curl -G "https://api.firmable.com/people" \
  --data-urlencode "ln_url=https://www.linkedin.com/in/person_slug/" \
  -H "Authorization: Bearer fbl_your_key"
```

The profile includes the person's `name`, `position`, `current_company`, `seniority`,
`department`, `location`, `emails`, `phones` and more. Each phone number has an `is_dnd` flag that
is `true` when the number is on a do-not-disturb list. See
[People Enrichment](https://docs.firmable.com/api-reference/endpoint/people-get.md) for every field.

## Find people at a company

`POST /people/search` with the company's Firmable ID in `companyId`. Narrow the results with
`position`, `seniority` and `department`, and page through them with `from` and `size`:

```bash theme={null}
curl -X POST "https://api.firmable.com/people/search" \
  -H "Authorization: Bearer fbl_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "companyId": "f000000117274",
    "selectedCountry": "AU",
    "seniority": "3",
    "department": "2",
    "from": "0",
    "size": "10"
  }'
```

`seniority` and `department` take IDs, such as `3` for C-Suite / Partner and `2` for Sales. See
[People Search](https://docs.firmable.com/api-reference/endpoint/people-search.md#acceptable-seniority-and-department-ids) for
the full list.

Each result has the person's `id`, `name`, `position` and `company_name`, and flags that say what
contact details Firmable holds: `has_email`, `has_phone`, `has_mobile` and `has_dnd_phone`. Search
results don't include the emails or phone numbers themselves. To get them, enrich the person with
`GET /people` and their `id`.

## Pricing

You pay **1 credit per company or person profile, once**. After your organisation has paid for a
profile, everything else about it is free.

| What | Credits |
| - | - |
| A new company profile (`GET /company`) | 1 credit |
| A new person profile (`GET /people`), with their emails and phone numbers | 1 credit |
| A profile your organisation has already paid for | Free |
| People Search (`POST /people/search`) | Free |

* **Profiles are paid once.** Fetching the same company or person again is free.
* **Contact details are included.** A person's emails and phone numbers come with their profile, so
  getting both costs 1 credit in total, not 2.
* **Search is free.** Search as much as you like, and pay only for the people you enrich.
* **Customer keys** spend your subscription credits first, then add-on credits. **Developer keys**
  spend [developer credits](https://docs.firmable.com/developer/credits.md), with the same rules.

## Rate limits

Company Enrichment and People Enrichment allow 15 requests per second per API key. People Search
allows 50. Over a limit, you get a `429` with a `retry-after` header. See
[Rate limits](https://docs.firmable.com/api-reference/rate-limits.md).

## Errors

| Status | When |
| - | - |
| `400` | A bad request, such as an unsupported country code |
| `429` | Too many requests. Wait for the number of seconds in the `retry-after` header. |

## Using an AI agent

The Firmable MCP server gives your agent the same data: `get_company` returns a company's profile.
See [Firmable MCP](https://docs.firmable.com/mcp/overview.md).


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