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

# Crunchbase: Search Funding Predictions

> Find companies predicted to raise their next funding round, filtered by the fields you choose. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Find companies predicted to raise their next funding round, filtered by the fields you choose.

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

## 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(
  'crunchbase_search_funding_predictions',
  {
    "field_ids": [
      "bankruptcy"
    ],
    "query": [
      {
        "field_id": "field_123",
        "operator_id": "blank",
        "type": "predicate"
      }
    ]
  },
);

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

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute crunchbase_search_funding_predictions --input '{
  "field_ids": [
    "bankruptcy"
  ],
  "query": [
    {
      "field_id": "field_123",
      "operator_id": "blank",
      "type": "predicate"
    }
  ]
}' --json
```

## Example response

The static output schema lacks the details for a reliable example. Use `deepline describe crunchbase_search_funding_predictions --json` for the complete live contract.

## Input reference

Can perform more complex filtering based on the query defined in the request body

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.after_id` | `string` | No | — | Used to paginate search results to the next page. after\_id should be the uuid of the last item in the current page. May not be provided simultaneously with before\_id. Format: `uuid`. |
| `payload.before_id` | `string` | No | — | Used to paginate search results to the previous page. before\_id should be the uuid of the first item in the current page. May not be provided simultaneously with after\_id. Format: `uuid`. |
| `payload.field_ids` | `array` | Yes | — | The list of field\_ids to include in the result |
| `payload.limit` | `integer` | No | — | Number of rows to return. Default is 100, min is 1, max is 1000. |
| `payload.order` | `array` | No | — | Order in which the search results should be returned |
| `payload.query` | `array` | Yes | — | Search query to perform on the designated entity |

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

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Can perform more complex filtering based on the query defined in the request body",
    "properties": {
      "after_id": {
        "type": "string",
        "description": "Used to paginate search results to the next page. after_id should be the uuid of the last item in the current page. May not be provided simultaneously with before_id.",
        "format": "uuid"
      },
      "before_id": {
        "type": "string",
        "description": "Used to paginate search results to the previous page. before_id should be the uuid of the first item in the current page. May not be provided simultaneously with after_id.",
        "format": "uuid"
      },
      "field_ids": {
        "type": "array",
        "description": "The list of field_ids to include in the result",
        "items": {
          "type": "string",
          "description": "FundingPrediction field ids",
          "enum": [
            "bankruptcy",
            "created_at",
            "earnings_change_news_event",
            "entity_def_id",
            "example_funding_round",
            "financials_reasons",
            "generated_on",
            "growth_insight",
            "identifier",
            "industry_performance_reasons",
            "key_employee_change",
            "key_leadership_hire",
            "market_equity_reasons",
            "market_insight_reasons",
            "market_insights",
            "misc_reasons",
            "organization",
            "organization_trajectory",
            "partnership_announcement",
            "probability_score",
            "probability_score_timeseries",
            "probability_tier",
            "product_launch",
            "profit_margin_news_event",
            "revenue_change_news_event",
            "runway_speculation",
            "unicorn_status",
            "updated_at",
            "uuid"
          ]
        }
      },
      "limit": {
        "type": "integer",
        "description": "Number of rows to return. Default is 100, min is 1, max is 1000."
      },
      "order": {
        "type": "array",
        "description": "Order in which the search results should be returned",
        "items": {
          "type": "object",
          "properties": {
            "field_id": {
              "type": "string",
              "description": "Name of the field to sort on"
            },
            "nulls": {
              "type": "string",
              "enum": [
                "first",
                "last"
              ]
            },
            "sort": {
              "type": "string",
              "default": "asc",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          "required": [
            "field_id",
            "sort"
          ],
          "additionalProperties": false
        }
      },
      "query": {
        "type": "array",
        "description": "Search query to perform on the designated entity",
        "items": {
          "type": "object",
          "description": "A simple search criterion",
          "properties": {
            "field_id": {
              "type": "string",
              "description": "The field to operate on"
            },
            "operator_id": {
              "type": "string",
              "description": "Search operations for use in predicates * between - Between. Provide two values in \"values\" * blank - Is blank. Possible values in \"values\" is \"true\" or \"false\" * contains - Contains * domain_blank - Domain is blank. Possible values in \"values\" is \"true\" or \"false\" * domain_eq - Domain equals * domain_includes - Domain includes any * eq - Equals * gt - Greater than * gte - Greater than or equal to * includes - Includes any * includes_all - Includes all * lt - Less than * lte - Less than or equal to * not_contains - Does not contain * not_domain_eq - Domain not equal * not_domain_includes - Domain does not include * not_eq - Does not equal * not_includes - Does not include * not_includes_all - Does not include all * starts - Starts with",
              "enum": [
                "blank",
                "eq",
                "not_eq",
                "gt",
                "gte",
                "lt",
                "lte",
                "starts",
                "contains",
                "not_contains",
                "between",
                "includes",
                "not_includes",
                "includes_all",
                "not_includes_all",
                "domain_eq",
                "not_domain_eq",
                "domain_blank",
                "domain_includes",
                "not_domain_includes"
              ]
            },
            "type": {
              "type": "string",
              "description": "The type of the query (Predicate)",
              "default": "predicate",
              "enum": [
                "predicate"
              ]
            },
            "values": {
              "type": "array",
              "description": "Values array with data type matching field_id type",
              "maxItems": 200,
              "items": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "number"
                  },
                  {
                    "type": "boolean"
                  }
                ]
              }
            }
          },
          "required": [
            "type",
            "field_id",
            "operator_id"
          ],
          "additionalProperties": false
        }
      }
    },
    "required": [
      "field_ids",
      "query"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `unknown` | Yes | — | Provider response payload. |
| `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": {
        "description": "Provider response payload."
      },
      "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

* [Crunchbase provider guide](https://deepline.com/docs/providers/crunchbase/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.