---
title: "Search companies"
method: GET
path: "/api/v1/companies/company/search/query"
tags: ["Companies"]
---

# Search companies

`GET /api/v1/companies/company/search/query`

## Request

- Base URL: `https://api.getprospect.com`
- URL: `https://api.getprospect.com/api/v1/companies/company/search/query`
- Auth: API key in header `apiKey`
- TypeScript: <https://skmtc.dev/getprospect/apis/calls/docs/api/v1/companies/company/search/query/get.ts> (a function with typed inputs; its response is checked against the schema)

This API endpoint finds your company by name

## Query parameters

- `name` string
- `limit` number

## Response `200`

Entity given

- CompanyModel
  - `_id` ObjectId, required
  - `owner` ObjectId, required
  - `properties` object, required
  - `source` 'crm' | 'insights' | 'linkedin-plugin' | 'linkedin-plugin-fastmode' | 'integration' | 'api' | 'import', required
  - `workspaceId` number, required
  - `search` ObjectId, required
  - `insightId` ObjectId, required
  - `linkedin` ContactLinkedin[], required
    - `id` string, required
    - `type` 'common' | 'sales', required
  - `deleted` boolean, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `keywords` string[], required
  - `foundedAt` number, required
  - `companyType` 'education' | 'government' | 'nonprofit' | 'private' | 'public', required

## Other responses

- `401`: Unauthorized user
- `404`: Entity not found
- `422`: Unprocessable entity

---

[API](https://skmtc.dev/getprospect/apis/calls.md) - [All operations](https://skmtc.dev/getprospect/apis/calls/llms.txt) - [OpenAPI document](https://skmtc.dev/getprospect/apis/calls/revisions/5211a12644da?raw)
