---
title: "Sentiment as one of positive, negative, neutral or mixed, with a -1 to 1 score and a one-line reason. \"Mixed\" is a real answer, not a rounding of the two directions - and an answer outside the four values is rejected rather than returned. Fixed price per call."
method: POST
path: "/v1/tools/sentiment-text"
---

# Sentiment as one of positive, negative, neutral or mixed, with a -1 to 1 score and a one-line reason. "Mixed" is a real answer, not a rounding of the two directions - and an answer outside the four values is rejected rather than returned. Fixed price per call.

`POST /v1/tools/sentiment-text`

## Request

- Base URL: `https://agents.dexl.io`
- URL: `https://agents.dexl.io/v1/tools/sentiment-text`
- Auth: API key in header `X-Payment`

Paid per call via x402. Send without payment to get the exact price in the 402.

## Request body

- object
  - `text` string, required

## Response `200`

The tool output

## Other responses

- `400`: The input did not match the schema
- `402`: Payment required

---

[API](https://skmtc.dev/dexl/apis/dexl-agents.md) · [All operations](https://skmtc.dev/dexl/apis/dexl-agents/llms.txt) · [OpenAPI document](https://skmtc.dev/dexl/apis/dexl-agents/revisions/e3692765c3f7?raw)
