Overview

The SentiCrypt v2 API provides sentiment analysis data in JSON format. The API endpoint "https://api.senticrypt.com/v2/all.json" returns an array of objects, where each object represents sentiment analysis data for a specific date.

Notable points:
The old v1 API docs can be found here: v1 docs

Endpoints

Path
Description
The entire history by day.
The entire history, pretty formatted.
A list of all available endpoints in v2.
https://api.senticrypt.com/v2/history/YYYY-MM-DD.json
Sentiments for a single day (e.g. /v2/history/2020-01-01.json).

API Fields

Key
Type
Description
date
string
The date for which the sentiment analysis data is provided. The date is formatted as "YYYY-MM-DD".
score1
float
The sentiment score 1 associated with the given date. The sentiment score ranges from -1.0 to 1.0, where a negative value indicates negative sentiment and a positive value indicates positive sentiment.
score2
float
The sentiment score 2 associated with the given date. The sentiment score ranges from -1.0 to 1.0.
score3
float
The sentiment score 3 associated with the given date. The sentiment score ranges from -1.0 to 1.0.
sum
float
The sum of sentiment scores calculated from the available data points for the given date (unbounded: can be greater/less than -1/+1).
mean
float
The mean (average) sentiment score calculated from the available data points for the given date.
count
int
The count of data points used to calculate the sentiment scores for the given date.
price
float
The approximate BTC price for that day.
price
float
The approximate BTC-USD trade volume associated with the given date.

Examples

curl https://api.senticrypt.com/v2/history/2023-04-17.json
{
  "date": "2023-04-17",
  "price": 29615.0,
  "volume": 2004.0,
  "score1": -0.5078,
  "score2": 0.1192,
  "score3": 0.1719,
  "count": 12,
  "mean": -0.0722,
  "sum": -0.8669
},
curl https://api.senticrypt.com/v2/all.json
[
  {
    "date": "2023-04-17",
    "price": 29615.0,
    "volume": 2004.0,
    "score1": -0.5078,
    "score2": 0.1192,
    "score3": 0.1719,
    "count": 12,
    "mean": -0.0722,
    "sum": -0.8669
  },
  {
    "date": "2023-04-16",
    "price": 30572.0,
    "volume": 5278.0,
    "score1": -0.1006,
    "score2": 0.512,
    "score3": 0.2561,
    "count": 27,
    "mean": 0.2225,
    "sum": 6.0072
  },
  ...
]