AlchemyText

FREE
By serg.osipchuk
Updated 10 months ago
Text Analysis
7.6/10
Popularity
36262ms
Latency
38%
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
POSTgetRankedKeywordsFromHtml

Extract keywords from an HTML document. Supported languages: English, French, German, Italian, Portuguese, Russian, Spanish, Swedish.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
apiKeyCREDENTIALS
REQUIREDAPI key obtained from AlchemyAPI.
htmlFILE
REQUIREDFile with HTML content.
Optional Parameters
maxRetrieveSTRING
OPTIONALMaximum number of keywords to return (default = 50)
knowledgeGraphSELECT
OPTIONALSet this to 1 to include knowledge graph information in the results. This incurs an additional transaction charge.
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.
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.
sentimentSELECT
OPTIONALSet this to 1 to analyze the sentiment towards each detected entity. This incurs an additional transaction charge.
emotionSELECT
OPTIONALSet this to 1 to analyze emotions associated with each detected entity. This incurs an additional transaction charge.
urlSTRING
OPTIONALInput here will appear as the url value 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.
showSourceTextSELECT
OPTIONALSet this to 1 to include the source text in the response.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication