finterm tool ticker_sentiment AAPLimport requests
url = "https://api.finterm.ai/api/v1/ticker-sentiment"
payload = {
"ticker": "<string>",
"as_of_date": "<string>"
}
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({ticker: '<string>', as_of_date: '<string>'})
};
fetch('https://api.finterm.ai/api/v1/ticker-sentiment', 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.finterm.ai/api/v1/ticker-sentiment",
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([
'ticker' => '<string>',
'as_of_date' => '<string>'
]),
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.finterm.ai/api/v1/ticker-sentiment"
payload := strings.NewReader("{\n \"ticker\": \"<string>\",\n \"as_of_date\": \"<string>\"\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.finterm.ai/api/v1/ticker-sentiment")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ticker\": \"<string>\",\n \"as_of_date\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.finterm.ai/api/v1/ticker-sentiment")
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 \"ticker\": \"<string>\",\n \"as_of_date\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"data": {
"ticker": "<string>",
"as_of_date": "<string>",
"price": 123,
"score": 123,
"coverage": "<string>",
"sub_scores": {
"trend": 123,
"flow": 123,
"positioning": 123
},
"components": [
{
"id": "<string>",
"raw": 123,
"percentile": 123,
"score": 123,
"window": "<string>",
"note": "<string>"
}
],
"omitted": [
{
"component": "<string>"
}
],
"delta": {
"d1": 123,
"d5": 123,
"d20": 123
},
"history": [
{
"date": "<string>",
"score": 123,
"coverage": "<string>"
}
],
"flags": [
"<string>"
],
"context": {
"next_earnings": {
"date": "<string>",
"days": 123,
"confirmed": true
}
},
"derived": [
"<string>"
],
"scope": {
"contracts_analyzed": 123,
"expirations_covered": 123,
"pages_fetched": 123
},
"data_quality": {
"history": {
"days_collected": 123
},
"note": "<string>"
},
"methodology": {
"version": "<string>",
"component_scoring": "<string>",
"composite": "<string>",
"band_cutoffs": [
123
],
"orientation": "<string>",
"flow_sharing": "<string>"
}
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}A live 0-100 sentiment composite for a ticker: seven components scored vs the ticker's own year, grouped trend / flow / positioning.
Get a live 0-100 sentiment score for a ticker, composed of seven components grouped into trend, flow, and positioning sub-scores. Each component is scored as a percentile vs the ticker’s own trailing year and oriented so 100 is the greed side. The result carries the composite score with a band label (extreme fear to extreme greed; cutoffs versioned in the methodology block), the three sub-scores, every component with its raw value, percentile, and window, deltas over 1, 5, and 20 trading days, a weekly history series, transition flags, and quotable derived[] sentences. A thin option chain degrades to a disclosed coverage with omission reasons, so the score never silently changes meaning. Serves live data only.
finterm tool ticker_sentiment AAPLimport requests
url = "https://api.finterm.ai/api/v1/ticker-sentiment"
payload = {
"ticker": "<string>",
"as_of_date": "<string>"
}
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({ticker: '<string>', as_of_date: '<string>'})
};
fetch('https://api.finterm.ai/api/v1/ticker-sentiment', 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.finterm.ai/api/v1/ticker-sentiment",
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([
'ticker' => '<string>',
'as_of_date' => '<string>'
]),
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.finterm.ai/api/v1/ticker-sentiment"
payload := strings.NewReader("{\n \"ticker\": \"<string>\",\n \"as_of_date\": \"<string>\"\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.finterm.ai/api/v1/ticker-sentiment")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ticker\": \"<string>\",\n \"as_of_date\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.finterm.ai/api/v1/ticker-sentiment")
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 \"ticker\": \"<string>\",\n \"as_of_date\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"data": {
"ticker": "<string>",
"as_of_date": "<string>",
"price": 123,
"score": 123,
"coverage": "<string>",
"sub_scores": {
"trend": 123,
"flow": 123,
"positioning": 123
},
"components": [
{
"id": "<string>",
"raw": 123,
"percentile": 123,
"score": 123,
"window": "<string>",
"note": "<string>"
}
],
"omitted": [
{
"component": "<string>"
}
],
"delta": {
"d1": 123,
"d5": 123,
"d20": 123
},
"history": [
{
"date": "<string>",
"score": 123,
"coverage": "<string>"
}
],
"flags": [
"<string>"
],
"context": {
"next_earnings": {
"date": "<string>",
"days": 123,
"confirmed": true
}
},
"derived": [
"<string>"
],
"scope": {
"contracts_analyzed": 123,
"expirations_covered": 123,
"pages_fetched": 123
},
"data_quality": {
"history": {
"days_collected": 123
},
"note": "<string>"
},
"methodology": {
"version": "<string>",
"component_scoring": "<string>",
"composite": "<string>",
"band_cutoffs": [
123
],
"orientation": "<string>",
"flow_sharing": "<string>"
}
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}{
"finterm": {
"schema": "<string>",
"tool": "<string>",
"args": {},
"request_id": "<string>",
"cursor": "<string>"
},
"error": {
"code": "<string>",
"message": "<string>",
"upgrade_url": "<string>"
}
}Authorizations
A live account API key from FINTERM_API_KEY.