curl --request GET \
--url https://flow-api.skylit.ai/v1/aggregate/{ticker} \
--header 'Authorization: Bearer <token>'import requests
url = "https://flow-api.skylit.ai/v1/aggregate/{ticker}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://flow-api.skylit.ai/v1/aggregate/{ticker}', 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://flow-api.skylit.ai/v1/aggregate/{ticker}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://flow-api.skylit.ai/v1/aggregate/{ticker}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://flow-api.skylit.ai/v1/aggregate/{ticker}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://flow-api.skylit.ai/v1/aggregate/{ticker}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"ticker": "<string>",
"generatedAt": "2023-11-07T05:31:56Z",
"byTimeframe": {},
"trend": {
"shortVsLong": "stable",
"momentum": "stable",
"description": "<string>"
},
"byMoneyness": [
{
"category": "DEEP_ITM",
"composite": 123,
"tradeCount": 1,
"premium": 123,
"pctOfTotal": 123
}
]
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "d7574836"
}
}Aggregate sentiment scoring across timeframes (VWF / SDF / FIR / Composite)
Returns a Composite directional score plus its VWF / SDF / FIR components for one or more trailing timeframes (intraday or multi-day). Optional moneyness breakdown, optional time-decay weighting, and a comparative trend block contrasting short- vs long-horizon sentiment.
curl --request GET \
--url https://flow-api.skylit.ai/v1/aggregate/{ticker} \
--header 'Authorization: Bearer <token>'import requests
url = "https://flow-api.skylit.ai/v1/aggregate/{ticker}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://flow-api.skylit.ai/v1/aggregate/{ticker}', 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://flow-api.skylit.ai/v1/aggregate/{ticker}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://flow-api.skylit.ai/v1/aggregate/{ticker}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://flow-api.skylit.ai/v1/aggregate/{ticker}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://flow-api.skylit.ai/v1/aggregate/{ticker}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"ticker": "<string>",
"generatedAt": "2023-11-07T05:31:56Z",
"byTimeframe": {},
"trend": {
"shortVsLong": "stable",
"momentum": "stable",
"description": "<string>"
},
"byMoneyness": [
{
"category": "DEEP_ITM",
"composite": 123,
"tradeCount": 1,
"premium": 123,
"pctOfTotal": 123
}
]
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "d7574836"
}
}Authorizations
Skylit API key in the Authorization header
(Authorization: Bearer fs_live_<key>). X-API-Key is also accepted.
Path Parameters
Underlying ticker symbol (uppercase, e.g. SPY, AAPL).
"SPY"
Query Parameters
Comma-separated timeframes, or all. Supported atoms:
1h, 4h, 1d, 7d, 30d, 90d. all expands to all six. Unknown
atoms are treated as a single trading day.
"1d,7d,30d"
Attach the per-timeframe VWF/SDF/FIR component split.
Attach a byMoneyness array (deep_itm → deep_otm).
deep_itm, itm, atm, otm, deep_otm, all Restrict to one expiration bucket.
0dte, weekly, monthly, leaps, all Apply exponential time decay to VWF / SDF / FIR components.
Half-life in minutes for the decay (only applied when timeDecay=true).
x >= 1Was this page helpful?

