AlchemyAPI provides the ability to extract entity-level sentiment (positive/negative statements), in addition to performing document-level, user-targeted sentiment, directional sentiment, and keyword-level sentiment analysis.
Sentiment analysis is the process of identifying positive or negative statements, feelings, and opinions within text.
Entity-level sentiment output is disabled by default. Enabling this feature results in counting of one additional transaction against your daily API limit. To enable entity-level sentiment analysis, you may utilize the following HTTP parameter with your API calls:
NOTE: Sentiment analysis is currently available for English and German-language content only. Support for outputting sentiment data for entities in other languages is currently in development.
When entity-level sentiment analysis is enabled, sentiment data is included for every detected entity within AlchemyAPI responses.
The following is an example XML-formatted response (for "Moammar Gadhafi"):
NOTE: Entity-level sentiment analysis is supported within all AlchemyAPI response formats, including XML, JSON, and RDF.