---
title: "Get companies by ids"
method: GET
path: "/v1/companies/ids={ids}"
tags: ["Companies"]
---

# Get companies by ids

`GET /v1/companies/ids={ids}`

## Request

- Base URL: `https://api.metal.ai`
- URL: `https://api.metal.ai/v1/companies/ids={ids}`
- Auth: API key in header `x-metal-client-id` and API key in header `x-metal-api-key`
- TypeScript: <https://skmtc.dev/metal/apis/metal-api/docs/v1/companies/ids=:ids/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves multiple companies in a single request.

## Path parameters

- `ids` string, required

## Response `200`

The matching companies.

- object
  - `data` Company[]
    - `id` string
    - `canonicalName` string
    - `alternativeNames` string[]
    - `website` string
    - `description` string
    - `shortDescription` string
    - `sector` string
    - `subsector` string
    - `industry` string
    - `location` Location
      - `city` string
      - `state` string
      - `country` string
    - `companyType` 'operating' | 'investor' | 'lender' | 'investment_bank' | 'advisor' | 'sponsor' | 'service_provider'
    - `origin` 'user' | 'crm' | 'agent' | 'screening'
    - `externalId` string
    - `externalReference` ExternalReference: A structured reference to a record in an external source system.
      - `source` string: The external system, e.g. a CRM provider.
      - `id` string: The record id in the external system.
    - `tags` string[]
    - `assignees` Reference[]
      - `id` string
      - `type` string: The referenced resource type, e.g. "user" or "team".
    - `custom` object: Organization-defined custom fields.
    - `employeeCount` integer: Enriched. Approximate headcount, used as a size proxy.
    - `ownershipStatus` string: Enriched. Ownership status, e.g. "private", "public", or "sponsor-owned".
    - `lastValuation` number: Enriched. Most recent known valuation.
    - `lastRoundDate` string, date: Enriched. Date of the most recent funding round.
    - `lastAmountRaised` number: Enriched. Amount raised in the most recent round.
    - `totalMoneyRaised` number: Enriched. Total capital raised to date.
    - `lastFinancials` object: Enriched. Most recent reported financials (such as revenue).
    - `enrichment` EnrichmentProvenance: Maps an enriched field name to the list of values Metal discovered for it. The resolved (top-ranked or pinned) value is reflected on the field itself; this object exposes the alternatives and their citations.
    - `lastEnrichedAt` string, date-time: When enrichment last completed and wrote values.
    - `lastEnrichmentStartedAt` string, date-time: When the most recent enrichment run began. If newer than `lastEnrichedAt`, a run is in progress.
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Other responses

- `401`: Missing or invalid API key credentials.

---

[API](https://skmtc.dev/metal/apis/metal-api.md) - [All operations](https://skmtc.dev/metal/apis/metal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metal/apis/metal-api/revisions/afb7b675d5b2?raw)
