# Crunchbase

**What is Crunchbase?**

The Crunchbase node in StackAI allows you to access and search company and investment data directly from Crunchbase. This integration is ideal for workflows that require up-to-date business intelligence, company profiles, or investment research.

***

**How to use it?**

To use the Crunchbase node, simply add it to your StackAI workflow and configure the search parameters. You can specify your search query, the number of results you want, and the country to focus your search. The node will return structured results with company or investment information.

***

**Example of Usage**

Suppose you want to find information about "OpenAI" in the United States and retrieve the top 5 results:

* **Query:** "OpenAI" (required)
* **Top K:** 5 (optional, default is 10)
* **Country:** "US" (optional, default is "US")

The node will return a list of results, each containing a title and a text summary.

***

**Available Actions**

#### 1. Crunchbase Search

**Description:**\
Searches Crunchbase for companies, investments, or related data based on your query.

**Inputs**

| Name  | Description             | Required | Example Value |
| ----- | ----------------------- | -------- | ------------- |
| Query | The query to search for | Yes      | "OpenAI"      |

**Configurations**

| Name    | Description                     | Required | Default | Example Value    |
| ------- | ------------------------------- | -------- | ------- | ---------------- |
| Top K   | The number of results to return | No       | 10      | 5                |
| Country | The country to search in        | No       | US      | "US", "GB", "IN" |

* **Country Options:** AR, AU, AT, BE, BR, CA, CL, CN, CO, CZ, DK, FI, FR, DE, HK, IN, ID, IT, JP, KR, MY, MX, NL, NZ, NO, PH, PL, PT, RU, SA, SG, ZA, ES, SE, CH, TW, TH, TR, GB, US

**Outputs**

| Name           | Description                                  | Required | Example Value          |
| -------------- | -------------------------------------------- | -------- | ---------------------- |
| Query          | The query that was used to search Crunchbase | Yes      | "OpenAI"               |
| Search Results | The results of the Crunchbase search         | Yes      | List of result objects |

Each result object contains:

* **Title** (required): The title of the Crunchbase result (e.g., "OpenAI, Inc.")
* **Text** (required): The text content or summary of the result (e.g., "OpenAI is an AI research and deployment company...")

***

**Example Output**

```json
{
  "query": "OpenAI",
  "search_results": [
    {
      "title": "OpenAI, Inc.",
      "text": "OpenAI is an AI research and deployment company based in San Francisco, CA..."
    },
    {
      "title": "OpenAI LP",
      "text": "OpenAI LP operates as a limited partnership for AI research and development..."
    }
    // ...more results
  ]
}
```
