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

# get_company

> Retrieve detail for a single company by ID.

Returns the record for one company tracked in your Space: `id`, `domain`, `external_id`, and `name`. `domain` is `null` for companies identified only by a customer-supplied `external_id` rather than an email domain; `external_id` is `null` when the customer never supplied one. A company may carry either identifier or both.

## When to use

* Drilling into a single company after [`list_companies`](https://docs.cometly.com/mcp/tools/list-companies) returns its ID.
* *"Tell me about company 1041."*
* *"What's the domain on company 1039?"*

## Parameters

| Parameter | Type | Required | Description |
| - | - | - | - |
| `id` | integer | Yes | The numeric ID of the company. |

## Example response

```json theme={null}
{
  "id": 1041,
  "domain": "acme.com",
  "external_id": null,
  "name": "Acme Corp"
}
```

## Caveats

* Returns 404 (`[not_found]`) if no company with that ID exists in the current Space.
* **`external_id` can be `null`** — for a company identified only by an email domain rather than a customer-supplied external ID.
* For per-contact data within a company, use [`list_contacts`](https://docs.cometly.com/mcp/tools/list-contacts) or pivot through [`query_ad_metrics`](https://docs.cometly.com/mcp/tools/query-ad-metrics) with `query_mode: "company"`.


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