12-hour aggregated chain health
curl --request GET \
--url 'https://api.raze.bot/api/sol/sentiment/12h?apiKey='import requests
url = "https://api.raze.bot/api/sol/sentiment/12h?apiKey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.raze.bot/api/sol/sentiment/12h?apiKey=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.raze.bot/api/sol/sentiment/12h?apiKey=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.raze.bot/api/sol/sentiment/12h?apiKey="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.raze.bot/api/sol/sentiment/12h?apiKey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.raze.bot/api/sol/sentiment/12h?apiKey=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"hoursIncluded": 123,
"score": {
"average": 123,
"min": 123,
"max": 123
},
"totals": {
"deploys": 123,
"migrations": 123,
"trades": 123,
"buys": 123,
"volumeSol": 123,
"proTrades": 123,
"snipers": 123,
"bundles": 123
},
"averages": {
"deploysPerHour": 123,
"tradesPerHour": 123,
"volumeSolPerHour": 123,
"avgHoldingSeconds": 123
},
"componentScores": {
"deployCount": 123,
"migrationBonus": 123,
"volume": 123,
"tradeCount": 123,
"buyCount": 123,
"proTradeRatio": 123,
"sniperRatio": 123,
"bundleRatio": 123,
"holdingTime": 123
}
}
],
"periods": 123
}{
"error": "Unauthorized",
"message": "Invalid API key",
"code": "INVALID_KEY",
"success": false
}{
"error": "Unauthorized",
"message": "Invalid API key",
"code": "INVALID_KEY",
"success": false
}{
"error": "Unauthorized",
"message": "Invalid API key",
"code": "INVALID_KEY",
"success": false
}Sentiment
12-hour aggregated chain health
GET
/
api
/
sol
/
sentiment
/
12h
12-hour aggregated chain health
curl --request GET \
--url 'https://api.raze.bot/api/sol/sentiment/12h?apiKey='import requests
url = "https://api.raze.bot/api/sol/sentiment/12h?apiKey="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.raze.bot/api/sol/sentiment/12h?apiKey=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.raze.bot/api/sol/sentiment/12h?apiKey=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.raze.bot/api/sol/sentiment/12h?apiKey="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.raze.bot/api/sol/sentiment/12h?apiKey=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.raze.bot/api/sol/sentiment/12h?apiKey=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": [
{
"periodStart": "2023-11-07T05:31:56Z",
"periodEnd": "2023-11-07T05:31:56Z",
"hoursIncluded": 123,
"score": {
"average": 123,
"min": 123,
"max": 123
},
"totals": {
"deploys": 123,
"migrations": 123,
"trades": 123,
"buys": 123,
"volumeSol": 123,
"proTrades": 123,
"snipers": 123,
"bundles": 123
},
"averages": {
"deploysPerHour": 123,
"tradesPerHour": 123,
"volumeSolPerHour": 123,
"avgHoldingSeconds": 123
},
"componentScores": {
"deployCount": 123,
"migrationBonus": 123,
"volume": 123,
"tradeCount": 123,
"buyCount": 123,
"proTradeRatio": 123,
"sniperRatio": 123,
"bundleRatio": 123,
"holdingTime": 123
}
}
],
"periods": 123
}{
"error": "Unauthorized",
"message": "Invalid API key",
"code": "INVALID_KEY",
"success": false
}{
"error": "Unauthorized",
"message": "Invalid API key",
"code": "INVALID_KEY",
"success": false
}{
"error": "Unauthorized",
"message": "Invalid API key",
"code": "INVALID_KEY",
"success": false
}⌘I
