Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

AYLIEN Sentiment API

The Sentiment API from AYLIEN — 1 operation(s) for sentiment.

AYLIEN Sentiment API is one of 17 APIs that AYLIEN publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Sentiment. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and rate-limit docs.

This API exposes 1 operation across 1 path, and defines 8 schemas. It is described by OpenAPI 3.0.1, at version 3.0.

Requests are made against a single base URL, https://api.aylien.com/news.

1 operations 1 paths 8 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.1
API Version
3.0
Base URL
https://api.aylien.com
Authentication
API Key, API Key
Terms of Service
Resource Areas
1

Authentication & Security 2

AYLIEN Sentiment API declares 2 security schemes for authenticating requests. An API key is passed in the header as X-AYLIEN-NewsAPI-Application-ID (app_id). An API key is passed in the header as X-AYLIEN-NewsAPI-Application-Key (app_key).

  • app_id — X-AYLIEN-NewsAPI-Application-ID is the identifier of your server, script, or program with a specific application. This parameter is required if you are accessi…
  • app_key — X-AYLIEN-NewsAPI-Application-Key is the secret key of your server, script, or program with a specific application. This parameter is required if you are access…

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Sentiment 1
GET
/sentiment
Detect sentiment
documentSentiment 4 params → 200401404422429500

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are Error (6 properties), Sentiment (5 properties), ErrorLinks (1 property), Errors (1 property). Each schema is shown below with its type and property counts.

GenericPolarityConfidence
number
Polarity confidence (0..1)
Errors
object
1 property
Sentiment
object
5 properties
ErrorLinks
object
1 property
GenericConfidence
number
Model confidence (0..1)
GenericInputText
string
Input text
GenericPolarity
string
Detected polarity
Error
object
6 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

aylien-sentiment-api-openapi.yml Raw ↑

Other APIs AYLIEN publishes across the network.

AYLIEN Absa API
AYLIEN autocomplete API
AYLIEN Classify API
AYLIEN cluster API
AYLIEN Concepts API
AYLIEN Elsa API
AYLIEN Entities API
AYLIEN Extract API
AYLIEN Hashtags API
AYLIEN histogram API
AYLIEN Language API
AYLIEN related_story API