> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# PitchBook: Get Most Recent Private Company Financials

> Get a private company's latest annual or quarterly financials, such as revenue and EBITDA, by its ID. Includes SDK V2 examples, schemas, and cost.

Get a private company's latest annual or quarterly financials, such as revenue and EBITDA, by its ID.

> [!NOTE]
>
> Tool ID: `pitchbook_get_most_recent_private_company_financials`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'pitchbook_get_most_recent_private_company_financials',
  {
    "pbId": "pb_123"
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute pitchbook_get_most_recent_private_company_financials --input '{
  "pbId": "pb_123"
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "companyId": "company_123",
    "period": 123,
    "quarter": "example"
  }
}
```

Use `deepline describe pitchbook_get_most_recent_private_company_financials --json` for the latest machine-readable contract.

## Input reference

Retrieves financial data for the most recent available fiscal year or quarter of the specific company. Data is returned on an annual basis by default. Endpoint is only available for private companies

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.pbId` | `string` | Yes | — | Company pbId |
| `payload.periodType` | `string` | No | — | Type of the period in which data will be presented. The list of types could be found here |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Retrieves financial data for the most recent available fiscal year or quarter of the specific company. Data is returned on an annual basis by default. Endpoint is only available for private companies",
    "properties": {
      "pbId": {
        "type": "string",
        "description": "Company pbId"
      },
      "periodType": {
        "type": "string",
        "description": "Type of the period in which data will be presented. The list of types could be found here"
      }
    },
    "required": [
      "pbId"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.companyId` | `string` | No | — | — |
| `result.data.period` | `integer` | No | — | Format: `int32`. |
| `result.data.quarter` | `string` | No | — | — |
| `result.data.endDate` | `string` | No | — | Format: `date`. |
| `result.data.enterpriseValue` | `object \| null` | No | — | — |
| `result.data.enterpriseValue.amount` | `number` | No | — | — |
| `result.data.enterpriseValue.currency` | `string` | No | — | — |
| `result.data.enterpriseValue.nativeAmount` | `number` | No | — | — |
| `result.data.enterpriseValue.nativeCurrency` | `string` | No | — | — |
| `result.data.enterpriseValue.estimated` | `boolean` | No | — | — |
| `result.data.revenue` | `object \| null` | No | — | — |
| `result.data.revenue.amount` | `number` | No | — | — |
| `result.data.revenue.currency` | `string` | No | — | — |
| `result.data.revenue.nativeAmount` | `number` | No | — | — |
| `result.data.revenue.nativeCurrency` | `string` | No | — | — |
| `result.data.revenue.estimated` | `boolean` | No | — | — |
| `result.data.netIncome` | `object \| null` | No | — | — |
| `result.data.netIncome.amount` | `number` | No | — | — |
| `result.data.netIncome.currency` | `string` | No | — | — |
| `result.data.netIncome.nativeAmount` | `number` | No | — | — |
| `result.data.netIncome.nativeCurrency` | `string` | No | — | — |
| `result.data.netIncome.estimated` | `boolean` | No | — | — |
| `result.data.ebitda` | `object \| null` | No | — | — |
| `result.data.ebitda.amount` | `number` | No | — | — |
| `result.data.ebitda.currency` | `string` | No | — | — |
| `result.data.ebitda.nativeAmount` | `number` | No | — | — |
| `result.data.ebitda.nativeCurrency` | `string` | No | — | — |
| `result.data.ebitda.estimated` | `boolean` | No | — | — |
| `result.data.totalAssets` | `object \| null` | No | — | — |
| `result.data.totalAssets.amount` | `number` | No | — | — |
| `result.data.totalAssets.currency` | `string` | No | — | — |
| `result.data.totalAssets.nativeAmount` | `number` | No | — | — |
| `result.data.totalAssets.nativeCurrency` | `string` | No | — | — |
| `result.data.totalAssets.estimated` | `boolean` | No | — | — |
| `result.data.totalDebt` | `object \| null` | No | — | — |
| `result.data.totalDebt.amount` | `number` | No | — | — |
| `result.data.totalDebt.currency` | `string` | No | — | — |
| `result.data.totalDebt.nativeAmount` | `number` | No | — | — |
| `result.data.totalDebt.nativeCurrency` | `string` | No | — | — |
| `result.data.totalDebt.estimated` | `boolean` | No | — | — |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "companyId": {
            "type": "string"
          },
          "period": {
            "type": "integer",
            "format": "int32"
          },
          "quarter": {
            "type": "string"
          },
          "endDate": {
            "type": "string",
            "format": "date"
          },
          "enterpriseValue": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "amount": {
                "type": "number"
              },
              "currency": {
                "type": "string"
              },
              "nativeAmount": {
                "type": "number"
              },
              "nativeCurrency": {
                "type": "string"
              },
              "estimated": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "revenue": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "amount": {
                "type": "number"
              },
              "currency": {
                "type": "string"
              },
              "nativeAmount": {
                "type": "number"
              },
              "nativeCurrency": {
                "type": "string"
              },
              "estimated": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "netIncome": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "amount": {
                "type": "number"
              },
              "currency": {
                "type": "string"
              },
              "nativeAmount": {
                "type": "number"
              },
              "nativeCurrency": {
                "type": "string"
              },
              "estimated": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "ebitda": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "amount": {
                "type": "number"
              },
              "currency": {
                "type": "string"
              },
              "nativeAmount": {
                "type": "number"
              },
              "nativeCurrency": {
                "type": "string"
              },
              "estimated": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "totalAssets": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "amount": {
                "type": "number"
              },
              "currency": {
                "type": "string"
              },
              "nativeAmount": {
                "type": "number"
              },
              "nativeCurrency": {
                "type": "string"
              },
              "estimated": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "totalDebt": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "amount": {
                "type": "number"
              },
              "currency": {
                "type": "string"
              },
              "nativeAmount": {
                "type": "number"
              },
              "nativeCurrency": {
                "type": "string"
              },
              "estimated": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [PitchBook provider guide](https://deepline.com/docs/providers/pitchbook/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.