Community

Social score for Protocols

Retrieves the available protocols ids for use in social endpoints

get

This endpoint returns the protocol ids for use in our social endpoints.

Path parameters
channelstringRequired

the name of the channel in lowercase. Currently we are supporting discord and reddit

Responses
200
OK
application/json
get
GET /scores/social/protocols/{channel} HTTP/1.1
Host: api.alterscope.org
Accept: */*
{
  "name": "Aave",
  "protocol_id": "aave"
}

The sample request below retrieves available protocols ids for use in social endpoints for a discord channel.

curl https://api.alterscope.org/scores/social/protocols/discord -H "Authorization: Bearer <your_access_token>"

Note: Currently discord and reddit are supported channels.

Retrieves the Discord score data with other information

get

This endpoint returns the social scores of the Discord Server for the specified protocol from the last 7 days.

Authorizations
Path parameters
protocolstringRequired

the name of the protocol in lowercase

Responses
200
OK
application/json
get
GET /scores/social/discord/{protocol} HTTP/1.1
Host: api.alterscope.org
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "channel": "text",
  "daily_message_count": 1,
  "number_of_unique_users": 1,
  "average_sentiment_score": 1,
  "high_level_topic_frequency": [
    {
      "topic": "text",
      "frequency": 1
    }
  ],
  "mid_level_topic_based_sentiment_distribution": [
    {
      "topic_name": "text",
      "count": 1,
      "neutral_sentiment_count": 1,
      "positive_sentiment_count": 1,
      "negative_sentiment_count": 1
    }
  ],
  "timestamp": "2025-07-15T04:53:43.852Z"
}

Note: The sample request below retrieves discord score data with other information for compound protocol.

curl https://api.alterscope.org/scores/social/discord/compound -H "Authorization: Bearer <your_access_token>"

For a supported list of protocols whose data can be requested please refer to supported protocols page.

Retrieves the Reddit score data with other information for past 7 days

get

This endpoint returns the social scores of the Subreddit for the specified protocol from the last 7 days.

Authorizations
Path parameters
protocolstringRequired

the name of the protocol in lowercase

Responses
200
OK
application/json
get
GET /scores/social/reddit/{protocol} HTTP/1.1
Host: api.alterscope.org
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "channel": "text",
  "daily_message_count": 1,
  "number_of_unique_users": 1,
  "average_sentiment_score": 1,
  "high_level_topic_frequency": [
    {
      "topic": "text",
      "frequency": 1
    }
  ],
  "mid_level_topic_based_sentiment_distribution": [
    {
      "topic_name": "text",
      "count": 1,
      "neutral_sentiment_count": 1,
      "positive_sentiment_count": 1,
      "negative_sentiment_count": 1
    }
  ],
  "timestamp": "2025-07-15T04:53:43.852Z"
}

The sample request below retrieves a reddit score data of a specific protocol with other information for past 7 days.

curl https://api.alterscope.org/scores/social/reddit/uniswap -H "Authorization: Bearer <your_access_token>"

For a supported list of protocols whose data can be requested please refer to supported protocols page.

Last updated