AlchemyText

FREE
By serg.osipchuk
Updated 10 months ago
Text Analysis
7.8/10
Popularity Score
26183ms
Latency
56%
Success Rate

AlchemyText API Documentation

Analyze text for sentiment and broader concepts.

View API Details
POSTdeleteSingleModel
POSTextractDatesFromHtml
POSTextractDatesFromText
POSTextractDatesFromUrl
POSTgetAuthorsFromHtml
POSTgetAuthorsFromUrl
POSTgetCombinedDataFromHtml
POSTgetCombinedDataFromText
POSTgetCombinedDataFromUrl
POSTgetEmotionFromHtml
POSTgetEmotionFromText
POSTgetEmotionFromUrl
POSTgetFeedLinksFromHtml
POSTgetFeedLinksFromUrl
POSTgetLanguageFromHtml
POSTgetLanguageFromText
POSTgetLanguageFromUrl
POSTgetMicroformatDataFromHtml
POSTgetMicroformatDataFromUrl
POSTgetModels
POSTgetPublicationDateFromHtml
POSTgetPublicationDateFromUrl
POSTgetRankedConceptsFromHtml
POSTgetRankedConceptsFromText
POSTgetRankedConceptsFromUrl
POSTgetRankedKeywordsFromHtml
POSTgetRankedKeywordsFromText
POSTgetRankedKeywordsFromUrl
POSTgetRankedNamedEntitiesFromHtml
POSTgetRankedNamedEntitiesFromText
POSTgetRankedNamedEntitiesFromUrl
POSTgetRankedTaxonomyFromHtml
POSTgetRankedTaxonomyFromText
POSTgetRankedTaxonomyFromUrl
POSTgetRawTextFromHtml
POSTgetRawTextFromUrl
POSTgetRelationsFromHtml
POSTgetRelationsFromText
POSTgetRelationsFromUrl
POSTgetTargetedEmotionFromHtml
POSTgetTargetedEmotionFromText
POSTgetTargetedEmotionFromUrl
POSTgetTargetedSentimentFromHtml
POSTgetTargetedSentimentFromText
POSTgetTargetedSentimentFromUrl
POSTgetTextFromHtml
POSTgetTextFromUrl
POSTgetTextSentimentFromHtml
POSTgetTextSentimentFromText
POSTgetTextSentimentFromUrl
POSTgetTitleFromHtml
POSTgetTitleFromUrl
POSTgetTypedRelationsFromHtml
POSTgetTypedRelationsFromText
POSTgetTypedRelationsFromUrl
POSTgetTextFromUrl

Extract primary text content from a webpage. Cleaned page text is obtained by default in other HTML and URL functions. You can view the results of page cleaning in responses from most of the other methods by passing showSourceText=1.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
urlSTRING
REQUIREDHTTP URL.
apiKeyCREDENTIALS
REQUIREDAPI key obtained from AlchemyAPI.
Optional Parameters
sourceTextSELECT
OPTIONALHow to obtain the source text from the webpage. For more details see README. Parameter is only used if indicated html or url parameter.
extractLinksSELECT
OPTIONALSet this to 1 to include hyperlinks in the extracted text.
cquerySTRING
OPTIONALA visual constraints query to apply to the web page. Required when sourceText is set to cquery. For more details visit http://www.ibm.com/watson/developercloud/doc/alchemylanguage/visual_constraints.shtml. Parameter is only used if indicated html or url parameter.
showSourceTextSELECT
OPTIONALSet this to 1 to include the source text in the response.
xpathSTRING
OPTIONALAn XPath query to apply to the web page. Required when sourceText is set to one of the XPath values. Parameter is only used if indicated html or url parameter.
useMetadataSELECT
OPTIONALSet this to 0 to ignore description information in webpage metadata.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication