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

# AI Sentiment Analysis

The AI Sentiment Analysis API is AI-based and evaluates the sentiment of a given text, identifying emotional tone to help understand public opinion or individual sentiment across various topics.

**Endpoint:** <mark style="color:yellow;">POST</mark> <https://irbis.espysys.com/api/developer/sentiment_analysys>

Below is a sample request to perform a lookup using the API:

```
{
  "key": "YOUR_API_KEY",
  "value": "text",
  "lookupId": "LOOKUPID_VALUE"
}
```

**Instructions:**

* Replace `YOUR_API_KEY` in the "key" field with your actual API Key.
* For the "value" field, insert text that you need to Sentiment.

Ensure you make the necessary substitutions in the provided fields for accurate and successful search queries.

The  lookupId must be set to what is shown in table API lookups types at [Developer page](https://espyosint.ddns.net/developer) or at [API lookup types](/api-lookup-types.md) page

## Headers and Body

{% content-ref url="/pages/Fqwzc9wWGN4VXs0ZXtHn" %}
[Headers and Body Request  by Text body](/ai-sentiment-analysis/headers-and-body-request-by-text-body.md)
{% endcontent-ref %}

## GET Get lookup data for a request

{% content-ref url="/pages/fV29ws9TQt84ckZyOroZ" %}
[GET Get lookup data for a request by Text body](/ai-sentiment-analysis/get-get-lookup-data-for-a-request-by-text-body.md)
{% endcontent-ref %}
