يُرجِع بيانات توصيات المحللين
curl --request GET \
--url 'https://api.benzinga.com/api/v2.1/calendar/ratings?token=' \
--header 'accept: <accept>'import requests
url = "https://api.benzinga.com/api/v2.1/calendar/ratings?token="
headers = {"accept": "<accept>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {accept: '<accept>'}};
fetch('https://api.benzinga.com/api/v2.1/calendar/ratings?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?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"accept: <accept>"
],
]);
$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?token="
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("accept", "<accept>")
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?token=")
.header("accept", "<accept>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v2.1/calendar/ratings?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = '<accept>'
response = http.request(request)
puts response.read_body{
"ratings": [
{
"action_company": "Maintains",
"action_pt": "Lowers",
"adjusted_pt_current": "260.00",
"adjusted_pt_prior": "300.00",
"analyst": "Jefferies",
"analyst_id": "57fe0358ac6af40001334e62",
"analyst_name": "Brent Thill",
"currency": "USD",
"cusip": "001176213",
"date": "2026-01-05",
"exchange": "NASDAQ",
"id": "695c16678f047b0001fee512",
"importance": 3,
"isin": "IL0011762130",
"name": "Monday.Com",
"notes": "",
"pt_current": "260.0000",
"pt_pct_change": "-13.33",
"pt_prior": "300.00",
"rating_current": "Buy",
"rating_prior": "Buy",
"ticker": "MNDY",
"time": "14:52:07",
"updated": 1767642765,
"url": "https://www.benzinga.com/quote/MNDY/analyst-ratings",
"url_calendar": "https://www.benzinga.com/quote/MNDY/analyst-ratings",
"url_news": "https://www.benzinga.com/stock-articles/MNDY/analyst-ratings"
}
]
}
{
"ok": false,
"errors": [
{
"code": "auth_failed",
"id": "unauthorized",
"value": "인증 토큰이 없거나 유효하지 않습니다"
}
]
}
{
"ok": false,
"errors": [
{
"code": "no_data_found",
"id": "not_found",
"value": "지정한 매개변수에 대한 데이터가 없습니다"
}
]
}
{
"ok": false,
"errors": [
{
"code": "internal_server_error",
"id": "server_error",
"value": "요청을 처리하는 동안 예기치 않은 오류가 발생했습니다"
}
]
}
캘린더
투자의견
GET
/
api
/
v2.1
/
calendar
/
ratings
يُرجِع بيانات توصيات المحللين
curl --request GET \
--url 'https://api.benzinga.com/api/v2.1/calendar/ratings?token=' \
--header 'accept: <accept>'import requests
url = "https://api.benzinga.com/api/v2.1/calendar/ratings?token="
headers = {"accept": "<accept>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {accept: '<accept>'}};
fetch('https://api.benzinga.com/api/v2.1/calendar/ratings?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?token=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"accept: <accept>"
],
]);
$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?token="
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("accept", "<accept>")
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?token=")
.header("accept", "<accept>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.benzinga.com/api/v2.1/calendar/ratings?token=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["accept"] = '<accept>'
response = http.request(request)
puts response.read_body{
"ratings": [
{
"action_company": "Maintains",
"action_pt": "Lowers",
"adjusted_pt_current": "260.00",
"adjusted_pt_prior": "300.00",
"analyst": "Jefferies",
"analyst_id": "57fe0358ac6af40001334e62",
"analyst_name": "Brent Thill",
"currency": "USD",
"cusip": "001176213",
"date": "2026-01-05",
"exchange": "NASDAQ",
"id": "695c16678f047b0001fee512",
"importance": 3,
"isin": "IL0011762130",
"name": "Monday.Com",
"notes": "",
"pt_current": "260.0000",
"pt_pct_change": "-13.33",
"pt_prior": "300.00",
"rating_current": "Buy",
"rating_prior": "Buy",
"ticker": "MNDY",
"time": "14:52:07",
"updated": 1767642765,
"url": "https://www.benzinga.com/quote/MNDY/analyst-ratings",
"url_calendar": "https://www.benzinga.com/quote/MNDY/analyst-ratings",
"url_news": "https://www.benzinga.com/stock-articles/MNDY/analyst-ratings"
}
]
}
{
"ok": false,
"errors": [
{
"code": "auth_failed",
"id": "unauthorized",
"value": "인증 토큰이 없거나 유효하지 않습니다"
}
]
}
{
"ok": false,
"errors": [
{
"code": "no_data_found",
"id": "not_found",
"value": "지정한 매개변수에 대한 데이터가 없습니다"
}
]
}
{
"ok": false,
"errors": [
{
"code": "internal_server_error",
"id": "server_error",
"value": "요청을 처리하는 동안 예기치 않은 오류가 발생했습니다"
}
]
}
{
"ratings": [
{
"action_company": "Maintains",
"action_pt": "Lowers",
"adjusted_pt_current": "260.00",
"adjusted_pt_prior": "300.00",
"analyst": "Jefferies",
"analyst_id": "57fe0358ac6af40001334e62",
"analyst_name": "Brent Thill",
"currency": "USD",
"cusip": "001176213",
"date": "2026-01-05",
"exchange": "NASDAQ",
"id": "695c16678f047b0001fee512",
"importance": 3,
"isin": "IL0011762130",
"name": "Monday.Com",
"notes": "",
"pt_current": "260.0000",
"pt_pct_change": "-13.33",
"pt_prior": "300.00",
"rating_current": "Buy",
"rating_prior": "Buy",
"ticker": "MNDY",
"time": "14:52:07",
"updated": 1767642765,
"url": "https://www.benzinga.com/quote/MNDY/analyst-ratings",
"url_calendar": "https://www.benzinga.com/quote/MNDY/analyst-ratings",
"url_news": "https://www.benzinga.com/stock-articles/MNDY/analyst-ratings"
}
]
}
{
"ok": false,
"errors": [
{
"code": "auth_failed",
"id": "unauthorized",
"value": "인증 토큰이 없거나 유효하지 않습니다"
}
]
}
{
"ok": false,
"errors": [
{
"code": "no_data_found",
"id": "not_found",
"value": "지정한 매개변수에 대한 데이터가 없습니다"
}
]
}
{
"ok": false,
"errors": [
{
"code": "internal_server_error",
"id": "server_error",
"value": "요청을 처리하는 동안 예기치 않은 오류가 발생했습니다"
}
]
}
헤더
쿼리 매개변수
قائمة بالحقول المطلوب إرجاعها مفصولة بفواصل. الحقول المتاحة: id، date، time، ticker، exchange، name، currency، action_pt، action_company، rating_current، pt_current، rating_prior، pt_prior، pt_pct_change، url، url_calendar، url_news، analyst، analyst_id، analyst_name، ratings_accuracy، importance، notes، updated. استخدم * لإرجاع جميع الحقول بما في ذلك ratings_accuracy