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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.corpdev.ai/corpdev.ai-docs/company-research-api/ask-company-question.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
