v1

latestOpenAPI 3.0.32026-07-1382010.9 KB
Text Analysis

Predicts whether a phrase is a promoter, detractor or indifferent

post/brand-recommendation

Query parameters

domain'Airlines' | 'Automotive' | 'Banking' | 'Ecom' | 'Employee' | 'Gaming' | 'Hotel' | 'Pharma' | 'Retail' | 'Restaurant' | 'ConsumerElectronics'

(optional) Provide analysis domain for better extraction

Request body

idstring

id of the post.

textstring required

the text to be analysed.

languagestring required

language_code of the text.

Example request

[
  {
    "id": "1",
    "text": "I love the service",
    "language": "en"
  }
]

Response

idstring