Portal
Sentiment Analysis API
Services > Content Moderation > Sentiment Analysis
The Webit Sentiment Analysis REST API lets you effortlessly build multi-language apps and services that help people communicate from all around the world.
Live Examples
In this sections are listed some examples for the service endpoint.
Simple translation
Here below there is a live example of translation of "This is an example." input text from "English" (en) to Chinese (zh).

Warning: Illegal string offset 'message' in /var/www/vhosts/webit.ai/httpdocs/app/public/ximplepages/services/content-moderation/text-sentiment-analysis-api.php on line 203

Warning: Cannot assign an empty string to a string offset in /var/www/vhosts/webit.ai/httpdocs/app/public/ximplepages/services/content-moderation/text-sentiment-analysis-api.php on line 203
"\n\n\n \n \n \n 403 Forbidden<\/title>\n <link rel=\"stylesheet\" href=\"\/error_docs\/styles.css\">\n<\/head>\n<body>\n<div class=\"page\">\n <div class=\"main\">\n <h1>Server Error<\/h1>\n <div class=\"error-code\">403<\/div>\n <h2>Forbidden<\/h2>\n <p class=\"lead\">You do not have permission to access this document.<\/p>\n <hr\/>\n <p>That's what you can do<\/p>\n <div class=\"help-actions\">\n <a href=\"javascript:location.reload();\">Reload Page<\/a>\n <a href=\"javascript:history.back();\">Back to Previous Page<\/a>\n <a href=\"\/\">Home Page<\/a>\n <\/div>\n <\/div>\n<\/div>\n<\/body>\n<\/html>"</code></pre></div> <div class="xss-h7 xss-margin-bottom-10">Translation with auto-detection</div> <div class="xss-p xss-margin-bottom-20">Here below there is a <b class="xss-text-highlight xss-radius-4">live</b> example of translation of "<b>This is an example.</b>" input text from "English" (en) to Chinese (zh) without specifying the source (from) language. An additional "detected_language" parameter is returned in the response.</div> <div class="xss-p xss-margin-bottom-20 xss-radius-6 xss-overflow-hidden" style=""><pre><code class="json" style="max-height: 300px;"><br /> <b>Warning</b>: Illegal string offset 'message' in <b>/var/www/vhosts/webit.ai/httpdocs/app/public/ximplepages/services/content-moderation/text-sentiment-analysis-api.php</b> on line <b>210</b><br /> <br /> <b>Warning</b>: Cannot assign an empty string to a string offset in <b>/var/www/vhosts/webit.ai/httpdocs/app/public/ximplepages/services/content-moderation/text-sentiment-analysis-api.php</b> on line <b>210</b><br /> "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n <meta charset=\"utf-8\">\n <meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">\n <title>403 Forbidden<\/title>\n <link rel=\"stylesheet\" href=\"\/error_docs\/styles.css\">\n<\/head>\n<body>\n<div class=\"page\">\n <div class=\"main\">\n <h1>Server Error<\/h1>\n <div class=\"error-code\">403<\/div>\n <h2>Forbidden<\/h2>\n <p class=\"lead\">You do not have permission to access this document.<\/p>\n <hr\/>\n <p>That's what you can do<\/p>\n <div class=\"help-actions\">\n <a href=\"javascript:location.reload();\">Reload Page<\/a>\n <a href=\"javascript:history.back();\">Back to Previous Page<\/a>\n <a href=\"\/\">Home Page<\/a>\n <\/div>\n <\/div>\n<\/div>\n<\/body>\n<\/html>"</code></pre></div> </div> </div> </div> </div> </div> </div> <div class="xss-section xss-bg-eee xss-text-center"> <div class="xss-h6 xss-margin-bottom-10">Actively used by</div> <span class="xss-h4">34+</span> <span class="xss-h5">customers since October, 2020.</span> </div> </div> <!-- x_ajax_page --> <div class="xss-section xss-dark xss-bg-333 xss-padding-bottom-20 xss-rd-480-text-center"> <div class="xss-section-inner xss-width-1040 xss-center xss-has-columns"> <div class="xss-column-25"> <div class="xss-column-inner xss-margin-bottom-20"> <div class="xss-h7 xss-margin-bottom-10">Webit</div> <a class="x_ajax" href="https://webit.ai/services"> <div class="xss-margin-bottom-5">Documentation</div> </a> <div class="xss-margin-bottom-5">About</div> </div> </div> <div class="xss-column-25"> <div class="xss-column-inner xss-margin-bottom-20"> <div class="xss-h7 xss-margin-bottom-10">Services</div> <a class="x_ajax" href="https://webit.ai/services/internet-search"> <div class="xss-margin-bottom-5">Internet Search</div> </a> <a class="x_ajax" href="https://webit.ai/services/language"> <div class="xss-margin-bottom-5">Language</div> </a> <a class="x_ajax" href="https://webit.ai/services/text-analytics"> <div class="xss-margin-bottom-5">Text Analytics</div> </a> </div> </div> <div class="xss-column-25"> <div class="xss-column-inner xss-margin-bottom-20"> <div class="xss-h7 xss-margin-bottom-10">Legal</div> <div class="xss-margin-bottom-5">Privacy policy</div> <div class="xss-margin-bottom-5">Terms of Service</div> </div> </div> <div class="xss-column-25"> <div class="xss-column-inner xss-margin-bottom-20"> <div class="xss-h7 xss-margin-bottom-10">External pages</div> <div class="xss-margin-bottom-5">Facebook</div> <div class="xss-margin-bottom-5">Twitter</div> <div class="xss-margin-bottom-5">Github</div> </div> </div> </div> </div> <div class="xss-section xss-dark xss-bg-222 xss-text-center"> <div class="xss-section-inner xss-width-1040 xss-center xss-has-columns"> <div class="xss-p">2024 © Webit Inc.</div> </div> </div> </body> </html>