> For the complete documentation index, see [llms.txt](https://docs.corpdev.ai/corpdev.ai-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.corpdev.ai/corpdev.ai-docs/company-research-api/ask-company-question.md).

# Ask Company Question

The "Ask Company Question" endpoint allows you to ask specific questions about a company, and the AI will provide an answer based on available public sources. This endpoint is designed to offer flexibility in how detailed or concise the responses should be, based on your needs.

### Endpoint

```bash
POST /v1/companies/get-answer
```

### Parameters

* **question\_prompt** (required, string): The specific question you want to ask about the company (e.g., "What products does the company have?").
* **company\_name** (string): The name of the target company. It’s recommended to use at least the common name (e.g., "Google") rather than the full legal name ("Google LLC") to increase the chances of a successful match.
* **company\_domain** (string): The web domain of the target company (e.g., "google.com"). This helps to uniquely identify the company.

**Note:** As with the "Get Company Field" endpoint, both `company_name` and `web_domain` must be provided for the most accurate results.

### Example Request

```http
POST /v1/companies/get-answer
{
  "question": "What is the latest funding round of the company?",
  "company_name": "Google",
  "web_domain": "google.com",
}
```

### Example Response

```json
{
  "question": "What is the latest funding round of the company?",
  "company_name": "Google",
  "web_domain": "google.com",
  "answer": "Google has not had a traditional funding round since its IPO in 2004, but it continues to invest heavily in its growth and acquisitions."
}
```

### Usage Notes

* **Flexible Querying:** You can ask any question related to the company, and the AI will attempt to provide an accurate answer using public information.
