---
title: "Sentiment Analysis (x402)"
method: GET
path: "/x402/v2/sentiment-analyze"
tags: ["x402"]
---

# Sentiment Analysis (x402)

`GET /x402/v2/sentiment-analyze`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/sentiment-analyze`
- Auth: none required

Analyze the sentiment of text. Returns overall sentiment (positive/negative/neutral/mixed), confidence scores, and aspect-level sentiment.

## Query parameters

- `text` string, required: Text to analyze

## Response `200`

Success

- object
  - `scores` object
  - `aspects` unknown[]
    - unknown
  - `sentiment` string
  - `confidence` number

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
