---
title: "Search companies"
method: POST
path: "/v1/companies/search"
tags: ["Companies"]
---

# Search companies

`POST /v1/companies/search`

Returns companies ranked by relevance to a query.

## Request body

- SearchRequest
  - `query` string, required — The search query.
  - `page` integer — Page number, starting at 1.
  - `limit` integer — Results per page.

## Response `200`

Ranked company results.

- 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
  - `metadata` PaginationMetadata — Pagination details returned by search endpoints.
    - `page` integer
    - `limit` integer
    - `totalCount` integer
    - `totalPages` integer

## Other responses

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

---

[API](https://skmtc.net/metal/apis/metal-api.md) · [All operations](https://skmtc.net/metal/apis/metal-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metal/metal-api/versions/afb7b675d5b2/schema)
