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

# CB Insights: Cbinsights Post V2 Revenuebyyear

> List revenue data by year for a list of organizations. Includes SDK V2 guidance, input constraints, response fields, and Deepline credit cost.

List revenue data by year for a list of organizations.

<Info>
  Tool ID: `cbinsights_post_v2_revenuebyyear`
</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(
  'cbinsights_post_v2_revenuebyyear',
  {
    "orgIds": [
      123
    ]
  },
);

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

### CLI

```bash theme={null}
deepline tools execute cbinsights_post_v2_revenuebyyear --input '{
  "orgIds": [
    123
  ]
}' --json
```

## Example response

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

```json theme={null}
{
  "data": {
    "orgs": [
      {
        "orgId": 123,
        "orgName": "Example",
        "orgUrl": "https://example.com"
      }
    ]
  }
}
```

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

## Input reference

Search parameters to request available revenue data for one or more organizations

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.orgIds` | `array` | Yes | — | List of Org IDs to look up, the request must contain 1 - 100 Org IDs. Minimum items: 1. |

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

  ### Input JSON Schema

  ```json theme={null}
  {
    "type": "object",
    "description": "Search parameters to request available revenue data for one or more organizations",
    "properties": {
      "orgIds": {
        "type": "array",
        "description": "List of Org IDs to look up, the request must contain 1 - 100 Org IDs.",
        "minItems": 1,
        "items": {
          "type": "integer"
        }
      }
    },
    "required": [
      "orgIds"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.orgs` | `array` | No | — | List of revenue data for the requested Org IDs. If an Org ID has no data, it will be excluded from the response. |
| `result.data.orgs[].orgId` | `integer` | No | — | CB Insights organization ID. |
| `result.data.orgs[].orgName` | `string` | No | — | The organization's name. |
| `result.data.orgs[].orgUrl` | `string` | No | — | The organization's website. |
| `result.data.orgs[].revenue` | `array` | No | — | List of revenue data by year. |
| `result.data.orgs[].revenue[].averageValue` | `number` | No | — | Average revenue reported for the year in US dollars. |
| `result.data.orgs[].revenue[].calendarYear` | `integer` | No | — | Calendar year for the revenue data. |
| `result.data.orgs[].revenue[].highestValue` | `number` | No | — | Highest revenue reported for the year in US dollars. |
| `result.data.orgs[].revenue[].isActual` | `boolean` | No | — | Whether the revenue is actual or estimated/projected. |
| `result.data.orgs[].revenue[].lowestValue` | `number` | No | — | Lowest revenue reported for the year in US dollars. |
| `result.data.orgs[].revenue[].reportedMetric` | `string` | No | — | The revenue metric that corresponds to the reported values. |
| `result.data.orgs[].revenue[].sources` | `array` | No | — | Sources that support the revenue data. |
| `result.data.orgs[].revenue[].sources[].name` | `string` | No | — | Name of the source. |
| `result.data.orgs[].revenue[].sources[].url` | `string` | No | — | URL for the source data. |
| `result.data.orgs[].revenue[].yoyGrowthPercent` | `integer` | No | — | Year-over-year growth percentage expressed as an integer. |
| `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": {
          "orgs": {
            "type": "array",
            "description": "List of revenue data for the requested Org IDs. If an Org ID has no data, it will be excluded from the response.",
            "items": {
              "type": "object",
              "properties": {
                "orgId": {
                  "type": "integer",
                  "description": "CB Insights organization ID."
                },
                "orgName": {
                  "type": "string",
                  "description": "The organization's name."
                },
                "orgUrl": {
                  "type": "string",
                  "description": "The organization's website."
                },
                "revenue": {
                  "type": "array",
                  "description": "List of revenue data by year.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "averageValue": {
                        "type": "number",
                        "description": "Average revenue reported for the year in US dollars."
                      },
                      "calendarYear": {
                        "type": "integer",
                        "description": "Calendar year for the revenue data."
                      },
                      "highestValue": {
                        "type": "number",
                        "description": "Highest revenue reported for the year in US dollars."
                      },
                      "isActual": {
                        "type": "boolean",
                        "description": "Whether the revenue is actual or estimated/projected."
                      },
                      "lowestValue": {
                        "type": "number",
                        "description": "Lowest revenue reported for the year in US dollars."
                      },
                      "reportedMetric": {
                        "type": "string",
                        "description": "The revenue metric that corresponds to the reported values."
                      },
                      "sources": {
                        "type": "array",
                        "description": "Sources that support the revenue data.",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string",
                              "description": "Name of the source."
                            },
                            "url": {
                              "type": "string",
                              "description": "URL for the source data."
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "yoyGrowthPercent": {
                        "type": "integer",
                        "description": "Year-over-year growth percentage expressed as an integer."
                      }
                    },
                    "additionalProperties": false
                  }
                }
              },
              "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

* [CB Insights provider guide](/docs/providers/cbinsights/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.