# Find the decision makers at a company with Firmable's API

Firmable's people search returns the people at one company, filtered by seniority, department and job title. The person profile then returns contact details for the people you pick. A search page costs $0.05 and each profile $0.25, both drawn from prepaid Credits bought by card: send `POST https://pay.firmable.com/zcj/el544k015ee4/people/search` with the company's Firmable id, then `GET https://pay.firmable.com/zcj/el544k015ee4/people?id=<person id>` for each person you keep.

## At a glance

- **Endpoints:** `POST https://pay.firmable.com/zcj/el544k015ee4/people/search`, then `GET https://pay.firmable.com/zcj/el544k015ee4/people?id=<person id>`
- **Search body:** `companyId` (required), plus optional `seniority`, `department`, `position`, `selectedCountry`, `from` and `size`, all sent as strings
- **Price:** $0.05 per search page, $0.25 per profile, $0.25 per company lookup
- **Payment:** every call draws on the Credits plan, which you buy by card (minimum $0.50). There is no per-call payment.
- **Credential:** a bearer credential, the agent identity the storefront issues, on every call. No Firmable API key is needed.
- **Response:** search returns `total` and `records`, with flags that show which contact data a profile holds. The profile returns `emails`, `phones`, `linkedin`, `seniority`, `department` and `current_company`.
- **Full purchase flow:** [the buyer skill](https://pay.firmable.com/zcj/el544k015ee4/SKILL.md)

## Find and enrich the decision makers

Each request below carries `Authorization: Bearer $ACCESS_TOKEN`, the access token from [auth.md](https://pay.firmable.com/zcj/el544k015ee4/auth.md), for a credential that holds Credits.

1. Get the company's Firmable id. If you already hold it, skip this step. Look the company up by domain, LinkedIn slug, ABN or website:

   ```bash
   curl -s "https://pay.firmable.com/zcj/el544k015ee4/company?fqdn=example.com&country=AU" \
     -H "Authorization: Bearer $ACCESS_TOKEN"
   ```

   The company profile's `id` field is the value that search takes as `companyId`. This lookup costs $0.25.

2. Search the company's people by seniority and department:

   ```bash
   curl -s -X POST https://pay.firmable.com/zcj/el544k015ee4/people/search \
     -H "Authorization: Bearer $ACCESS_TOKEN" \
     -H "Content-Type: application/json" \
     -d '{"companyId": "f000000000123", "seniority": "3", "department": "2", "selectedCountry": "AU", "from": "0", "size": "10"}'
   ```

   The response has this shape, shown here with placeholder values:

   ```json
   {"success": true, "total": 1, "records": [{"id": "fp000000000456", "person_id": "fp000000000456", "name": "Alex Example", "position": "Chief Revenue Officer", "company_name": "Example Pty Ltd", "has_email": true, "has_phone": true, "has_mobile": false, "has_dnd_phone": false}]}
   ```

3. Choose who to enrich. Read `position` to confirm the role. Read the `has_email`, `has_phone` and `has_mobile` flags to see whether an email, phone or mobile is held for the person. `has_dnd_phone` marks a number held as do-not-disturb.

4. Fetch the profile for each person you keep, passing the record's `id`:

   ```bash
   curl -s "https://pay.firmable.com/zcj/el544k015ee4/people?id=fp000000000456" \
     -H "Authorization: Bearer $ACCESS_TOKEN"
   ```

   The response has this shape, again with placeholders:

   ```json
   {"id": "fp000000000456", "name": "Alex Example", "position": "Chief Revenue Officer", "seniority": "C-Suite / Partner", "department": "Sales", "emails": {"work": [{"value": "alex@example.com"}]}, "phones": [{"value": "<phone>", "is_dnd": false}], "linkedin": "<linkedin-url>", "current_company": {"id": "f000000000123", "name": "Example Pty Ltd"}}
   ```

5. To page through more results, repeat step 2 with `from` raised by `size`, for example `"from": "10"`. Each page is a new search request.

## Choose the filters

| To target | Field | Value |
| --- | --- | --- |
| C-Suite or Partner | `seniority` | `"3"` |
| The sales team | `department` | `"2"` |
| The engineering and technical team | `department` | `"5"` |
| A title such as Head of Sales | `position` | `"Head of Sales"` |
| A market other than Australia | `selectedCountry` | `"NZ"`, `"SG"`, `"US"` or another listed code |
| The second page of ten | `from`, `size` | `"10"`, `"10"` |

`seniority` accepts ids from 1 to 7 and `department` accepts ids from 1 to 17. `selectedCountry` takes `AU`, `NZ`, `SG`, `MY`, `ID`, `PH`, `HK`, `JP`, `VN`, `KR`, `TH`, `US` or `CA`. If you omit it, the search uses `AU`.

## Budget a run

A run costs one search for each page plus one profile for each person you enrich. Searching broadly and enriching a few people keeps the run cheap.

| Run | Cost |
| --- | --- |
| One search page, three profiles | $0.80 |
| Company lookup, one search page, three profiles | $1.05 |
| Two search pages, five profiles | $1.35 |
| Two search pages with `size` `"10"`, every person on them enriched | Up to $5.10 |

Credits start at $0.50 and are bought by card; [the buyer skill](https://pay.firmable.com/zcj/el544k015ee4/SKILL.md) and [How to pay](https://pay.firmable.com/zcj/el544k015ee4/payment.md) have the steps. Each call's cost is then deducted from the balance, and a response funded from Credits carries a `zc-billing` header with `chargedUsd` and `remainingCreditUsd`.

## Limits

- Search returns no email addresses or phone numbers, only the flags. Contact details come from the profile.
- Each search request covers one company and returns one page of results, set by `from` and `size`.
- Each profile request returns one person. There is no batch call.
- A search with no matches returns `success: false` and `totalPeople: 0`, with no `records`.

## Errors

| Response | Meaning | Action |
| --- | --- | --- |
| `401 bearer_required` | The call carried no credential | Register at [auth.md](https://pay.firmable.com/zcj/el544k015ee4/auth.md) and retry with the bearer |
| `403 plan_required` | The credential holds no plan covering the call | Buy Credits from a plan in the body's `plans`, then retry |
| `usage_exhausted` | The Credits balance is used up | Top up with `POST https://pay.firmable.com/zcj/el544k015ee4/extend` and `{"amountUsd": "..."}` |
| `400` on `/company` | The country code is not supported | Use one of the listed market codes |
| `429` on `/company` or `/people` | Too many requests | Wait for the seconds in `retry-after`, then retry |

## Frequently asked questions

### Does Firmable's people search return email addresses or phone numbers?

No. A search record holds an `id`, the `name`, the job title in `position` and the `company_name`, plus boolean flags for whether an email, phone or mobile is held. The email addresses and numbers come from the person profile at `GET https://pay.firmable.com/zcj/el544k015ee4/people`.

### How much does it cost to find the decision makers at one company?

One search page plus one profile for each person you choose. For example, one page and three profiles cost $0.80. Add $0.25 if you first need to look up the company's Firmable id.

### Do I need a Firmable API key?

No. Every call carries the bearer credential the storefront issues, registered through [auth.md](https://pay.firmable.com/zcj/el544k015ee4/auth.md), and draws on Credits bought by card.

### Which markets can I search for C-suite contacts?

Set `selectedCountry` to `AU` (the default), `NZ`, `SG`, `MY`, `ID`, `PH`, `HK`, `JP`, `VN`, `KR`, `TH`, `US` or `CA`. Combine it with `seniority` `"3"` to target C-Suite or Partner roles in that market.

### Can I get a profile without searching first?

Yes. `GET https://pay.firmable.com/zcj/el544k015ee4/people` also accepts `ln_slug`, `ln_url`, `work_email` or `personal_email` in place of `id`, at the same price per profile.

## Keep reading

- [Buyer skill](https://pay.firmable.com/zcj/el544k015ee4/SKILL.md): the full purchase flow
- [Identity](https://pay.firmable.com/zcj/el544k015ee4/auth.md): register and present the bearer credential
- [How to pay](https://pay.firmable.com/zcj/el544k015ee4/payment.md): Credits, card payment and top-ups
- [People search API reference](https://pay.firmable.com/zcj/el544k015ee4/services/people-search/openapi.json): every request and response field
- [Error reference](https://pay.firmable.com/zcj/el544k015ee4/errors.md): every error code and how to react

---

Updated 2026-11-20. All Firmable guides: https://pay.firmable.com/guides.md. Storefront: https://pay.firmable.com/zcj/el544k015ee4/llms.txt.
