Raw enriched trades for a ticker
curl --request GET \
--url https://flow-api.skylit.ai/v1/underlying/{ticker}/trades \
--header 'Authorization: Bearer <token>'import requests
url = "https://flow-api.skylit.ai/v1/underlying/{ticker}/trades"
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/underlying/{ticker}/trades', 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/underlying/{ticker}/trades",
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/underlying/{ticker}/trades"
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/underlying/{ticker}/trades")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://flow-api.skylit.ai/v1/underlying/{ticker}/trades")
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": [
{
"date": 123,
"tsEvent": 123,
"instrumentId": 123,
"rawSymbol": "SPY 250516C00580000",
"ticker": "SPY",
"expiration": 123,
"strike": 123,
"dte": 123,
"price": 123,
"size": 1,
"publisherId": 123,
"neutralSz": 123,
"totalPremium": 123,
"underlyingPrice": 123,
"moneynessPercent": 123,
"openInterest": 1,
"prevOi": 1,
"dailyVolume": 1,
"sweepTrade": true,
"blockTrade": true,
"multiLeg": true,
"ingestionTimestamp": 123,
"tsEventUs": 123,
"bidPx": 123,
"askPx": 123,
"bidSz": 123,
"askSz": 123,
"spread": 123,
"iv": 123,
"prevClose": 123,
"prevCloseAge": 1,
"priceChange": 123,
"prevIv": 123,
"nextIv": 123,
"flowScore": 0,
"chainBidPct": 123,
"chainAskPct": 123,
"contractBidPct": 123,
"contractAskPct": 123,
"aggCount": 1,
"aggTotalPremium": 123,
"aggTotalSize": 1,
"mlSibling": true,
"strategyGroupId": "<string>",
"strategyType": "<string>",
"strategyLegCount": 2,
"earningsDte": 123,
"nextEarningsDate": 123,
"cacheMiss": true,
"sector": "<string>",
"industry": "<string>"
}
],
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "d7574836"
}
}{
"error": {
"code": "BAD_REQUEST",
"message": "Invalid parameter 'timeframe': must be one of [1m, 5m, 15m, 1h, 4h, 1d, 1w, 1M]"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
}{
"error": {
"code": "insufficient_credits",
"message": "Out of credits. Top up to continue making requests."
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit of 100 req/min exceeded. Retry after 18s."
}
}Underlying
Raw enriched trades for a ticker
Returns the raw enriched trade rows that feed the chart bars and
the live feed. Supports rich filtering — sweep-only / multi-leg,
moneyness, premium floor, DTE / strike / expiration windows.
See OptionTradeRow below.
GET
/
v1
/
underlying
/
{ticker}
/
trades
Raw enriched trades for a ticker
curl --request GET \
--url https://flow-api.skylit.ai/v1/underlying/{ticker}/trades \
--header 'Authorization: Bearer <token>'import requests
url = "https://flow-api.skylit.ai/v1/underlying/{ticker}/trades"
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/underlying/{ticker}/trades', 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/underlying/{ticker}/trades",
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/underlying/{ticker}/trades"
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/underlying/{ticker}/trades")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://flow-api.skylit.ai/v1/underlying/{ticker}/trades")
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": [
{
"date": 123,
"tsEvent": 123,
"instrumentId": 123,
"rawSymbol": "SPY 250516C00580000",
"ticker": "SPY",
"expiration": 123,
"strike": 123,
"dte": 123,
"price": 123,
"size": 1,
"publisherId": 123,
"neutralSz": 123,
"totalPremium": 123,
"underlyingPrice": 123,
"moneynessPercent": 123,
"openInterest": 1,
"prevOi": 1,
"dailyVolume": 1,
"sweepTrade": true,
"blockTrade": true,
"multiLeg": true,
"ingestionTimestamp": 123,
"tsEventUs": 123,
"bidPx": 123,
"askPx": 123,
"bidSz": 123,
"askSz": 123,
"spread": 123,
"iv": 123,
"prevClose": 123,
"prevCloseAge": 1,
"priceChange": 123,
"prevIv": 123,
"nextIv": 123,
"flowScore": 0,
"chainBidPct": 123,
"chainAskPct": 123,
"contractBidPct": 123,
"contractAskPct": 123,
"aggCount": 1,
"aggTotalPremium": 123,
"aggTotalSize": 1,
"mlSibling": true,
"strategyGroupId": "<string>",
"strategyType": "<string>",
"strategyLegCount": 2,
"earningsDte": 123,
"nextEarningsDate": 123,
"cacheMiss": true,
"sector": "<string>",
"industry": "<string>"
}
],
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "d7574836"
}
}{
"error": {
"code": "BAD_REQUEST",
"message": "Invalid parameter 'timeframe': must be one of [1m, 5m, 15m, 1h, 4h, 1d, 1w, 1M]"
}
}{
"error": {
"code": "UNAUTHORIZED",
"message": "Authentication required"
}
}{
"error": {
"code": "insufficient_credits",
"message": "Out of credits. Top up to continue making requests."
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Rate limit of 100 req/min exceeded. Retry after 18s."
}
}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).
Example:
"SPY"
Query Parameters
Lower time bound — ISO 8601 (e.g. 2026-01-12T09:30:00Z) or
Unix seconds. Defaults to start-of-trading-day.
Upper time bound — ISO 8601 or Unix seconds. Defaults to now.
Required range:
1 <= x <= 500Available options:
ITM, ATM, OTM Required range:
x >= 0Was this page helpful?
⌘I

