AlchemyText

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

Extract concepts from text of an HTML document. Supported languages: English, Spanish

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
htmlFILE
REQUIREDFile with HTML content.
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.
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.
linkedDataSELECT
OPTIONALSet this to 0 to hide Linked Data content links in the response.
maxRetrieveSTRING
OPTIONALMaximum number of concepts to extract (default = 8, maximum = 50)
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.
knowledgeGraphSELECT
OPTIONALSet this to 1 to include knowledge graph information in the results. This incurs an additional transaction charge.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication