# Look up an Australian company by ABN with Firmable's API

Firmable's company enrichment API takes an Australian Business Number and returns the company behind it as one JSON profile, with its industry codes, ABN status and register entries, for $0.25 a lookup from prepaid Credits bought by card. Send `GET https://pay.firmable.com/zcj/il7wpctw7n75/company?abn=<number>` with the agent credential the storefront issues, as `Authorization: Bearer <token>`.

## At a glance

- **Endpoint:** `GET https://pay.firmable.com/zcj/il7wpctw7n75/company?abn=<number>`, one company per request
- **Input:** `abn` as eleven digits with no spaces. `country` is optional and defaults to `AU`.
- **Price:** $0.25 per lookup, drawn from Credits
- **Payment:** Credits, bought by card, minimum $0.50 ($0.50 by card). There is no per-call payment and no wallet rail.
- **Credential:** a bearer credential, the agent identity the storefront issues, on every call. Registering is free at [auth.md](https://pay.firmable.com/zcj/il7wpctw7n75/auth.md).
- **Response:** a JSON company profile, including `industry_codes`, `abn_operation_status` and `org_registers`
- **Limits:** one company per request. A `429` asks you to wait the seconds in `retry-after`.
- **Full purchase flow:** [the buyer skill](https://pay.firmable.com/zcj/il7wpctw7n75/SKILL.md)

## Look up a company by ABN

1. Get a bearer token. Reuse a credential you already hold. Otherwise register anonymously, with no email and no human step, and exchange the registration for an access token, as [auth.md](https://pay.firmable.com/zcj/il7wpctw7n75/auth.md) shows. The examples below hold it in `ACCESS_TOKEN`.

2. Check for existing Credits before buying:

   ```bash
   curl -s https://pay.firmable.com/zcj/il7wpctw7n75/agent/entitlements -H "Authorization: Bearer $ACCESS_TOKEN"
   ```

   A Credits entry with `remainingCreditUsd` of at least $0.25 covers a lookup. If there is none, buy Credits by card first: [the buyer skill](https://pay.firmable.com/zcj/il7wpctw7n75/SKILL.md) and [the card recipe](https://pay.firmable.com/zcj/il7wpctw7n75/payment/card.md) cover the purchase, and unused funds stay as credit.

3. Send the lookup. Remove any spaces from the ABN first, so the query holds eleven digits:

   ```bash
   curl -s "https://pay.firmable.com/zcj/il7wpctw7n75/company?abn=47065475149" \
     -H "Authorization: Bearer $ACCESS_TOKEN"
   ```

   The response is a `200` with a JSON profile in this shape:

   ```json
   {
     "id": "<firmable id>",
     "name": "<company name>",
     "website": "<website url>",
     "fqdn": "<domain>",
     "company_size": "<size band>",
     "company_type": "<company type>",
     "employee_count": 0,
     "abn_operation_status": "<status or null>",
     "industry_codes": {"abn": "<abn>", "acn": "<acn>", "anzsic": "<code>", "sic": "<code>", "naics": "<code>", "duns": "<number or null>"},
     "org_registers": {"<register key>": "<register label>"},
     "industries": ["<industry>"],
     "locations": ["<location>"]
   }
   ```

   The profile also carries `description`, `linkedin`, `year_founded`, `revenue`, `phones`, `emails`, `social_media`, `keywords` and `states`. The example lookup drew $0.25 from credit.

4. Read the `zc-billing` response header. It has `fundingSource` (`credit`), `chargedUsd` (what this call debited) and `remainingCreditUsd` (the balance after the debit).

## The register and industry-code fields

| Field | What it holds |
| --- | --- |
| `industry_codes.abn` | Australian Business Number (AU only) |
| `industry_codes.acn` | Australian Company Number (AU only) |
| `industry_codes.anzsic` | Australian and New Zealand Standard Industrial Classification code |
| `industry_codes.sic` | Standard Industrial Classification code |
| `industry_codes.naics` | North American Industry Classification System code |
| `industry_codes.duns` | Data Universal Numbering System number |
| `abn_operation_status` | The operational status of the company's ABN, as a string |
| `org_registers` | Organisational registers, as an object of register keys and labels |

The global codes (`sic`, `duns`, `naics`, `anzsic`) are included where available. The identifiers are nullable and can be `null` when not held. Check each field before you use it.

## Other markets and other ways in

`country` selects the market the data is returned for. Accepted values are `AU`, `NZ`, `SG`, `MY`, `ID`, `PH`, `HK`, `JP`, `VN`, `KR`, `TH`, `US` and `CA`. The country identifiers in `industry_codes` follow it: `nzbn` for `NZ` and `uen` for `SG`.

The lookup has no NZBN, UEN or ACN parameter. When you have no ABN, use one of these:

| You have | Parameter | Example |
| --- | --- | --- |
| A domain | `fqdn` | `fqdn=example.com`, with no scheme or path |
| A website URL | `website` | `website=https://www.example.com` |
| A LinkedIn company slug | `ln_slug` | `ln_slug=example` |
| A LinkedIn company URL | `ln_url` | `ln_url=https://www.linkedin.com/company/example/` |
| A Firmable id | `id` | `id=<firmable id>` |

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

Each lookup is one request at $0.25, whichever identifier you send.

## What a list of ABNs costs

| Lookups | Cost from Credits |
| --- | --- |
| 1 | $0.25 |
| 20 | $5 |
| 100 | $25 |

Each request returns one company. There is no batch call, so a list of ABNs is one request per ABN.

## Errors

| Response | Meaning | Action |
| --- | --- | --- |
| `401 bearer_required` | No agent credential on the call | Register at [auth.md](https://pay.firmable.com/zcj/il7wpctw7n75/auth.md) and retry with the bearer |
| `403 plan_required` | No plan covers the call. The body lists the plans that do. | Buy Credits, then retry |
| `usage_exhausted` | The Credits balance is used up | Top up with `POST https://pay.firmable.com/zcj/il7wpctw7n75/extend` and `{"amountUsd": "<amount>"}` |
| `400` | Invalid or unsupported `country` code, or another unexpected error | Fix the query and retry |
| `429` | Too many requests | Wait the seconds in `retry-after`, then retry |

## Frequently asked questions

### Can I look up a company by ACN?

No. The lookup takes an ABN, domain, website, LinkedIn slug or URL, or Firmable id. For an Australian company, the ACN comes back in `industry_codes.acn` when it is held.

### Where is the ANZSIC code in the response?

It is in `industry_codes.anzsic`, next to `sic`, `naics` and `duns`. The same object carries `abn` and `acn` for Australian companies. Any of these can be `null` when no value is held.

### How much does an ABN lookup cost?

Each lookup costs $0.25, drawn from a Credits balance. Credits are bought by card, with a minimum purchase of $0.50. Unused credit stays on the balance for later calls.

### Does the ABN lookup work for New Zealand or Singapore companies?

`country` selects the market the data is returned for. Set it to `NZ` or `SG`, and `industry_codes` carries `nzbn` for New Zealand or `uen` for Singapore when held. A company can also be reached by domain, website, LinkedIn or Firmable id.

### What does abn_operation_status contain?

It holds the operational status of the company's ABN as a string, such as `active` in the reference example. Treat it as optional and check it before use.

## Keep reading

- [The buyer skill](https://pay.firmable.com/zcj/il7wpctw7n75/SKILL.md): the full purchase flow
- [Company enrichment API reference](https://pay.firmable.com/zcj/il7wpctw7n75/services/company-enrichment/openapi.json): every parameter and response field
- [How to pay](https://pay.firmable.com/zcj/il7wpctw7n75/payment.md): Credits, card payment and top-ups
- [Identity](https://pay.firmable.com/zcj/il7wpctw7n75/auth.md): register and exchange a bearer credential
- [Error reference](https://pay.firmable.com/zcj/il7wpctw7n75/errors.md): every error code and the action for it

---

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