---
title: "Facet PitchBook companies dataset"
method: GET
path: "/datasets/pitchbook-companies/facets"
tags: ["Datasets"]
---

# Facet PitchBook companies dataset

`GET /datasets/pitchbook-companies/facets`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/datasets/pitchbook-companies/facets`
- Auth: API key in header `x-api-key`

Returns value counts for the PitchBook companies dataset by the required `facet`: `status`, `primary_industry`, `financing_status`, `ownership_status`, `hq_country`, `hq_state` or `run_id`. Filters such as `q`, `min_year_founded` and `min_investor_count` apply, and the top 50 values come back.

## Query parameters

- `facet` 'status' | 'primary_industry' | 'financing_status' | 'ownership_status' | 'hq_country' | 'hq_state' | 'run_id', required
- `q` string
- `status` string
- `primary_industry` string
- `financing_status` string
- `ownership_status` string
- `hq_country` string
- `hq_state` string
- `run_id` string
- `min_year_founded` integer
- `max_year_founded` integer
- `min_investor_count` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- DatasetsPitchbookCompaniesFacetResponseDoc
  - `code` integer
  - `data` DatasetsPitchbookCompaniesFacetResponse
    - `dataset` string
    - `facet` string
    - `items` EsPitchbookFacetItem[]
      - `count` integer: Number of records with this value.
      - `value` string: Facet value being counted.
  - `msg` string

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `500`: Internal Server Error

---

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