---
title: "Get Companies Batch"
method: POST
path: "/companies/batch"
tags: ["companies"]
---

# Get Companies Batch

`POST /companies/batch`

## Request

- Base URL: `https://api.dataforb2b.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dataforb2b.ai/companies/batch`
- Auth: none declared

Fetch full company data from the database by company IDs.

**Use case:** After getting company IDs from /search/companies, use this endpoint
to fetch the complete company data stored in the database.

**Request:**
- `company_ids`: List of encoded company IDs (e.g., "org_xxx") to fetch (max 1000)

**Response:**
- `count`: Number of companies returned
- `companies`: List of full company objects with all related data (locations, funding, etc.)

## Headers

- `api-key` string, nullable

## Request body

- CompaniesBatchRequest: Request schema for batch company fetch
  - `company_ids` string[], required: List of encoded company IDs (e.g., 'org_xxx') to fetch

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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