> ## 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 Company Most Recent Financing

> Company Most Recent Financing. Includes SDK V2 and CLI requests, input constraints, response fields, and Deepline credit cost.

Company Most Recent Financing.

<Info>
  Tool ID: `pitchbook_get_company_most_recent_financing`
</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_company_most_recent_financing',
  {
    "pbId": "pb_123"
  },
);

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

### CLI

```bash theme={null}
deepline tools execute pitchbook_get_company_most_recent_financing --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",
    "lastFinancingDealId": "last_financing_deal_123",
    "lastFinancingDate": "2026-01-15"
  }
}
```

Use `deepline tools get pitchbook_get_company_most_recent_financing --json` for the latest machine-readable contract.

## Input reference

Retrieves key data for the most recent financing deal of the specific company

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.pbId` | `string` | Yes | — | Company pbId |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Retrieves key data for the most recent financing deal of the specific company",
    "properties": {
      "pbId": {
        "type": "string",
        "description": "Company pbId"
      }
    },
    "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.lastFinancingDealId` | `string` | No | — | — |
| `result.data.lastFinancingDate` | `string` | No | — | Format: `date`. |
| `result.data.lastFinancingStatus` | `object \| null` | No | — | — |
| `result.data.lastFinancingStatus.code` | `string` | No | — | — |
| `result.data.lastFinancingStatus.description` | `string` | No | — | — |
| `result.data.lastFinancingSize` | `object \| null` | No | — | — |
| `result.data.lastFinancingSize.amount` | `number` | No | — | — |
| `result.data.lastFinancingSize.currency` | `string` | No | — | — |
| `result.data.lastFinancingSize.nativeAmount` | `number` | No | — | — |
| `result.data.lastFinancingSize.nativeCurrency` | `string` | No | — | — |
| `result.data.lastFinancingSize.estimated` | `boolean` | No | — | — |
| `result.data.lastFinancingSizeStatus` | `string` | No | — | — |
| `result.data.lastFinancingValuation` | `object \| null` | No | — | — |
| `result.data.lastFinancingValuation.amount` | `number` | No | — | — |
| `result.data.lastFinancingValuation.currency` | `string` | No | — | — |
| `result.data.lastFinancingValuation.nativeAmount` | `number` | No | — | — |
| `result.data.lastFinancingValuation.nativeCurrency` | `string` | No | — | — |
| `result.data.lastFinancingValuation.estimated` | `boolean` | No | — | — |
| `result.data.lastFinancingValuationStatus` | `string \| null` | No | — | — |
| `result.data.lastFinancingDealType` | `object \| null` | No | — | — |
| `result.data.lastFinancingDealType.code` | `string` | No | — | — |
| `result.data.lastFinancingDealType.description` | `string` | No | — | — |
| `result.data.lastFinancingDealType2` | `object \| null` | No | — | — |
| `result.data.lastFinancingDealType2.code` | `string` | No | — | — |
| `result.data.lastFinancingDealType2.description` | `string` | No | — | — |
| `result.data.lastFinancingDealType3` | `object \| null` | No | — | — |
| `result.data.lastFinancingDealType3.code` | `string` | No | — | — |
| `result.data.lastFinancingDealType3.description` | `string` | No | — | — |
| `result.data.lastFinancingDealClass` | `object \| null` | No | — | — |
| `result.data.lastFinancingDealClass.code` | `string` | No | — | — |
| `result.data.lastFinancingDealClass.description` | `string` | No | — | — |
| `result.data.lastKnownValuation` | `object \| null` | No | — | — |
| `result.data.lastKnownValuation.amount` | `number` | No | — | — |
| `result.data.lastKnownValuation.currency` | `string` | No | — | — |
| `result.data.lastKnownValuation.nativeAmount` | `number` | No | — | — |
| `result.data.lastKnownValuation.nativeCurrency` | `string` | No | — | — |
| `result.data.lastKnownValuation.estimated` | `boolean` | No | — | — |
| `result.data.lastKnownValuationDate` | `string` | No | — | Format: `date`. |
| `result.data.lastKnownValuationDealType` | `object \| null` | No | — | — |
| `result.data.lastKnownValuationDealType.code` | `string` | No | — | — |
| `result.data.lastKnownValuationDealType.description` | `string` | 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"
          },
          "lastFinancingDealId": {
            "type": "string"
          },
          "lastFinancingDate": {
            "type": "string",
            "format": "date"
          },
          "lastFinancingStatus": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "description": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "lastFinancingSize": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "amount": {
                "type": "number"
              },
              "currency": {
                "type": "string"
              },
              "nativeAmount": {
                "type": "number"
              },
              "nativeCurrency": {
                "type": "string"
              },
              "estimated": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "lastFinancingSizeStatus": {
            "type": "string"
          },
          "lastFinancingValuation": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "amount": {
                "type": "number"
              },
              "currency": {
                "type": "string"
              },
              "nativeAmount": {
                "type": "number"
              },
              "nativeCurrency": {
                "type": "string"
              },
              "estimated": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "lastFinancingValuationStatus": {
            "type": [
              "string",
              "null"
            ]
          },
          "lastFinancingDealType": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "description": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "lastFinancingDealType2": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "description": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "lastFinancingDealType3": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "description": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "lastFinancingDealClass": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "description": {
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "lastKnownValuation": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "amount": {
                "type": "number"
              },
              "currency": {
                "type": "string"
              },
              "nativeAmount": {
                "type": "number"
              },
              "nativeCurrency": {
                "type": "string"
              },
              "estimated": {
                "type": "boolean"
              }
            },
            "additionalProperties": false
          },
          "lastKnownValuationDate": {
            "type": "string",
            "format": "date"
          },
          "lastKnownValuationDealType": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "description": {
                "type": "string"
              }
            },
            "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.