curl --request POST \
--url https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"analyst": "<string>",
"analyst_name": "<string>",
"fields": "<string>",
"firm": "<string>",
"firm_name": "<string>",
"page": 0,
"pageSize": 100,
"updated": 123
}
'import requests
url = "https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts"
payload = {
"analyst": "<string>",
"analyst_name": "<string>",
"fields": "<string>",
"firm": "<string>",
"firm_name": "<string>",
"page": 0,
"pageSize": 100,
"updated": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
analyst: '<string>',
analyst_name: '<string>',
fields: '<string>',
firm: '<string>',
firm_name: '<string>',
page: 0,
pageSize: 100,
updated: 123
})
};
fetch('https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts', 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.aisa.one/apis/v1/benzinga/calendar/ratings-analysts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'analyst' => '<string>',
'analyst_name' => '<string>',
'fields' => '<string>',
'firm' => '<string>',
'firm_name' => '<string>',
'page' => 0,
'pageSize' => 100,
'updated' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts"
payload := strings.NewReader("{\n \"analyst\": \"<string>\",\n \"analyst_name\": \"<string>\",\n \"fields\": \"<string>\",\n \"firm\": \"<string>\",\n \"firm_name\": \"<string>\",\n \"page\": 0,\n \"pageSize\": 100,\n \"updated\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"analyst\": \"<string>\",\n \"analyst_name\": \"<string>\",\n \"fields\": \"<string>\",\n \"firm\": \"<string>\",\n \"firm_name\": \"<string>\",\n \"page\": 0,\n \"pageSize\": 100,\n \"updated\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"analyst\": \"<string>\",\n \"analyst_name\": \"<string>\",\n \"fields\": \"<string>\",\n \"firm\": \"<string>\",\n \"firm_name\": \"<string>\",\n \"page\": 0,\n \"pageSize\": 100,\n \"updated\": 123\n}"
response = http.request(request)
puts response.read_bodyAnalyst roster
Use to resolve an analyst by name, or to judge how accurate a particular analyst has been, and to get the id you then pass to calendar/ratings as parameters[analyst_id]. For the ratings themselves use calendar/ratings; for the list of firms rather than people use calendar/ratings-firms.
curl --request POST \
--url https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"analyst": "<string>",
"analyst_name": "<string>",
"fields": "<string>",
"firm": "<string>",
"firm_name": "<string>",
"page": 0,
"pageSize": 100,
"updated": 123
}
'import requests
url = "https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts"
payload = {
"analyst": "<string>",
"analyst_name": "<string>",
"fields": "<string>",
"firm": "<string>",
"firm_name": "<string>",
"page": 0,
"pageSize": 100,
"updated": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
analyst: '<string>',
analyst_name: '<string>',
fields: '<string>',
firm: '<string>',
firm_name: '<string>',
page: 0,
pageSize: 100,
updated: 123
})
};
fetch('https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts', 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.aisa.one/apis/v1/benzinga/calendar/ratings-analysts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'analyst' => '<string>',
'analyst_name' => '<string>',
'fields' => '<string>',
'firm' => '<string>',
'firm_name' => '<string>',
'page' => 0,
'pageSize' => 100,
'updated' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts"
payload := strings.NewReader("{\n \"analyst\": \"<string>\",\n \"analyst_name\": \"<string>\",\n \"fields\": \"<string>\",\n \"firm\": \"<string>\",\n \"firm_name\": \"<string>\",\n \"page\": 0,\n \"pageSize\": 100,\n \"updated\": 123\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"analyst\": \"<string>\",\n \"analyst_name\": \"<string>\",\n \"fields\": \"<string>\",\n \"firm\": \"<string>\",\n \"firm_name\": \"<string>\",\n \"page\": 0,\n \"pageSize\": 100,\n \"updated\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"analyst\": \"<string>\",\n \"analyst_name\": \"<string>\",\n \"fields\": \"<string>\",\n \"firm\": \"<string>\",\n \"firm_name\": \"<string>\",\n \"page\": 0,\n \"pageSize\": 100,\n \"updated\": 123\n}"
response = http.request(request)
puts response.read_bodyRequest contract
- Method and path: POST /apis/v1/benzinga/calendar/ratings-analysts
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/benzinga/calendar/ratings-analysts
{
"operationId": "benzinga.calendar.ratings-analysts",
"method": "POST",
"path": "/apis/v1/benzinga/calendar/ratings-analysts",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"additionalProperties": true,
"properties": {
"analyst": {
"description": "Analyst identifier to look up. Set this when you already have an analyst_id from a ratings record and want that analyst's profile and accuracy.",
"type": "string"
},
"analyst_name": {
"description": "Analyst name to match. Set this when the caller names a person rather than supplying an id; the reference does not say whether matching is exact, so try the full name first.",
"type": "string"
},
"fields": {
"description": "Comma-separated list of response fields to return. Set it to trim the payload when you only need names and ids and not the ratings_accuracy block.",
"type": "string"
},
"firm": {
"description": "Firm identifier to restrict to. Set this to list only the analysts working at one research firm.",
"type": "string"
},
"firm_name": {
"description": "Firm name to match. Use it when the caller names the bank, for example Morgan Stanley, instead of supplying a firm id.",
"type": "string"
},
"page": {
"default": 0,
"description": "Page offset, limited to 0-100000. Set this only when walking past the first page of the analyst roster.\n\nProvider reference: default 0.",
"type": "number"
},
"pageSize": {
"default": 100,
"description": "Number of analysts to return, limit 1000. Raise it when you want the roster in one call rather than paging.\n\nProvider reference: maximum 1000; default 100.",
"type": "number",
"x-alexandria-option-metadata": {
"max": 1000
}
},
"updated": {
"description": "Unix timestamp (UTC); only records updated at or after this are returned, and the sort order follows it. Set this to poll for roster changes since your last sync.",
"type": "number"
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.003 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
The roster of analysts who issue ratings, each with their firm and, when present, a rank and ratings_accuracy block of historical hit rates. The docs list the top-level fields; the rank and ratings_accuracy objects are nested and their child attributes are collapsed in the reference.
The response contains the tool result directly.
The provider identifies analyst_ratings_analyst as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
id | string | Benzinga analyst id, the value to pass as parameters[analyst_id] when filtering ratings. |
name_full | string | Analyst's full name. |
name_first | string | Analyst's first name. |
name_last | string | Analyst's last name. |
firm_id | string | Id of the firm the analyst works for. |
firm_name | string | Name of the firm the analyst works for. |
rank | object | Ranking object for the analyst; child attributes are not enumerated in the docs. |
ratings_accuracy | object | Historical accuracy block with success rates, average returns, smart scores and total ratings over 1m, 3m, 9m, 1y, 2y, 3y and overall windows. |
updated | number | Unix timestamp of the last update to this analyst record. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.