تصنيفات المحللين
curl --request GET \
--url 'https://api.benzinga.com/api/v2.1/calendar/ratings/analysts?token='import requests
url = "https://api.benzinga.com/api/v2.1/calendar/ratings/analysts?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.benzinga.com/api/v2.1/calendar/ratings/analysts?token=', 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.benzinga.com/api/v2.1/calendar/ratings/analysts?token=",
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.benzinga.com/api/v2.1/calendar/ratings/analysts?token="
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.benzinga.com/api/v2.1/calendar/ratings/analysts?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v2.1/calendar/ratings/analysts?token=")
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{
"analyst_ratings_analyst": [
{
"firm_id": "57f832a96b87f600016fa347",
"firm_name": "Morgan Stanley",
"id": "683d9c45e5343b000101a1e3",
"name_first": "Lillian",
"name_full": "Lillian Lou",
"name_last": "Lou",
"ratings_accuracy": {
"1m_average_return": "0.0",
"1m_smart_score": "13.81",
"1m_stdev": "0.0",
"1m_success_rate": "0.0",
"1y_average_return": "-60.47",
"1y_loss_count": 1,
"1y_smart_score": "16.39",
"1y_stdev": "0.0",
"1y_success_rate": "0.0",
"2y_average_return": "-60.47",
"2y_loss_count": 1,
"2y_smart_score": "13.36",
"2y_stdev": "0.0",
"2y_success_rate": "0.0",
"3m_average_return": "0.0",
"3m_smart_score": "10.68",
"3m_stdev": "0.0",
"3m_success_rate": "0.0",
"3y_average_return": "-60.47",
"3y_loss_count": 1,
"3y_smart_score": "11.3",
"3y_stdev": "0.0",
"3y_success_rate": "0.0",
"9m_average_return": "-60.47",
"9m_loss_count": 1,
"9m_smart_score": "17.27",
"9m_stdev": "0.0",
"9m_success_rate": "0.0",
"overall_average_return": "-60.47",
"overall_avg_return_percentile": "1.7",
"overall_loss_count": 1,
"overall_stdev": "0.0",
"overall_success_rate": "0.0",
"smart_score": "2.86",
"total_ratings": 1,
"total_ratings_percentile": "7.56"
},
"updated": 1767619219
}
]
}
{
"ok": false,
"errors": [
{
"code": "auth_failed",
"id": "unauthorized",
"value": "Invalid or missing authentication token"
}
]
}
{
"ok": false,
"errors": [
{
"code": "no_data_found",
"id": "not_found",
"value": "No data found for the specified parameters"
}
]
}
{
"ok": false,
"errors": [
{
"code": "internal_server_error",
"id": "server_error",
"value": "An unexpected error occurred while processing your request"
}
]
}
캘린더
애널리스트 평점
GET
/
api
/
v2.1
/
calendar
/
ratings
/
analysts
تصنيفات المحللين
curl --request GET \
--url 'https://api.benzinga.com/api/v2.1/calendar/ratings/analysts?token='import requests
url = "https://api.benzinga.com/api/v2.1/calendar/ratings/analysts?token="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.benzinga.com/api/v2.1/calendar/ratings/analysts?token=', 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.benzinga.com/api/v2.1/calendar/ratings/analysts?token=",
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.benzinga.com/api/v2.1/calendar/ratings/analysts?token="
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.benzinga.com/api/v2.1/calendar/ratings/analysts?token=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v2.1/calendar/ratings/analysts?token=")
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{
"analyst_ratings_analyst": [
{
"firm_id": "57f832a96b87f600016fa347",
"firm_name": "Morgan Stanley",
"id": "683d9c45e5343b000101a1e3",
"name_first": "Lillian",
"name_full": "Lillian Lou",
"name_last": "Lou",
"ratings_accuracy": {
"1m_average_return": "0.0",
"1m_smart_score": "13.81",
"1m_stdev": "0.0",
"1m_success_rate": "0.0",
"1y_average_return": "-60.47",
"1y_loss_count": 1,
"1y_smart_score": "16.39",
"1y_stdev": "0.0",
"1y_success_rate": "0.0",
"2y_average_return": "-60.47",
"2y_loss_count": 1,
"2y_smart_score": "13.36",
"2y_stdev": "0.0",
"2y_success_rate": "0.0",
"3m_average_return": "0.0",
"3m_smart_score": "10.68",
"3m_stdev": "0.0",
"3m_success_rate": "0.0",
"3y_average_return": "-60.47",
"3y_loss_count": 1,
"3y_smart_score": "11.3",
"3y_stdev": "0.0",
"3y_success_rate": "0.0",
"9m_average_return": "-60.47",
"9m_loss_count": 1,
"9m_smart_score": "17.27",
"9m_stdev": "0.0",
"9m_success_rate": "0.0",
"overall_average_return": "-60.47",
"overall_avg_return_percentile": "1.7",
"overall_loss_count": 1,
"overall_stdev": "0.0",
"overall_success_rate": "0.0",
"smart_score": "2.86",
"total_ratings": 1,
"total_ratings_percentile": "7.56"
},
"updated": 1767619219
}
]
}
{
"ok": false,
"errors": [
{
"code": "auth_failed",
"id": "unauthorized",
"value": "Invalid or missing authentication token"
}
]
}
{
"ok": false,
"errors": [
{
"code": "no_data_found",
"id": "not_found",
"value": "No data found for the specified parameters"
}
]
}
{
"ok": false,
"errors": [
{
"code": "internal_server_error",
"id": "server_error",
"value": "An unexpected error occurred while processing your request"
}
]
}
{
"analyst_ratings_analyst": [
{
"firm_id": "57f832a96b87f600016fa347",
"firm_name": "Morgan Stanley",
"id": "683d9c45e5343b000101a1e3",
"name_first": "Lillian",
"name_full": "Lillian Lou",
"name_last": "Lou",
"ratings_accuracy": {
"1m_average_return": "0.0",
"1m_smart_score": "13.81",
"1m_stdev": "0.0",
"1m_success_rate": "0.0",
"1y_average_return": "-60.47",
"1y_loss_count": 1,
"1y_smart_score": "16.39",
"1y_stdev": "0.0",
"1y_success_rate": "0.0",
"2y_average_return": "-60.47",
"2y_loss_count": 1,
"2y_smart_score": "13.36",
"2y_stdev": "0.0",
"2y_success_rate": "0.0",
"3m_average_return": "0.0",
"3m_smart_score": "10.68",
"3m_stdev": "0.0",
"3m_success_rate": "0.0",
"3y_average_return": "-60.47",
"3y_loss_count": 1,
"3y_smart_score": "11.3",
"3y_stdev": "0.0",
"3y_success_rate": "0.0",
"9m_average_return": "-60.47",
"9m_loss_count": 1,
"9m_smart_score": "17.27",
"9m_stdev": "0.0",
"9m_success_rate": "0.0",
"overall_average_return": "-60.47",
"overall_avg_return_percentile": "1.7",
"overall_loss_count": 1,
"overall_stdev": "0.0",
"overall_success_rate": "0.0",
"smart_score": "2.86",
"total_ratings": 1,
"total_ratings_percentile": "7.56"
},
"updated": 1767619219
}
]
}
{
"ok": false,
"errors": [
{
"code": "auth_failed",
"id": "unauthorized",
"value": "Invalid or missing authentication token"
}
]
}
{
"ok": false,
"errors": [
{
"code": "no_data_found",
"id": "not_found",
"value": "No data found for the specified parameters"
}
]
}
{
"ok": false,
"errors": [
{
"code": "internal_server_error",
"id": "server_error",
"value": "An unexpected error occurred while processing your request"
}
]
}