Sentiment Indicator
curl --request GET \
--url https://api.alphractal.com/{metric}/sentiment \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.alphractal.com/{metric}/sentiment"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.alphractal.com/{metric}/sentiment', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
]Sentiment
Sentiment Indicator
Retrieve sentiment indicators for /{metric}/sentiment. Returns market sentiment metrics and signals.
GET
/
{metric}
/
sentiment
Sentiment Indicator
curl --request GET \
--url https://api.alphractal.com/{metric}/sentiment \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.alphractal.com/{metric}/sentiment"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.alphractal.com/{metric}/sentiment', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"time": "2023-11-07T05:31:56Z",
"value": 123
}
]Authorizations
API Key authentication. Include your API key in the X-Api-Key header for all requests.
Path Parameters
Query Parameters
Optional asset filter (e.g. btc). When omitted, values are summed across all assets and returned as value; when given, they are returned under the metric code. total_crypto returns the market-wide total for social_posts_active, social_interactions_total and social_contributors_active.
Start date for filtering results (inclusive). Format: ISO 8601 date-time.
End date for filtering results (inclusive). Format: ISO 8601 date-time.