AlchemyText
FREE
By serg.osipchuk
Updated a year ago

AlchemyText API Documentation

Analyze text for sentiment and broader concepts.

Learn more about this API
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
POSTgetRelationsFromText

Extract Subject-Action-Object relations from plain text. Supported languages: English, Spanish

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textFILE
REQUIREDFile with text content.
apiKeyCREDENTIALS
REQUIREDAPI key obtained from AlchemyAPI.
Optional Parameters
maxRetrieveSTRING
OPTIONALMaximum number of entities to return (default = 50, maximum = 100).
coreferenceSELECT
OPTIONALSet this to 0 to treat coreferences as separate entities (coreferences are resolved into detected entities by default).
sentimentSELECT
OPTIONALSet this to 1 to analyze the sentiment towards each result. This incurs an additional transaction charge.
knowledgeGraphSELECT
OPTIONALSet this to 1 to include knowledge graph information in the results. This incurs an additional transaction charge.
showSourceTextSELECT
OPTIONALSet this to 1 to include the source text in the response.
entitiesSELECT
OPTIONALSet this to 1 to identify named entities in detected relations. This incurs an additional transaction charge.
disambiguateSELECT
OPTIONALSet this to 0 to hide entity disambiguation information in the response.
urlSTRING
OPTIONALInput here will appear as the url value in the response.
keywordsSELECT
OPTIONALSet this to 1 to identify keywords in detected relations. This incurs an additional transaction charge.
requireEntitiesSELECT
OPTIONALSet this to 1 to restrict results to relations that contain at least one named entity.
linkedDataSELECT
OPTIONALSet this to 0 to hide Linked Data content links in the response.
sentimentExcludeEntitiesSELECT
OPTIONALSet this to 1 to exclude named entity text from sentiment analysis. For exapmle, do not analyze "New" in "New York".
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication