> ## 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

> Most Recent Private Company Financials. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

Most Recent Private Company Financials.

<Info>
  Tool ID: `pitchbook_get_most_recent_private_company_financials`
</Info>

## Run this action

Use the TypeScript SDK for a single call. Put `ctx.tools.execute(...)` inside a Play when the call should be durable, scheduled, or run across a CSV.

```ts theme={null}
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={null}
deepline tools execute pitchbook_get_most_recent_private_company_financials --input '{
  "pbId": "pb_123"
}' --json
```

## Example response

The SDK exposes this shape at `result.toolResponse.raw`. Values below are representative.

```json theme={null}
{
  "data": {
    "companyId": "company_123",
    "period": 123,
    "quarter": "example"
  }
}
```

Use `deepline tools get 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={null}
  {
    "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={null}
  {
    "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](/docs/providers/pitchbook/guide)
* [SDK V2 quickstart](/docs/sdk-v2/quickstart)
* [SDK reference](/docs/sdk-v2/sdk-reference)
* [Run tools across a CSV](/docs/sdk-v2/batch-csv)


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