# AI Insights

This endpoint can be called using:

```
https://api.adiinvestments.net/v1/stock/aiOpinion/<symbol>
```

Returns an AI powered insight into the provided stock.

* Symbol
* Recommendation
* Opinion

Responses

<details>

<summary><strong>200 Successful</strong></summary>

```json
[
  {
    "symbol": "AAPL",
    "recommendation": "Buy",
    "opinion": "AAPL's stock has consistently outperformed the market, with a strong track record of growth and dividend payments. The company's financials are impressive, with high margins and significant cash reserves, driven by the success of its iPhone and services segments. With a price-to-earnings ratio in line with its historical average, AAPL's valuation appears reasonable, supporting further upside potential. AAPL's loyal customer base and innovative product pipeline also contribute to its attractive investment profile.",
   
]

```

</details>

<details>

<summary><strong>401 Unauthorized</strong></summary>

```json
{"error_code":403,
"error_message":"Invalid API key."}
```

</details>

<details>

<summary><strong>429 Too Many Requests</strong></summary>

```json
{"error_code":429,
"error_message":"Rate limit exceeded. Please try again later."}
```

</details>
